Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65391

Using global.asa on Windows 2008

We have an old asp solution with VB6 components, which we are trying to install on Windows 2008.

There is a connection string that is assigned to a varibale in the global.asa.

When we try to use this the variable is not set. It appears that the global.asa is not run.

Anyone know how to fix this?

Upvotes: 1

Views: 1343

Answers (2)

Joost Evertse
Joost Evertse

Reputation: 1075

Make sure that the directory that contains the global.asa is set as an application. To do this right click on the right virtual directory and choose 'Convert To Application'.

Upvotes: 2

Erik Oosterwaal
Erik Oosterwaal

Reputation: 4374

Global.asa should work in the same way as before. Can you try a simple .asp page, that doesn't use VB6 components, but just displays the variable you set in the global.asa? My guess is that classic ASP might not be enabled at all on your 2008 server.

Upvotes: 0

Related Questions