473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ASP Problem running web page through IIS

lifeisgreat20009
This question is for those familiar with ASP
The IIS on my computer is in "started" state...........
the default website is running............
but when I try to run my asp program, it shows the error as follows........

"Webpage cannot be found" HTTP 404 error

For God's sake tell me where is the problem ????
I am tried of trying everything to make the code run..........

When I type just the following in Internet explorer, this happens....

Oracle HTTP Server
Components
This is shown and a long list of links.........

I have run my code by typing in IE as follows........
http://localhost/trial.as...

Everytime the error "Webpage cant be displayed" is shown.......

What to do ?????

I have even tried changing the port numbers because I have 2 webservers running in parallel ie IIS and Oracle...................

When I open Administrative tools -> services , then here I see IIS in started
state...........
Does this mean that IIS is properly installed on my computer ????

Then what is the problem ????
Apr 11 '08 #1
18 3974
danp129
323 Expert 256MB
So what port is IIS listening on for the site the files in?
What port is Oracle HTTP server listening on?
Apr 11 '08 #2
What do you mean by Oracle HTTP?

What operating system are you running this on?

If it's Windows Server 2003, you need to make sure that ASP is "Allowed" to run. Do this by clicking "Web Service Extensions" in the IIS Manager, then select Active Server Pages and click the "Allow" button.
Apr 11 '08 #3
What do you mean by Oracle HTTP?

What operating system are you running this on?

If it's Windows Server 2003, you need to make sure that ASP is "Allowed" to run. Do this by clicking "Web Service Extensions" in the IIS Manager, then select Active Server Pages and click the "Allow" button.


My operating system is Windows XP professional.............

I have written Oracle HTTP because whenever I type
http://localhost
in internet explorer then always a page shows up with the heading Oracle HTTP Server and a lot of links below it.

What I want is that it should open the help page of IIS or localstart.asp page , etc which are stored in wwwroot folder.

IIS listens to port 80 and Oracle too listens to port 80 and I changed the port no. of IIS to 90.......
no result............. :-(

I just want to know where the problem is lying.......

plzzz help....

thanks................
Apr 12 '08 #4
DrBunchman
979 Expert 512MB
lifeisgreat20009,

Please don't double post your questions - I have deleted two threads started by you which are nearly identical to this one. Be patient with the experts in the forum and they will help you if and when they can.

Please take the time to read the Posting Guidelines.

MODERATOR
Apr 13 '08 #5
DrBunchman
979 Expert 512MB
So your pages are stored in wwwroot folder but when you browse to them you get the error?

Have you tried putting your asp pages in a new folder, setting up a virtual directory in the IIS console which points to that folder and browsing them in there?

e.g. http://localhost/NewFolder/Page.asp

Dr B
Apr 13 '08 #6
So your pages are stored in wwwroot folder but when you browse to them you get the error?

Have you tried putting your asp pages in a new folder, setting up a virtual directory in the IIS console which points to that folder and browsing them in there?

e.g. http://localhost/NewFolder/Page.asp

Dr B


I did what you have said but it is giving the following error.......

Not Found
The requested URL /geetu/trial1.asp was not found on this server.

Oracle HTTP Server Powered by Apache/1.3.12 Server at localhost Port 80



plzzz reply what to do now ????
Apr 13 '08 #7
DrBunchman
979 Expert 512MB
If you go to the IIS console and find this virtual directory can you see the files you are trying to browse in the right hand window? If you right click on them from here and select browse does it give you the same error?

Dr B
Apr 14 '08 #8
I am really thankful that you replied.

I did as you have said.

Again an error but this time as follows :-


You are not authorized to view this page
You do not have permission to view this directory or page using the credentials you supplied.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button to try again with different credentials.
If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the 192.168.1.2:99 home page.
HTTP 401.1 - Unauthorized: Logon Failed
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

More information:
Microsoft Support



When I type.......

http://localhost/myvirtualdirectory/trial.asp

the error is as follows:-

Page not found......http 404 error

What should I do now.....
Apr 14 '08 #9
DrBunchman
979 Expert 512MB
Okay, now we're getting somewhere.

Can you right click the virtual directory & click on Properties, select the Directory Security tab and click on edit. You will see the different types of security available.

Which, if any, of the tick boxes are selected?

Dr B
Apr 14 '08 #10
danp129
323 Expert 256MB
If you want to hit IIS and it is listening on port 90 then you can go there by typing http://localhost:90 in your browser.
Apr 14 '08 #11
If you want to hit IIS and it is listening on port 90 then you can go there by typing http://localhost:90 in your browser.

I did this too...
http://localhost:90 in your browser

no use...........

But the good news is that I got the solution.........Yipeeeeeeee

This is what I did......
In IIS Console....
click on the virtual directory and then on right-pane right click on the page that you want to run, trial.asp in my case........

Then right click on properties ->file security tab ->edit -> check the anonymous access

and you are done......

Everything is working fine only one problem......

When I do this....

http:/localhost/localstart.asp

then the error occurs which says something like Permission denied GetObject=...........
line 40 localstart.as.......blah blah.....

Same is the case with
http:/localhost/iishelp.asp


I needed to access these two files because these contain ASP tutorial.....

But anyways I am finally happy and satisfied....

Thanks a lot to all of you guys..........
Apr 14 '08 #12
DrBunchman
979 Expert 512MB
Hi lifeisgreat20009, well done for getting it sorted. I'm glad we could help.

When you first install the IIS the help pages are the default ones so, in theory, you shouldn't have any problems browsing them. Have you got another machine on which you can install IIS from scratch and then browse the help pages on that?

Dr B
Apr 14 '08 #13
Hi lifeisgreat20009, well done for getting it sorted. I'm glad we could help.

When you first install the IIS the help pages are the default ones so, in theory, you shouldn't have any problems browsing them. Have you got another machine on which you can install IIS from scratch and then browse the help pages on that?

Dr B

Yeah I have IIS installed in my college and the help pages are working well over there...

Could you please tell me if I can post my question related to LISP programming
in this website and also please tell me where can I post them.



newayz thanks for your help......

have a nice day.........
Apr 15 '08 #14
DrBunchman
979 Expert 512MB
I was going to suggest you posted your LISP question in the Misc Questions forum but I notice that you've already done so. I think you probably posted it in the most appropriate place so give it a little bit of time and hopefully somebody will be able to take a look at it for you.

Good luck with it.

Dr B
Apr 15 '08 #15
I was going to suggest you posted your LISP question in the Misc Questions forum but I notice that you've already done so. I think you probably posted it in the most appropriate place so give it a little bit of time and hopefully somebody will be able to take a look at it for you.

Good luck with it.

Dr B

I hope DrBunchman reads this posting of mine.

:( me again in trouble with IIS

In IIS console the default website is gone
I again cant run my asp code

IIS is such a pain :(

now my IIS console looks like this image as follows.....


http://img47.imageshack.us/my.php?image=iis.jpg


Help meeeeeeeeeeeeeee


IIS was working until late last night
What on earth has happened now ?????
Apr 15 '08 #16
DrBunchman
979 Expert 512MB
Is there somebody else with access to this machine? I don't understand how this would come about although I'm by no means an expert on IIS.

If I were you I would uninstall and reinstall it and see if that does the trick. Hopefully you'll be able to start with a nice clean version.

Give it a go and let me know how you get on.

Dr B
Apr 15 '08 #17
Is there somebody else with access to this machine? I don't understand how this would come about although I'm by no means an expert on IIS.

If I were you I would uninstall and reinstall it and see if that does the trick. Hopefully you'll be able to start with a nice clean version.

Give it a go and let me know how you get on.

Dr B
Well nobody accesses my PC except me and i did not do anything with it yesterday, no installing software, no uninstall, nothing at all . I dunno how on earth it stopped working and the default website just vanished. But fortunately I had created a restore point yesterday only. I restored my computer and default website came back. But I cant browse files from the virtual directory instead they are working in IIShelp

http://localhost/IISHelp/guestbook/guestbook.asp

this is really weird...

My guess is that the settings and permissions are changed when computer is restarted as I had to again check the "anonymous access" box......

Sorry to bother you again .....
You have been a great help..............
Thank you so much..............................
Apr 15 '08 #18
Well nobody accesses my PC except me and i did not do anything with it yesterday, no installing software, no uninstall, nothing at all . I dunno how on earth it stopped working and the default website just vanished. But fortunately I had created a restore point yesterday only. I restored my computer and default website came back. But I cant browse files from the virtual directory instead they are working in IIShelp

http://localhost/IISHelp/guestbook/guestbook.asp

this is really weird...

My guess is that the settings and permissions are changed when computer is restarted as I had to again check the "anonymous access" box......

Sorry to bother you again .....
You have been a great help..............
Thank you so much..............................


Unfortunately I dont own a Windows XP cd so I cant reinstall IIS again..
Apr 15 '08 #19

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: Larry Woods | last post by:
I have a server page that has served an HTML page with a "Cancel" button on it, BUT this server page has not completed and is running a 15-30 second process before it completes. I want the browser...
5
by: Ketta | last post by:
I want to make a simple simple asp page. All I want is when the page loads it does "net stop <service>". The code is below, it is not running as IUSR_<machine>, I am authenticating as...
5
by: PontiMax | last post by:
Hi, when I press the OK button of my dialog box a long-running task is initiated. Therefore I would like to make visible a div section right after clicking the button where a user-friendly...
0
by: Rusty Shackleford | last post by:
I am having trouble getting my ASP.Net applications and sessions to stay running. At first, I thought it was my lack of understanding of ASP.Net, or the fact that I am using Anonymous...
8
by: TS | last post by:
Hi, i have inherited a page from another user. The page is the target frame in a frameset. for some reason the whole page runs twice (page_load, init, etc. all run twice) I can't figure out how...
1
by: Anonieko | last post by:
Query: How to display progress bar for long running page Answer: Yet another solution. REFERENCE: http://www.eggheadcafe.com/articles/20050108.asp My only regret is that when click the...
4
by: Jono | last post by:
Hi Everyone, As it says in the title, I'm looking for a way to display a page while long running operations are performed on the server. Ideally, I'd like some way to push the current request...
14
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So,...
4
by: Simon | last post by:
If I am running a long time query, how to show a wait page at then? Is there any recommended way to do it? Thanks.
12
by: Shadlan | last post by:
Hi. I need to know if a service is running on my server. Is there any PHP instruction that I can use to do this?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.