I get an error, for example ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified when publishing the website. If I run the website from VisualStudio, it works fine, no problem. I put the connection string web.config in web.config . The connection string is similar to <appSettings> <add key="ConnectionStr" value="DRIVER={MySQL ODBC 5.1 Driver};SERVER=10.7.26.75;PORT=3306;DATABASE=XXXXXX;UID=XXXXX;PASSWORD=root123"/> </appSettings>
Please help me solve this problem.
Abble alias
source share