navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

IIS and Global.asa?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> IIS and Global.asa?
Page: [1]
 
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
IIS and Global.asa? - 11/30/2003 4:16:00   
Hi All,

I'm trying to convert one of my sites from my Win 98 SE PWS to XP IIS.

When I test the site locally on IE6 I get the following error:

HTTP Error 500-15 - Requests for global.asa not allowed
Internet Information Services


Can anyone tell me what that means?
Thanks,
LLLuneeeee :)

_____________________________

Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: IIS and Global.asa? - 12/1/2003 15:31:12   
That's a normal error if you are trying to directly access global.asa from the browser.

_____________________________

======
Doug G
======

(in reply to Long Island Lune)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: IIS and Global.asa? - 12/1/2003 16:25:53   
Thanks Doug.

If IIS doesn't access global.asa locally, then how can I test my sites locally through IE6 like I used to with PWS?

And ideas or suggestions?
Thanks
LLLuneeeee :)

< Message edited by Long Island Lune -- 12/1/2003 10:35:51 PM >


_____________________________


(in reply to Doug G)
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: IIS and Global.asa? - 12/2/2003 9:26:01   
global.asa is a file that is in the root folder of a web application.

You should be able to open http://localhost/default.htm or whatever is a regular page, just don't try to open http://localhost/global.asa

http://msdn.microsoft.com/library/en-us/iisref/htm/ref_scrpt_globalasaref.asp

_____________________________

======
Doug G
======

(in reply to Long Island Lune)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: IIS and Global.asa? - 12/2/2003 10:57:04   
Hi Doug,

Actually I didn't try to open global.asa in IE6.
I only open that file in Notepad.

What I originally did (that sparked me creating this thread):

1): Loaded my index.asp page into FP. It has a dieted DRW in it.
2): Pressed the "Preview in Browser" button in FP.

Like my old Win98 / PWS days, I was expecting / hoping that the page would load into IE6 with its DRW functioning. That's when that gloabal.asa error popped up.

When I installed IIS, it didn't give me a http://localhost/ tree.
It gave me a: http://your-g4g8use23/ tree.

I don't know...

I do know that any transistion from PWS to ISS shouldn't be this hard.
Typical MS &(*#%$)^ . :):)

< Message edited by Long Island Lune -- 12/2/2003 10:59:15 AM >


_____________________________


(in reply to Doug G)
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: IIS and Global.asa? - 12/2/2003 22:22:53   
The default web folders will be c:\InetPub\wwwroot\

If you put a file there like index.html and point your browser to http://localhost/index.html IIS should serve your page.

global.asa belongs there for the root web.

If you make additional web applications, you can physically locate the files anywhere, but you need to open the IIS service manager (found in control panel - administrative tools) and create a new virtual directory under the default website, and point that virtual directory to the physical folders. Easiest is to put the virtual directory files under c:\InetPub\wwwroot\mySubWeb

You can also turn your virtual directory into a web application using the IIS manager. Open the properties page to find the web application "Create" button. Any global.asa file in a subweb application will operate independently from the root web.

Using tools like FrontPage or InterDev makes it easier to create web applications, these programs automatically do all the work for you.

_____________________________

======
Doug G
======

(in reply to Long Island Lune)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: IIS and Global.asa? - 12/3/2003 13:11:44   
Thanks Doug.
Great info.
I'm going to check it out and see if my luck changes.
Cheers :)

_____________________________


(in reply to Doug G)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: IIS and Global.asa? - 12/10/2003 17:16:23   
Doug, that info you provided me was great but I still can't get any of my existing sites to be recognized by IIS. I tested a newly created site and it seems to work. But it's the important ones that were created a long time ago that do not want to cooperate.

XP Pro that came with my new laptop works very well with everything except IIS.
Just my luck too.
I guess it's a good thing I have the old laptop.
Looks like 98 SE and PWS are my only options.:)

I tried looking for help in XP Help and in the IIS Manager Help.
Couldn't find it. :)

Did you have any existing site projects on your computer that were created before you got XP -that work in IIS?

Cheers,
LLLuneeeee :)

_____________________________


(in reply to Long Island Lune)
Doug G

 

Posts: 1189
Joined: 12/29/2001
From: SoCal
Status: offline

 
RE: IIS and Global.asa? - 12/10/2003 19:57:45   
quote:

Did you have any existing site projects on your computer that were created before you got XP -that work in IIS?

Yes

Have you used the IIS service manager to create or re-create any virtual directories?

I almost always use FrontPage or InterDev to create virtual directories/web applications but when I updated W2K to XP I didn't have to do anything to IIS, the existing webs were all present and accounted for.

_____________________________

======
Doug G
======

(in reply to Long Island Lune)
Long Island Lune

 

Posts: 2340
Joined: 6/8/2002
From: New York
Status: offline

 
RE: IIS and Global.asa? - 12/11/2003 12:24:28   
Yeah - I tried that.
Maybe I should try to approach this differently, -one step at a time.

In my IIS manager window I have a path like this:

Internet Information Services > YOUR-GHR$221324 > Web Sites > Default Web Site > then a list of all my website directories.

On my hard disk I have a path: C:\InetPub\wwwroot -just like my old PWS.

I have a LACIE external Hard disk. I use it for backup. So I backed up my c:\Inetpub\wwwroot directory on the older laptop and put it on the new XP laptop.

I noticed that IIS states you should have everything installed first (ie. FP and whatever other tools you may use), prior to installnig IIS, so I made sure FP 2000 and 2002 were installed on my machine prior to installing IIS.

When I installed IIS I chose all the options EXCEPT "Service SMTP". I don't need that. I love WS FTP_Pro.

When it didn't work the first time, I removed my c:\IntePub\wwwroot directory from my new laptop completely because IIS didn't create it, I copied it from my old machine. I wanted to see what would happen if I created a new site project inside FP. So I created a new project in FP.

Sure enough there was the YOUR-GHR$221324 directory from IIS in the FP dialog box. So I created a project path inside that default directory that FP displayed and I guess all works fine. It also created a C:\InetPub\wwwroot directory again on my hard drive. So now when I create any new websites, I'm assurred that I can use them in IIS.

To sum all this up, I go into IIS and see this directory tree:

Internet Information Services > YOUR-GHR$221324 > Web Sites > Default Web Site > then a list of all my website directories.

Where did you create your virtual directories that you copied your exisitng sites into?
Web Sites?
Default Web Site?


I tried Default Web.
No luck. :)
Yikesssssssssssss.... :)

_____________________________


(in reply to Doug G)
Page:   [1]

All Forums >> Web Development >> Server Issues >> IIS and Global.asa?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts