Experts Round Table Network

Webservers => IIS => Topic started by: keneso on March 19, 2007, 01:05:39 PM



Title: where is my global.asa
Post by: keneso on March 19, 2007, 01:05:39 PM
Hi,

It seems I am missing the global.asa

here are my iis screenshots
http://www.internetetc.it/ert/keneso/iis.html (http://www.internetetc.it/ert/keneso/iis.html)
if you'll kindly take a look.

Is it enough to copy/paste the asp.dll from the inetsrv folder, which btw is in capitals ASP.DLL (the only one in caps, does it matter?)

Thank you.


Title: Re: where is my global.asa
Post by: rdivilbiss on March 19, 2007, 03:13:48 PM
Creating an web site, does not mean IIS will automatically put a global.asa in your web sites root.

You must put it there your self.

Since this is a local computer you can use notepad to do so.


Title: Re: where is my global.asa
Post by: keneso on March 20, 2007, 07:16:42 AM
Quote
Since this is a local computer you can use notepad to do so

Do you mean something like this?

Code:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart
Application("keneso")=""
End Sub

sub getcustomers
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "utenti"
End Sub
</SCRIPT>