Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Connect to sql express 2008 database with VB.NET 2010


Connect to sql express 2008 database with VB.NET 2010

Author
Message
lonhanner
lonhanner
SSC Rookie
SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)

Group: General Forum Members
Points: 39 Visits: 144
I hope I am in the right forum. I am running windows 7, 6 gig ram on 64 bit platfrom(laptop). I installed vb.net express and sql 2008 express r2. I created a sql database using Access database tool SQL serve whitch creates a sql database from an access database.
Works fine. When i try to connect to the newly created database in vb.net express 2010 using the Database Explore it tells me I do not have permision to open it. I can access the database going through the Server Management Studio.

Thanks Lon
SQLWorks
SQLWorks
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 195
I have never seen or used this Access database create tool, but it seems that you are connecting to your new database under two different contexts, the VB .NET express application must have credentials that differ from what you use in SSMS. Can you check and see what credentials each method uses and compare their access to your database? What authentication mode did you choose when you created the database?



SQL Tips and Scripts
SQLWorks Blog
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search