Configure IIS for ASP files to work (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


MariaK -> Configure IIS for ASP files to work (8/30/2004 16:25:18)

Hi,
Can anyone help me in configuring my IIS server, when i loaded it, the ASP files were working, but now i don't remember may be i have changed some permissions and properties of the subwebs and none of the ASP file are working.[8|]




aaronwiles -> RE: Configure IIS for ASP files to work (8/30/2004 21:41:52)

Wat version of IIS? Firstly have you check your website in IIS is started & not stoppped? Check to make sure that Active Server Pages are not Prohibited but Allowed (IIS -> Web Service Extensions), also double check with the propeties the the Required Files are Allowed. Then use http://localhost/ to check this.




pesty -> RE: Configure IIS for ASP files to work (8/30/2004 23:23:18)

Hello MariaK,

Would love to help, but if you don't know what you changed, not only would be impossible for us to assist you, but, I for one, do not want to take the responsibility for suggesting changes that could create further damage.

If you followed the installation instructions, then the solution is to start at the beginning and check each step one at a time. If you didn't follow the installation guideline or changed settings that are not listed or suggested, then you may have to uninstall and reinstall.

If uninstalling and reinstalling IIS is not an option for you, you may need to return to the site where your IIS download originated and ask for further assistance there.

Whichever the case may be, take this piece of advice. Always write down any changes that you make while configuring or setting passwords. You can always do away with the notes after your site is up and running properly. It shouldn't be any different than adding comments to your code. Doing so may allow you to reverse the settings without any bad effects. Using them helps you to remember important changes and keeps you from making costly mistakes and time consuming errors.

Let us know what you find, and good luck to you!

Pesty




Giomanach -> RE: Configure IIS for ASP files to work (8/31/2004 3:52:05)

quote:

Wat version of IIS? Firstly have you check your website in IIS is started & not stoppped? Check to make sure that Active Server Pages are not Prohibited but Allowed (IIS -> Web Service Extensions), also double check with the propeties the the Required Files are Allowed. Then use http://localhost/ to check this.

Aaron, not every knows how to do this, plus, you are providing details for server based IIS, not workstation based IIS.

MariaK:-

Right Click on My Computer, and select Manage. Then expand the Applications and Services Tree, and then the Internet Information Services Tree. Right Click on Internet Information Services and then upto All Tasks. Select REstart/Stop Internet Information Services. Now, select restart Information Internet Services and click on OK.

If the process was successful, in your favourite browser, enter the url: http://localhost/iisstart.asp. That will fully activate IIS.

The other option is a permissions issue, try that and see if they work, if not come back and I'll talk you through the User Permissions.

Also, can I ask, is this IIS server for a full blown web server, or is it for local testing purposes?

Dan




Spooky -> RE: Configure IIS for ASP files to work (8/31/2004 3:55:07)

Define not working? Is there an error message?

quote:

you are providing details for server based IIS, not workstation based IIS

[sm=ask.gif]




Giomanach -> RE: Configure IIS for ASP files to work (8/31/2004 3:57:24)

Maybe just me, but IIS 5.1 on Windoze 2k Advanced Server is different to that in Windoze XP.

Dan




MariaK -> RE: Configure IIS for ASP files to work (8/31/2004 11:48:41)

Hello,
First of all i want to thank all of you for your help.
As aaron asked i don't have any idea about the version of IIS, I am using Win2KP and this IIS was with in the windows installation CD. And my IIS Server is working, and i have checked it ten times by stopping it and restarting it, and i am using proper URL as http://localhost/myfolder/filename.asp

I have given all permissions to all the files i.e Read, Write, Log visits. Still the asp files are not working.
I have not yet uninstalled it and tried that option as Pesty has written, and from now i will take all kind of precaution while doing any manipulation in IIS.

I have followed all the steps as Dan told to do, but not working[&o]

The IIS is just on a stand alone PC, to have my website working and later on i will upload it on the host server.

Regarding the permissions i have given full permission to each and every file. may be i am wrong this way, have no idea.

When i open any .asp file in the browser it shows"The Page cannot be Displayed". While i open any .htm file using the URL http://localhost/myfolder/file.htm its working.

If anything else can be done please guide me, it would be of great help

Thanks




Giomanach -> RE: Configure IIS for ASP files to work (8/31/2004 11:50:42)

Can you provide us with the full Error Page, the title "Page Cannot Be Displayed" is shown on a variety of pages within IIS

Dan




MariaK -> RE: Configure IIS for ASP files to work (8/31/2004 12:07:19)

The title of the page is "HTTP 500 Internal server error"

in the body part " The page cannot be displayed"

and in the end there is again "HTTP 500 - Internal Server error Internet Explorer"

Do i need to uninstall the IIS and re-install it????




Giomanach -> RE: Configure IIS for ASP files to work (8/31/2004 12:12:07)

Seems like a good option, go for it, back up your webs first though

Dan




MariaK -> RE: Configure IIS for ASP files to work (8/31/2004 12:14:43)

One of the folder under c:\inetpub\wwroot is jan1 and other two are web : logon and protected.

when i write the url http://localhost/jan1, it shows all the files under this directory and
when i write the url http://localhost/logon or url as http://localhost/protected, it doesn't shows any files under this directory instead it will show "the page not displayed" HTTP 500 internal server error.

I am sure something is related to the permissions or properties. the logon and protected were web published from some other remote location under wwwroot.

does this provides you with enough info.[8|]




Giomanach -> RE: Configure IIS for ASP files to work (8/31/2004 14:33:02)

quote:

when i write the url http://localhost/jan1, it shows all the files under this directory

You don't have a default.asp, default.htm, index.asp, index.htm or index.html in there? Also, Directory Browsing is enabled.

quote:

when i write the url http://localhost/logon or url as http://localhost/protected, it doesn't shows any files under this directory instead it will show "the page not displayed" HTTP 500 internal server error.

Both have an ASP based homepage for the file names stated above?

Have you installed any windoze updates recently? If so, try and rol back on them until you can access webs via IIS again.

Have you un-installed and re-installed IIS yet, or do you need instructions on how to do so?[;)]

Dan




Spooky -> RE: Configure IIS for ASP files to work (8/31/2004 15:38:59)

In IE > tools > options > advanced > DONT show friendly http errors.

Now, reopen your page.




MariaK -> RE: Configure IIS for ASP files to work (8/31/2004 17:19:46)

I have uninstalled and re-installed IIS atleast 3 to 4 times since morning and nothing is working the default .asp pages that gets loaded with IIS i.e localstart.asp and iisstart.asp are also not working.

As spooky asked to remove the check from tools->internet option->show friendly http errors
now it shows:

"Server Application Error"

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information


i don't know what should be done[:@]




MariaK -> RE: Configure IIS for ASP files to work (9/1/2004 0:11:18)

OOOOOOOOHHHHHH, Lastly solved. IIS is working perfectly and all the .asp files are also executing. i checked the event log file and noted the Event ID: and then searched in microsoft site and got the solution.

Thanks to all of you, as you all helped me lot, removing friendly HTTP errors was of gr8 help. this only gave me the idea that i should check the log file and finally everything is working.

Such a Relief[:)]




rovingeyes -> RE: Configure IIS for ASP files to work (10/1/2004 10:12:28)

Don't you hate when people just say they have solved it an walk away? They never tell you what they solved and how they solved it. What good is a discussion thread if it doesn't help others?
This is like "slam bam wham thank you mam"




VegasMack -> RE: Configure IIS for ASP files to work (10/3/2004 4:56:04)

I could be wrong, but I believe she enabled “Enable Parent Paths” on the Home Directory configuration.

That’s how I solved a similar problem.

-Mack




aaronwiles -> RE: Configure IIS for ASP files to work (10/4/2004 18:41:39)

Ask her to post the answer then...!




sonalkhodiyar -> RE: Configure IIS for ASP files to work (10/17/2007 3:36:16)

hello friends,

i too had the same problem, was getting

Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

had gone through many forums for abt an hour, went through this one too. Budt didnt get a solution before this one.

http://support.microsoft.com/default.aspx?scid=kb;en-us;309051

#6 was the solution I was looking for.

thought tht it might be help ful for sum1 facing similar problem...

Take care, happy computing.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625