Sunday, August 05, 2007

SQLMetal Error

I am currently playing around with Linq to SQL, and I am using sqlmetal.exe to generate an external xml mapping file for my database.

After installing Visual Studio 2008 beta 2, running my sqlmetal command (which in the previous version had been running without a problem) returned the following message:

error The user instance login flag is not supported on this version of SQL Server. The connection will be closed.

After playing around a bit, I discovered that changing the /database value from "localhost" to the actual name of my PC fixed the problem.

Labels: , , , , , , , , ,

2 Comments:

Anonymous Anonymous said...

I was having the same problem. Thanks for providing the solution.

11:27 AM  
Blogger Leedrick said...

I'm glad to be of help.

5:46 PM  

Post a Comment

<< Home