From: Erland Sommarskog on
redbull (redbull(a)libero.it) writes:
> Ok, so how can I do this?
> "Unless you have any particular reason to use these options, I would
> suggest that you remove them, and specify the database name with the
> connection-string property Initial Catalog.
> OR
> If you want to use user instance and the AttachDBFileName option,
> you need to have multiple instances of the database file, and
> construct the path to AttachDBFilename accordingly."

You change your connection string. Now, exactly where you have it,
I don't know. If your development environment is hiding the important
details for you I can only deplore you situation. You would need to
ask in a forum devoted to VB .Net.




--
Erland Sommarskog, SQL Server MVP, esquel(a)sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx