10/11/2012

Classic ASP, Global.asa, IIS 7.5

When you deploy a classic asp application having variables (application, session) declared in a Global.asa file in IIS7 or above, you might come across an error something like this 

ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

This is probably due to the fact that  global.asa file has not been initialized at start up. The easiest solution for this is to use "convert to application" option in IIS. 

In IIS, select the folder containing Global.asa file and then right click and select "convert to application"



2 comments:

  1. thanks for this blog. This solution worked beautifully for me and you have just saved my day. :) Susan

    ReplyDelete