Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Pages not running

Status
Not open for further replies.

mana2

Programmer
Aug 9, 2002
116
US
Hi,

My ASP files were running at a web host but when I copied them over to a different server, the ASP pages don't work. HTML pages do.

Under IIS/Web Sites I looked at the properties of the web site. Under the Home Directory tab under Application Settings, I set the following:
Application Name: Default Application
Starting Point: <Web site name.com>
Execute Permissions: Scripts Only
Application Pool: DefaultAppPool

Under IIS/Web Server Extensions:
Active Server Pages: Allowed

I don't know what else I should be looking for.

Thanks so much
 
In the properties dialog of your standard website, add "index.asp" and/or "default.asp" or "home.asp", whatever your start page is named.

;-)

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 

Hi,

I did add index.asp as a default content page under the documents tab of the properties dialog. Not sure what else to do.

Thanks
 
Yes. The page cannot be found error.
 
Are you using a Response.Redirect somewhere in your page head?
Please post some of your ASP. Without precise info we can't be of much help!

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
The ASP pages all worked on a different server. I created a simple HTML page and gave it an ASP extenstion and it would still not display.

Thanks
 
Sounds like a script execution permissions issue.
Check script access permission in IIS manager, folder properties.

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
I did set the execute permissions to Scripts only:

Under IIS Manager/Web Sites I looked at the properties of the web site. Under the Home Directory tab under Application Settings, I set the following:
Application Name: Default Application
Starting Point: <Web site name.com>
Execute Permissions: Scripts Only
Application Pool: DefaultAppPool
 
OK.
In that dialog tab, hit "Configuration".
Check if there is an application mapping for ".asp" to "C:\Windows\system32\asp.dll".


[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 

Yes but a bit different from what you listed:
C:\WINDOWS\system32\inetsrv\asp.dll instead of
C:\Windows\system32\asp.dll


Verbs: Limit to GET,HEAD,POST,TRACE
 
Thanks for your help. I might have to reinstall IIS. I was hosting with an ISP and then moved it to an internal server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top