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
IIS not running ASP pages
Old 09-30-2007, 04:12 PM IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Hi, been away for quite a while, been concentrating on my photography now my website is up and running. However, I needed to change the value in a field on my database, so before submitting to web I chnaged it and tested locally through IIS. Let me start by saying that the field change is not the problem, it was simply increasing a numerical value from 20 to 25. A downloaded copy of the db running my website, in the state prior to changes being made, at the moment from the webhost creates exactly the same problem.

The problem? When I test my site in IIS any ASP page I select is showing only the code and not the page itself. I've tried restarting IIS but this has had no effect. Only html pages will run. The ASP pages on my website are displayed correctly when I surf them so it makes me think it's not a generalised browser (Firefox) problem, but exclusively IIS or a combination of browser/IIS.

Any help please?

Thanks, Lol
__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
 
Register now for full access!
Old 09-30-2007, 04:33 PM Re: IIS not running ASP pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
This is an IIS issue specifically (i.e. it doesn't have a thing to do with the browser).

First, make sure your permissions on the site are set to Read/Run Scripts (the latter is the key one).

Second, check Web Server Extensions and make sure that ASP is Allowed on your server.

One of the two of those (I suspect the former) will solve your problem.

Good question, though, dude...it actually requires thought to solve it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-30-2007, 04:49 PM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Thanks Adam, is this where I should be looking?

http://i31.photobucket.com/albums/c3...Lol/Image2.jpg

If so is everythging set okay?

Cheers, Lol


__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 09-30-2007, 05:26 PM Re: IIS not running ASP pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
That's the one spot, and everything looks okay on the service.

Now check under Web Service Extensions and see if ASP is explicitly set to "Allowed".
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-30-2007, 05:33 PM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Could you idiot talk me through that one please? I can pull up the IIS Manager but get a bit lost after that. I'm running XP Pro.

Thanks, Lol
__________________

Please login or register to view this content. Registration is FREE
- Street Photography

Last edited by Lol999; 09-30-2007 at 05:38 PM..
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 09-30-2007, 05:43 PM Re: IIS not running ASP pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Okay...when you pull up IIS Manager, you should see three folders:

1) Application Pools
2) Web Sites (where you're looking now)
3) Web Service Extensions

Open up the Web Service Extensions folder, and you'll see a list of the service extensions (ASP.Net, ASP, PHP, etc.) that are allowed and not allowed.

You might have to add ASP to that list, if it's not there, but if it's there, just Allow it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-30-2007, 05:47 PM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Right, this is all I have I don't see some of what I should do!
__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 09-30-2007, 06:08 PM Re: IIS not running ASP pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Weird...your server is radically different from mine.

I don't know what to tell you from here on out, except possibly to right-click on "HOMELOL", click "Properties", then "MIME Types" and see that ASP is in there as a mime type (.asp is the extension, application/x-asp is the MIME type).

After that, I got nothing.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-30-2007, 06:30 PM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
No problem mate. Thanks for your help anyway.
__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 09-30-2007, 08:03 PM Re: IIS not running ASP pages
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
IIS5 on Win2K pro.

On the Directory tab (as shown in post #3) click the Create button to set up and start the application.
__________________
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 online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-01-2007, 04:12 AM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Hi Chris, this is what I have after selecting "Create". Unfortunately the asp pages still don't run.I noticed the Starting Point is set to Default W... Is this pointing to a web address or on my IIS? Does it need changind and if so how?

Thanks, Lol



__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 10-01-2007, 06:15 PM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Hmm, seems I was not typing in the file path correctly in the Run dialogue box. Now I'm NOT opening the page as a file but as a webpage I get the following screen, but have no idea on how to correct it:
__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 10-01-2007, 07:21 PM Re: IIS not running ASP pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
The good news is that it's executing ASP code. The bad news is that you have a script error.

It looks like the database is either opened up offline or that you haven't got permissions on the folder itself.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-02-2007, 06:56 AM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Hi Adam, it looks to be a permissions thing, although why this should have changed I can't imagine. Whereabouts do I alter this please?

Thanks, Lol
__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 10-02-2007, 01:22 PM Re: IIS not running ASP pages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Check the "Write" box in that second screen cap.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-02-2007, 02:11 PM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Hi Adam, I've checked "write" but it's still the same. In operation the database isn't written to, only read from if my understanding is correct. It is used to hold file paths to iumages for a db driven "slideshow" so no actual writing to is necessary?

Thanks, Lol
__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 10-02-2007, 04:50 PM Re: IIS not running ASP pages
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Is it a Access database? If so you need write or full control over the folder it lives in. Every time you open a mdb file (even in code) it creates a ldb file, then deletes this when the last user closes out.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 10-02-2007, 06:43 PM Re: IIS not running ASP pages
Super Talker

Posts: 129
Trades: 0
Yeah it's Access and I've crossed swords with rogue .ldb files before. I've done a full system search for .ldb files and found none. I've set full permissions on the folder with the database in and still nothing. I give in. Thanks everyone for all their help.

Cheers, Lol
__________________

Please login or register to view this content. Registration is FREE
- Street Photography
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Old 10-03-2007, 04:22 AM Re: IIS not running ASP pages
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
The same error can also be caused by the db not being found in the folder the code is looking in.

One problem may be the starting point for the application being one folder down from root.

Move the default web site home directory to the root folder for your site, then you can use /localhost/ instead of /localhost/17minutes/ which could mean you have to recode some things when you upload to your production server.
__________________
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 online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-04-2007, 05:33 PM Re: IIS not running ASP pages
Skilled Talker

Posts: 97
Name: Ganesh
Trades: 0
Looking at the error the access database you are using is locked out by the previous action , you may want to see if the datbase is accessible in the access front end, if it does, you can very well close the application and try it.

If access front end says it is in use by another user, just restart the IIS service and it should be able to release that connection.

Then attempt to use that database is access front end. If you still can't open it, then you may need to find any other application is sharing the same database.


If non works, reboot the box and try and even if it doesn't work, override the the database with a backup.
__________________
Gather. Search. Compare. Save on Hotel and Flight Prices @
Please login or register to view this content. Registration is FREE
sri_gan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to IIS not running ASP pages
 

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.56515 seconds with 12 queries