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 assigne开发者_JS百科d 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?
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'.
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.
精彩评论