Hi there
I am trying to move my ASP pages from Windows 2003 server to Windows 2008 x64, but nothing works :-( I use Plesk as the management console and when I try to connect to my database I get Internal server Error 500, I set up friendly messages in IIS 7.0 but still only this error shows. Sometimes I get page Ok and on other times (most of the times) there is error :-( (that thing confuses me, why once it would work, second time no).
My error is:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
My code is:
Dim misli
Dim misli_numRows
Set misli = Server.CreateObject("ADODB.Recordset")
misli.ActiveConnection = MM_Misli_STRING
misli.Source = "SELECT * FROM misli ORDER BY RaND()"
misli.CursorType = 0
misli.CursorLocation = 2
misli.LockType = 3
misli.Open()
My connection:
Dim MM_Misli_STRING
MM_Misli_STRING = "Driver={MySQL ODBC 3.51 Driver};server=localhost;uid=xxx;pwd=xxx;database=misli;OPTION=16384;stmt=SET NAMES 'latin2'"
Could anybody help me here? The app pool is running in 32-bit compatible mode (Plesk set that already).
Yours
Jerry
PS - I don't see the ODBC 3.51 in the ODBC panel, although I have it installed. Is that the reason for the error? Database is mySQL 5.0.45.