Issue in deploying web application in IIS.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ramchandar
    New Member
    • Dec 2007
    • 11

    Issue in deploying web application in IIS.

    Hi,
    I have a web application created in 2.0 Framework. I deployed this application in the virtual directory of the IIS by right clicking the project and selecting the Publish this web site option in Visual Studio. Publishing was successful but wen i try to open the default.aspx in IE by giving http:\\localhos t\Test\Default. aspx in the address bar it just shows the html markups of the default.aspx (the @page directives, entire html contents till </html>)

    I also restarted the IIS and tried this option. I also make the published folder as web sharing still it shows the html contents of the aspx page.

    I would request you to let me know what has gone wrong

    Thanking you in advance.

    With regards,
    ram
  • jhaxo
    New Member
    • Dec 2007
    • 57

    #2
    Is IIS Configured? Can you view other asp.net web pages of the same version?

    As a starting point I would make sure asp.net is enabled, it is not by default. You can get to this through the control panel, or through the big icon to 'manage my server'.

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      You do not deply web applications to virtual directories. You deploy them to web applications.
      I might be mistaken on that and all you need is to set some executable permissions, but I am pretty sure you have to change the directory to something other then a virtual directory.
      Open up your IIS config and select the virtual directory you deployed to. When you right click, somewhere in that menu system should be option to convert it over.

      Comment

      • jhaxo
        New Member
        • Dec 2007
        • 57

        #4
        Originally posted by Plater
        You do not deply web applications to virtual directories. You deploy them to web applications.
        I might be mistaken on that and all you need is to set some executable permissions, but I am pretty sure you have to change the directory to something other then a virtual directory.
        Open up your IIS config and select the virtual directory you deployed to. When you right click, somewhere in that menu system should be option to convert it over.
        wow all my apps must be imaginary. better alert my customers.
        dont worry i am not coming back to this site again.

        Comment

        • Curtis Rutland
          Recognized Expert Specialist
          • Apr 2008
          • 3264

          #5
          Originally posted by jhaxo
          dont worry i am not coming back to this site again.
          Mind if I ask why?

          Although I guess you won't see this post if you are "never coming back..."

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            Gotta love that. Haha.
            I'm sorry, obviously since every single one of my web applications work fine and the OPs don't *I* must be the one doing something wrong.
            All well.

            I would like to remind anyone that is reading this that, just because I'm a MOD, doesn't mean I am always right. As has been the case I've been wrong on a number of answers, and then I learn the right answer. It is sort of how this site works. Colelctions of minds working together to hash out solutions.

            Comment

            • cloud255
              Recognized Expert Contributor
              • Jun 2008
              • 427

              #7
              Originally posted by insertAlias
              Mind if I ask why?
              Dido, i dont understand why he is upset, not trying to be funny or anything. But i really dont see what is wrong here... I personally am an idiot when it comes to web apps and IIS , so am i misssing something in this conversation?

              Was a post removed or something?

              :S utter confusion...

              Comment

              • Curtis Rutland
                Recognized Expert Specialist
                • Apr 2008
                • 3264

                #8
                No, I think that he was upset that Plater corrected him, although both were correct. And Plater was speaking to the OP, not this guy, so the whole situation is strange. So far, he's true to his word. His last activity date is the same as the post where he said that he wouldn't come back.

                Comment

                Working...