A
AlexeyRusanov
Guest
Hi, Thanks for your help, Yes, I see your point, however in my project I'm using Linq to Sql and when I drop that table onto the dbml designer, and execute this code: DbProviderFactory factory = DbProviderFactories.GetFactory("DDTek.SQLServer"); DbConnection connection = factory.CreateConnection(); connection.ConnectionString = @"Server=...;Authentication Method=NTLM;Database Name=..."; connection.Open(); DataClasses1DataContext dc = new DataClasses1DataContext(connection); dc.Table1s.First(); this fails with that very same error. But if I use the regular sql provider (System.Data.SqlClient), it works fine. Could you tell me how to fix this? Thanks!
Continue reading...
Continue reading...