Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Unable to preview site with IIS
Old 01-17-2007, 09:36 PM Unable to preview site with IIS
Burnsie's Avatar
Skilled Talker

Posts: 81
Trades: 0
Hi
I have an .asp site that I am unable to preview in Dreamweaver MX. I used to run the site on an old machine using PWS and everything worked fine. However, I have moved the site to a machine using XP Pro with IIS and can not get it to preview in a browser nor give me a live data view. All the files are present on the testing server, which I can access, I can also connect to the actual server with no problems. However, when I try to preview the site I get a “HTTP 500.100 - Internal Server Error - ASP error Internet Information Services” error message.

I have disabled Anonymous authentication for the Localstart.asp file and verified that the user who is logged on is a member of the local Administrators group. But still I am unable to preview the site!
As always any help would be much appreciated.

Cheers
Burnsie
Burnsie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-17-2007, 10:25 PM Re: Unable to preview site with IIS
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Quote:
Originally Posted by Burnsie View Post
I have disabled Anonymous authentication for the Localstart.asp file and verified that the user who is logged on is a member of the local Administrators group. But still I am unable to preview the site!
As always any help would be much appreciated.

It shouldn't matter who's logged into the computer - you can configure what user IIS runs under, with network service being the default. ( Maybe that started with v 6? )

Usually an error 500 is a programming error, I think. It's been a while since I've done clasic asp, but I think that usually indicates a null value from the database that wasn't planned for, or something to that extent.

Can you see other asps in the same folder?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 01-18-2007, 06:52 PM Re: Unable to preview site with IIS
Burnsie's Avatar
Skilled Talker

Posts: 81
Trades: 0
Hi
The site worked perfectly with pws. All I have done is put the entire site onto a new machine. I can see all the files in the tesing server and access them. But not being able to preview them makes working on the site v. hard work. I have not altered a single line of code since moving the site!

Cheers
Burnsie
Burnsie is offline
Reply With Quote
View Public Profile
 
Old 01-19-2007, 12:01 AM Re: Unable to preview site with IIS
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Quote:
Originally Posted by Burnsie View Post
The site worked perfectly with pws. All I have done is put the entire site onto a new machine. I can see all the files in the tesing server and access them. But not being able to preview them makes working on the site v. hard work. I have not altered a single line of code since moving the site!

So that means it's not a code problem. Some kind of difference between the way the two machines are configured...

Can you give a few more details? What version of IIS are you using, or if you're not sure, what operating system? Ideally these are the same on both computers, but I wouldn't be surprised if it's Windows Server 2003 ( IIS 6 ) and Windows XP Pro ( IIS 5.2 ). That's not a problem at all - actually that's how things are set up at my job.

Are you using ASP "Classic" or ASP.NET? If it's the latter, can you make sure both machines are using the same version of the .NET Framework? You'd check that in the IIS mgt application, under the site's properties. It's possible ( but not likely ) your code is using a feature of .NET 2 and the server is using 1.1 to process the code.

You might want to check the NTFS permissions on the files that make the site up. It's also possible the web server doesn't have access to them - it's probably running under NETWORK SERVICE.

Otherwise, I need more details to give you better / more specific advice.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 01-25-2007, 04:37 PM Re: Unable to preview site with IIS
Burnsie's Avatar
Skilled Talker

Posts: 81
Trades: 0
Hi
Yes I am running asp NOT .asp. I can view pages on the testing server that have a .htm extension but not any asp files so there appears to be a problem with permissions for asp type pages. I have uninstalled my virus checker and firewall as I read that these may be responsible but this has made no difference!
So i guess i need a way to allow asp pages to be prossesed by the tesing server!

Cheers
Burnsie
Burnsie is offline
Reply With Quote
View Public Profile
 
Old 01-25-2007, 06:00 PM Re: Unable to preview site with IIS
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Open the IIS MMC, Right Click Default Site and pick Properties

Open the Home Directory tab, in Application Setting check there is an application name, if not click the Create button and set Execute Permissions to "Scripts Only". Apply & Ok the dialog and try to open http://localhost

also in your browser (assuming IE) use:

Tools -> Internet Options -> Advanced tab -> Browsing section -> Uncheck "Show friendly HTTP error messages"
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-27-2007, 12:54 AM Re: Unable to preview site with IIS
Novice Talker

Posts: 9
Trades: 0
You can also try connecting using http://IPAddress or http://MachienName
urbndk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Unable to preview site with IIS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24903 seconds with 12 queries