Hi guys,
I've been trying to load my site which is in ASP.NET. Thinking it would be good to test before uploading the whole site, I wrote very simple code to test connectivity to database (MySQL) and creating a table.
First I tested on my machine (which has MySQL 5.1 community server and ODBC driver 5.1) it ran without any glitch. Then I uploaded the files and created database in mysql server (x10hosting).
Page loads fine but when i click to crate the table it shows an error about libodbc.so file.
the error looks like this
"libodbc.so
Description: HTTP 500. Error processing request.
Stack Trace:
System.DllNotFoundException: libodbc.so at (wrapper managed-to-native) System.Data.Odbc.libodbc:SQLAllocHandle (System.Data.Odbc.OdbcHandleType,intptr,intptr&) at System.Data.Odbc.OdbcConnection.Open () [0x00000]"
I am confused as what to do.
Thank you in advance.
Enjoy.


LinkBack URL
About LinkBacks
Reply With Quote

