locked
problem while publishing website RRS feed

  • Question

  • User464223691 posted

    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 

    Monday, January 7, 2013 8:48 AM

Answers

  • User-166373564 posted

    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

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 15, 2013 12:59 AM

All replies

  • User-2056010756 posted

    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.

    Monday, January 7, 2013 9:18 AM
  • User464223691 posted

    I cant find copylocal option ,  and when I paste dll in bin folder and publishing it gives following error the samr error

    Monday, January 7, 2013 10:29 AM
  • User455156504 posted

    Hi,

    you will find the option mentioned above in the "Properties" windows if you select the appropriate DLL.

    Monday, January 7, 2013 12:16 PM
  • User464223691 posted

    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 .

    Monday, January 7, 2013 1:13 PM
  • User-166373564 posted

    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

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 15, 2013 12:59 AM