ASP Problem running web page through IIS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lifeisgreat20009
    New Member
    • Oct 2007
    • 70

    ASP Problem running web page through IIS

    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 ????
  • danp129
    Recognized Expert Contributor
    • Jul 2006
    • 323

    #2
    So what port is IIS listening on for the site the files in?
    What port is Oracle HTTP server listening on?

    Comment

    • cryogeneric
      New Member
      • Jan 2008
      • 15

      #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.

      Comment

      • lifeisgreat20009
        New Member
        • Oct 2007
        • 70

        #4
        Originally posted by cryogeneric
        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

        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......... .......

        Comment

        • DrBunchman
          Recognized Expert Contributor
          • Jan 2008
          • 979

          #5
          lifeisgreat2000 9,

          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

          Comment

          • DrBunchman
            Recognized Expert Contributor
            • Jan 2008
            • 979

            #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

            Comment

            • lifeisgreat20009
              New Member
              • Oct 2007
              • 70

              #7
              Originally posted by DrBunchman
              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 ????

              Comment

              • DrBunchman
                Recognized Expert Contributor
                • Jan 2008
                • 979

                #8
                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

                Comment

                • lifeisgreat20009
                  New Member
                  • Oct 2007
                  • 70

                  #9
                  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/myvirtualdirect ory/trial.asp

                  the error is as follows:-

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

                  What should I do now.....

                  Comment

                  • DrBunchman
                    Recognized Expert Contributor
                    • Jan 2008
                    • 979

                    #10
                    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

                    Comment

                    • danp129
                      Recognized Expert Contributor
                      • Jul 2006
                      • 323

                      #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.

                      Comment

                      • lifeisgreat20009
                        New Member
                        • Oct 2007
                        • 70

                        #12
                        Originally posted by danp129
                        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..........

                        Comment

                        • DrBunchman
                          Recognized Expert Contributor
                          • Jan 2008
                          • 979

                          #13
                          Hi lifeisgreat2000 9, 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

                          Comment

                          • lifeisgreat20009
                            New Member
                            • Oct 2007
                            • 70

                            #14
                            Originally posted by DrBunchman
                            Hi lifeisgreat2000 9, 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.........

                            Comment

                            • DrBunchman
                              Recognized Expert Contributor
                              • Jan 2008
                              • 979

                              #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

                              Comment

                              Working...