Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Server internal error 500 opening ADODB.Recordset
We are moving a website from a Win NT server to a Win 2000 server, both with IIS. While on the old server this problem wasn' t occurring, on the new server the very same ASP page causes the error HTTP 500 - Internal server error.
The error is on the Open of the recordset.
Any ideas ?
SET Conn = CreateObject("ADODB.Connection")
Conn.Open Application("ConnectionString") [italic]'This string is ok[/italic]
SET rsAnom = Server.CreateObject("ADODB.Recordset")
NumRighePag = 50
rsAnom.PageSize = NumRighePag
rsAnom.CacheSize = NumRighePag
rsAnom.CursorLocation = adUseClientBatch
[b]rsAnom.Open SQLcmd, Conn, adOpenStatic, adLockReadOnly, adCmdText[b]
0 · ·