ASP.NET 2.0 aspx Page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?ZGVlcGFr?=

    ASP.NET 2.0 aspx Page

    Hi All,

    I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
    When I am trying to debug the code on the server (my server name is
    esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
    instead of http://esealvm087/attachmenthandler.

    I don’t quite understand how this is a problem, since localhost is the same
    as 087, but anyway....

    Kindly let me know asap if i am wrong somewhere...

    Thanks,
    Deepak
    +919886735837
  • Michael Nemtsev [MVP]

    #2
    Re: ASP.NET 2.0 aspx Page

    Hello deepak,

    it's because you are using File System site (development server) - not IIS

    But why this bother your?!
    In Project options you can change the type of server and switch to IIS

    ---
    WBR,
    Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    dHi All,
    d>
    dI am working on asp.net 2. 0 Application using MS Visual Studio 2005.
    dWhen I am trying to debug the code on the server (my server name is
    desealvm087), it's redirecting to
    dhttp://localhost:2908/attachmenthandler instead of
    dhttp://esealvm087/attachmenthandler.
    d>
    dI don’t quite understand how this is a problem, since localhost is
    dthe same as 087, but anyway....
    d>
    dKindly let me know asap if i am wrong somewhere...
    d>
    dThanks,
    dDeepak
    d+919886735837


    Comment

    • Eliyahu Goldin

      #3
      Re: ASP.NET 2.0 aspx Page

      http://localhost:2908/attachmenthandler is the development server that comes
      out of box with VS. The other option is to run on your local IIS. You can
      choose between the two in the project properties.

      BTW, running on the development server is rarely a problem. In some cases
      you have to use IIS, but not always at all.

      --
      Eliyahu Goldin,
      Software Developer
      Microsoft MVP [ASP.NET]




      "deepak" <deepak@discuss ions.microsoft. comwrote in message
      news:A14BF36A-5058-40A7-A737-FB2B0A324379@mi crosoft.com...
      Hi All,
      >
      I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
      When I am trying to debug the code on the server (my server name is
      esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
      instead of http://esealvm087/attachmenthandler.
      >
      I don't quite understand how this is a problem, since localhost is the
      same
      as 087, but anyway....
      >
      Kindly let me know asap if i am wrong somewhere...
      >
      Thanks,
      Deepak
      +919886735837

      Comment

      • =?Utf-8?B?ZGVlcGFr?=

        #4
        Re: ASP.NET 2.0 aspx Page

        Hi Micheal,

        Mya you terll me how to change it from Development server to IIS as you
        mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step by
        step.

        Thanks,
        Deepak

        "Eliyahu Goldin" wrote:
        http://localhost:2908/attachmenthandler is the development server that comes
        out of box with VS. The other option is to run on your local IIS. You can
        choose between the two in the project properties.
        >
        BTW, running on the development server is rarely a problem. In some cases
        you have to use IIS, but not always at all.
        >
        --
        Eliyahu Goldin,
        Software Developer
        Microsoft MVP [ASP.NET]


        >
        >
        "deepak" <deepak@discuss ions.microsoft. comwrote in message
        news:A14BF36A-5058-40A7-A737-FB2B0A324379@mi crosoft.com...
        Hi All,

        I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
        When I am trying to debug the code on the server (my server name is
        esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
        instead of http://esealvm087/attachmenthandler.

        I don't quite understand how this is a problem, since localhost is the
        same
        as 087, but anyway....

        Kindly let me know asap if i am wrong somewhere...

        Thanks,
        Deepak
        +919886735837
        >
        >
        >

        Comment

        • =?Utf-8?B?ZGVlcGFr?=

          #5
          Re: ASP.NET 2.0 aspx Page

          Hi Michael/Eliyahu,

          I right clicked on the project in solctuon explorer and set prot attribute
          from 2908 to 8080 and then again tried to debug it but now after pressign F5,
          it is showing "Unable to launch Visual Studio's Localhost Web Server, port
          '8080' is use".
          Is there any way to know where this port is used and how to get it free if
          it is really used.Basically, i want to run the application using


          or


          instead of



          Kinldy help me ....i m really stuck here currently

          Thanks a lot in advance,
          Deepak
          +919886735837
          "deepak" wrote:
          Hi Micheal,
          >
          Mya you terll me how to change it from Development server to IIS as you
          mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step by
          step.
          >
          Thanks,
          Deepak
          >
          "Eliyahu Goldin" wrote:
          >
          http://localhost:2908/attachmenthandler is the development server that comes
          out of box with VS. The other option is to run on your local IIS. You can
          choose between the two in the project properties.

          BTW, running on the development server is rarely a problem. In some cases
          you have to use IIS, but not always at all.

          --
          Eliyahu Goldin,
          Software Developer
          Microsoft MVP [ASP.NET]




          "deepak" <deepak@discuss ions.microsoft. comwrote in message
          news:A14BF36A-5058-40A7-A737-FB2B0A324379@mi crosoft.com...
          Hi All,
          >
          I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
          When I am trying to debug the code on the server (my server name is
          esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
          instead of http://esealvm087/attachmenthandler.
          >
          I don't quite understand how this is a problem, since localhost is the
          same
          as 087, but anyway....
          >
          Kindly let me know asap if i am wrong somewhere...
          >
          Thanks,
          Deepak
          +919886735837

          Comment

          • Eliyahu Goldin

            #6
            Re: ASP.NET 2.0 aspx Page

            Check Use IIS Web Serve. Do you have IIS running?

            --
            Eliyahu Goldin,
            Software Developer
            Microsoft MVP [ASP.NET]




            "deepak" <deepak@discuss ions.microsoft. comwrote in message
            news:71FA7100-301B-4B97-9ACA-B39912444178@mi crosoft.com...
            Hi Michael/Eliyahu,
            >
            I right clicked on the project in solctuon explorer and set prot attribute
            from 2908 to 8080 and then again tried to debug it but now after pressign
            F5,
            it is showing "Unable to launch Visual Studio's Localhost Web Server, port
            '8080' is use".
            Is there any way to know where this port is used and how to get it free if
            it is really used.Basically, i want to run the application using
            >

            or

            >
            instead of
            >

            >
            Kinldy help me ....i m really stuck here currently
            >
            Thanks a lot in advance,
            Deepak
            +919886735837
            "deepak" wrote:
            >
            >Hi Micheal,
            >>
            >Mya you terll me how to change it from Development server to IIS as you
            >mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step
            >by
            >step.
            >>
            >Thanks,
            > Deepak
            >>
            >"Eliyahu Goldin" wrote:
            >>
            http://localhost:2908/attachmenthandler is the development server that
            comes
            out of box with VS. The other option is to run on your local IIS. You
            can
            choose between the two in the project properties.
            >
            BTW, running on the development server is rarely a problem. In some
            cases
            you have to use IIS, but not always at all.
            >
            --
            Eliyahu Goldin,
            Software Developer
            Microsoft MVP [ASP.NET]


            >
            >
            "deepak" <deepak@discuss ions.microsoft. comwrote in message
            news:A14BF36A-5058-40A7-A737-FB2B0A324379@mi crosoft.com...
            Hi All,
            >
            I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
            When I am trying to debug the code on the server (my server name is
            esealvm087), it's redirecting to

            instead of http://esealvm087/attachmenthandler.
            >
            I don't quite understand how this is a problem, since localhost is
            the
            same
            as 087, but anyway....
            >
            Kindly let me know asap if i am wrong somewhere...
            >
            Thanks,
            Deepak
            +919886735837
            >
            >
            >

            Comment

            • =?Utf-8?B?ZGVlcGFr?=

              #7
              Re: ASP.NET 2.0 aspx Page

              where is this check.... Yes, IIS is running....but where is that
              check...?Also i right click on project prperties and set default pott=8080
              and now i got that can not debug the application as this port is busy ...
              Kinldy let me know step by stpe if possible....

              Thanks,
              Deepak

              "Eliyahu Goldin" wrote:
              Check Use IIS Web Serve. Do you have IIS running?
              >
              --
              Eliyahu Goldin,
              Software Developer
              Microsoft MVP [ASP.NET]


              >
              >
              "deepak" <deepak@discuss ions.microsoft. comwrote in message
              news:71FA7100-301B-4B97-9ACA-B39912444178@mi crosoft.com...
              Hi Michael/Eliyahu,

              I right clicked on the project in solctuon explorer and set prot attribute
              from 2908 to 8080 and then again tried to debug it but now after pressign
              F5,
              it is showing "Unable to launch Visual Studio's Localhost Web Server, port
              '8080' is use".
              Is there any way to know where this port is used and how to get it free if
              it is really used.Basically, i want to run the application using


              or


              instead of



              Kinldy help me ....i m really stuck here currently

              Thanks a lot in advance,
              Deepak
              +919886735837
              "deepak" wrote:
              Hi Micheal,
              >
              Mya you terll me how to change it from Development server to IIS as you
              mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step
              by
              step.
              >
              Thanks,
              Deepak
              >
              "Eliyahu Goldin" wrote:
              >
              http://localhost:2908/attachmenthandler is the development server that
              comes
              out of box with VS. The other option is to run on your local IIS. You
              can
              choose between the two in the project properties.

              BTW, running on the development server is rarely a problem. In some
              cases
              you have to use IIS, but not always at all.

              --
              Eliyahu Goldin,
              Software Developer
              Microsoft MVP [ASP.NET]




              "deepak" <deepak@discuss ions.microsoft. comwrote in message
              news:A14BF36A-5058-40A7-A737-FB2B0A324379@mi crosoft.com...
              Hi All,
              >
              I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
              When I am trying to debug the code on the server (my server name is
              esealvm087), it's redirecting to

              instead of http://esealvm087/attachmenthandler.
              >
              I don't quite understand how this is a problem, since localhost is
              the
              same
              as 087, but anyway....
              >
              Kindly let me know asap if i am wrong somewhere...
              >
              Thanks,
              Deepak
              +919886735837

              >
              >
              >

              Comment

              Working...