Hello......
I used sql metal tool...
C:\>sqlmetal /server:.\SQLExpress /user:sa /password:sa /database:Linqtosql /namespace:testing /code:Testing.cs /pluralize /functions /sprocs /views
The Error is
Error : Login failed for user 'sa'.
what should i do to get out of this issue....
The problem with sqlmetal command
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Suthish NairRank #92 · 22.8K reputationPosted Dec 17, 2011, 1:25 AM EST
Or, check the Server properties Security setting which having enabled the Server authentication mode as "SQL Server and Windows Authentication mode".