My project involves a large number of ASP pages that reference an Access database. I am testing the system first via IIS before publishing it to the web server.
The connection string is specific to the database location i.e. C:/inetepub/.../*.mdb etc for IIS testing and //web/content/.../*.mdb etc for the web server. Therefore I have to edit all of the files before publishing, then edit them back to continue with local deevelopment. Aagh!!!
Is there a way to introduce a simple 'test' into my codee as to where the ASP is running?
I could then 'if...then...el se...' etc and save loads of time.
Hope you can help.
The connection string is specific to the database location i.e. C:/inetepub/.../*.mdb etc for IIS testing and //web/content/.../*.mdb etc for the web server. Therefore I have to edit all of the files before publishing, then edit them back to continue with local deevelopment. Aagh!!!
Is there a way to introduce a simple 'test' into my codee as to where the ASP is running?
I could then 'if...then...el se...' etc and save loads of time.
Hope you can help.
Comment