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"
thanks for this blog. This solution worked beautifully for me and you have just saved my day. :) Susan
ReplyDeleteNice :)
DeleteI tried debugging global.asa (with 2-3 asp pasges) in VS2017... but no luck finally what I did is to add logging in global.asa and I am able to get my logic
ReplyDeleteworking in Application_OnStart event...Thnx