Home > front end >  Unable to find the type or namespace name "MySql" (the lack of a using directive or assemb
Unable to find the type or namespace name "MySql" (the lack of a using directive or assemb

Time:12-13

I use Visual Studio 2013 ASP.NET development, connect My SQL database, the reference is added in the Web project "MySql. Data. DLL, browse the Web in Visual Studio 2013 development environment Test1. Aspx everything is normal, can display the database information, but I will be the whole website file is copied to the IIS Web server to browse the Web Test1. Aspx, system error, the error message below, please can help to solve the problem? Thank you,

CodePudding user response:

If the deployment directory doesn't have a MySql. Data. DLL

CodePudding user response:

Should be the server configuration problem, first check the configuration file write right, see catalog reference,

CodePudding user response:

When the server deployment that DLL is lost
  •  Tags:  
  • ASP
  • Related