classic asp/asp.net website - global.asa not working

thegunner picture thegunner · Sep 15, 2009 · Viewed 11.8k times · Source

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.

Answer

Luke picture Luke · Sep 16, 2009

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.