Make sure that in your references you have CopyLocal = True set on your MySQL reference dll. More than likely the dll is not being included in your publish package.
actually I found why I cant found the copylocal option . it is not present in website project. Now I want the mysql data dll in my bin folder what can I do for it .
sATsvelKe
Member
120 Points
182 Posts
problem while publishing website
Jan 07, 2013 12:48 PM|LINK
I am using mysql database with .net connecter 6.5 in my web application
everything is working fine while developing
but while publishing the getting error as fallows
Error 1 External component has thrown an exception.
and publishing fails
pls give solution on this I got stuck at this
aptbid2002
Member
244 Points
52 Posts
Re: problem while publishing website
Jan 07, 2013 01:18 PM|LINK
Make sure that in your references you have CopyLocal = True set on your MySQL reference dll. More than likely the dll is not being included in your publish package.
sATsvelKe
Member
120 Points
182 Posts
Re: problem while publishing website
Jan 07, 2013 02:29 PM|LINK
I cant find copylocal option , and when I paste dll in bin folder and publishing it gives following error the samr error
Horizon_Net
Star
8277 Points
1435 Posts
Re: problem while publishing website
Jan 07, 2013 04:16 PM|LINK
Hi,
you will find the option mentioned above in the "Properties" windows if you select the appropriate DLL.
If my post solves your problem, please mark as answer.
sATsvelKe
Member
120 Points
182 Posts
Re: problem while publishing website
Jan 07, 2013 05:13 PM|LINK
actually I found why I cant found the copylocal option . it is not present in website project. Now I want the mysql data dll in my bin folder what can I do for it .
Angie xu - M...
All-Star
18446 Points
1560 Posts
Microsoft
Re: problem while publishing website
Jan 15, 2013 04:59 AM|LINK
Hi,
I think you could add a reference to the dll in your web project and it will be automatically copied to your bin folder.
hope it helps you,
Kind regards
Feedback to us
Develop and promote your apps in Windows Store