2
Answers

Filenot find execption on loading MySql.Data.dll from a windows service

priya melur

priya melur

15y
3.3k
1

I have a  windows service which refer the private assembly mySql.Data.dll.  I  added the dll in bin folder  and add referene to the same. but on execution I got an error that unable to load the assembly MySql.Data.dll or one of its dependencies.
Then I tried to install the mySql.Data.dll in GAC.It also failed because the dll doesnt have a strong name.
I have created a windows application with the same dll. There I dont have any problem. it works fine with the same dll.
Please help
Answers (2)
0
Kirtan Patel

Kirtan Patel

NA 35k 2.8m 15y
Windows Xp Doesn't have built in Frame Work

you need to upgrade / install framework to run your application or Make Pure C Language Application

Vista Has Framework 2.0 inbuilt
0
blagoje ivanovic

blagoje ivanovic

NA 17 0 15y
Does Win XP have built-in .NET Framework?
0
Stefan

Stefan

NA 624 0 15y
Why don't you, or you clients, want to upgrade?

Anyway, you cannot code for .Net 1.0 unless you are using VS2003 (I think). I know if you are using the 2008 version of VS, then the lowest you can go is .Net 2.0