Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 system.enterpriseservices.thunk.dll is invalid

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-02-26 : 16:44:57
I get this message when I try to connect to my SQL databese in the code:

system.enterpriseservices.thunk.dll is invalid

Here is the code I use for my connection:

SqlConnection1.ConnectionString = "workstation id=TUTUS;packet size=4096;integrated security=SSPI;data source=TUTUS;persist Security info=False;initial catalog=matrix"

SqlConnection1.Open()

FYI: I had every thing working fine, but after I reinstalled windows xp, SQL server and VS.Net, I got that message in my first connection trial.
Now, when I use the connection and dataadapter wizard on my form, every thing works well, but if i use the code, it generates the error.

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-02-27 : 02:20:44
I had to install framework sp. now it s working.
Go to Top of Page

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-03-03 : 21:39:46
I installed framework 1.1 sp and now every thing is good
Go to Top of Page
   

- Advertisement -