Classic asp/asp.net website – global.asa not working

asp-classicasp.net-2.0global-asaxglobal.asa

I've recently been given a website written in classic asp to configure and set up – although it also appears to have pages written in asp.net.

The problem I'm having at the moment is that it doesn;t appear to be picking up settings from the global.asa file such as Application("ConnectionString")….

As when I try to write them out from somewhere in the code – nothing appears.

Any idea how to congure this website to use global.asa…or why it's not already using it?

There is web.config file and global.asax…shouldn't this just be for .net?

The code will not compile in visual studio.

Best Answer

I've seen this problem when the application directory is not set up in IIS with an application name. You can change that from the IIS manager.