Web service doesn't run

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ioannis Vranos

    #1

    Web service doesn't run

    When i open the .asmx file with IE the IIS server doesn't run the web
    service but instead i am prompted by the web browser to open the .asmx file
    (that is it is getting downloaded). The same happens with the default Hello
    World web service. I am using VS 2003 and Windows XP SP1 (with its IIS
    server).


    Any ideas?






    Regards,

    Ioannis Vranos

  • Sahil Malik

    #2
    Re: Web service doesn't run

    Maybe the MIME type for asmx on your server is messed up.

    To fix it, right click on IIS Admin MMC->Properties->HTTP headers -> File
    Types.

    It's definitely a computer configuration issue though.

    - Sahil Malik
    Independent Consultant
    You can reach me thru my blog at -




    "Ioannis Vranos" <ivr@guesswh.at .grad.com> wrote in message
    news:eZnfgIsTEH A.3872@TK2MSFTN GP10.phx.gbl...[color=blue]
    > When i open the .asmx file with IE the IIS server doesn't run the web
    > service but instead i am prompted by the web browser to open the .asmx[/color]
    file[color=blue]
    > (that is it is getting downloaded). The same happens with the default[/color]
    Hello[color=blue]
    > World web service. I am using VS 2003 and Windows XP SP1 (with its IIS
    > server).
    >
    >
    > Any ideas?
    >
    >
    >
    >
    >
    >
    > Regards,
    >
    > Ioannis Vranos
    >[/color]


    Comment

    • Ioannis Vranos

      #3
      Re: Web service doesn't run

      "Sahil Malik" <contactmethrum yblog@nospam.co m> wrote in message
      news:%23LTxqJvT EHA.3752@TK2MSF TNGP12.phx.gbl. ..[color=blue]
      > Maybe the MIME type for asmx on your server is messed up.
      >
      > To fix it, right click on IIS Admin MMC->Properties->HTTP headers -> File
      > Types.
      >
      > It's definitely a computer configuration issue though.[/color]


      Where is that? The closest thing i spotted in Administrative tools is
      "Internet Information Services" but i did not find any Properties there when
      i made right-clicks.






      Regards,

      Ioannis Vranos

      Comment

      • Ioannis Vranos

        #4
        Re: Web service doesn't run

        "Ioannis Vranos" <ivr@guesswh.at .grad.com> wrote in message
        news:OsbvQfzTEH A.2580@TK2MSFTN GP12.phx.gbl...[color=blue]
        > "Sahil Malik" <contactmethrum yblog@nospam.co m> wrote in message
        > news:%23LTxqJvT EHA.3752@TK2MSF TNGP12.phx.gbl. ..[color=green]
        > > Maybe the MIME type for asmx on your server is messed up.
        > >
        > > To fix it, right click on IIS Admin MMC->Properties->HTTP headers ->[/color][/color]
        File[color=blue][color=green]
        > > Types.
        > >
        > > It's definitely a computer configuration issue though.[/color]
        >
        >
        > Where is that? The closest thing i spotted in Administrative tools is
        > "Internet Information Services" but i did not find any Properties there[/color]
        when[color=blue]
        > i made right-clicks.[/color]


        Ok i found it and the "File Types" in the "MIME Map" section is empty. What
        is the appropriate configuration for .asmx?






        Regards,

        Ioannis Vranos

        Comment

        • Ioannis Vranos

          #5
          Re: Web service doesn't run

          "Ioannis Vranos" <ivr@guesswh.at .grad.com> wrote in message
          news:uSXZlhzTEH A.808@tk2msftng p13.phx.gbl...[color=blue]
          >
          > Ok i found it and the "File Types" in the "MIME Map" section is empty.[/color]
          What[color=blue]
          > is the appropriate configuration for .asmx?[/color]


          After that I uninstalled and reinstalled IIS and .net framework 1.1 and this
          time I was getting an HTTP 500 error even for the default page. Then I
          uninstalled IIS. Now everything is fixed. :-)






          Regards,

          Ioannis Vranos

          Comment

          • Sahil Malik

            #6
            Re: Web service doesn't run

            Ok good - sorry I didn't get a chance to visit the newsgroup sooner. But I'm
            glad it's fixed.

            - Sahil Malik
            Independent Consultant
            You can reach me thru my blog at -




            "Ioannis Vranos" <ivr@guesswh.at .grad.com> wrote in message
            news:%23G$$gK1T EHA.3988@tk2msf tngp13.phx.gbl. ..[color=blue]
            > "Ioannis Vranos" <ivr@guesswh.at .grad.com> wrote in message
            > news:uSXZlhzTEH A.808@tk2msftng p13.phx.gbl...[color=green]
            > >
            > > Ok i found it and the "File Types" in the "MIME Map" section is empty.[/color]
            > What[color=green]
            > > is the appropriate configuration for .asmx?[/color]
            >
            >
            > After that I uninstalled and reinstalled IIS and .net framework 1.1 and[/color]
            this[color=blue]
            > time I was getting an HTTP 500 error even for the default page. Then I
            > uninstalled IIS. Now everything is fixed. :-)
            >
            >
            >
            >
            >
            >
            > Regards,
            >
            > Ioannis Vranos
            >[/color]


            Comment

            • Ioannis Vranos

              #7
              Re: Web service doesn't run

              I mean I have completely removed IIS, that was the fix. :-)






              Regards,

              Ioannis Vranos



              "Sahil Malik" <contactmethrum yblog@nospam.co m> wrote in message
              news:eoJy9D7TEH A.3660@tk2msftn gp13.phx.gbl...[color=blue]
              >
              > Ok good - sorry I didn't get a chance to visit the newsgroup sooner. But[/color]
              I'm[color=blue]
              > glad it's fixed.
              >
              > - Sahil Malik
              > Independent Consultant
              > You can reach me thru my blog at -
              > http://www.dotnetjunkies.com/weblog/sahilmalik/
              >
              >
              >
              > "Ioannis Vranos" <ivr@guesswh.at .grad.com> wrote in message
              > news:%23G$$gK1T EHA.3988@tk2msf tngp13.phx.gbl. ..[color=green]
              > > "Ioannis Vranos" <ivr@guesswh.at .grad.com> wrote in message
              > > news:uSXZlhzTEH A.808@tk2msftng p13.phx.gbl...[color=darkred]
              > > >
              > > > Ok i found it and the "File Types" in the "MIME Map" section is empty.[/color]
              > > What[color=darkred]
              > > > is the appropriate configuration for .asmx?[/color]
              > >
              > >
              > > After that I uninstalled and reinstalled IIS and .net framework 1.1 and[/color]
              > this[color=green]
              > > time I was getting an HTTP 500 error even for the default page. Then I
              > > uninstalled IIS. Now everything is fixed. :-)
              > >
              > >
              > >
              > >
              > >
              > >
              > > Regards,
              > >
              > > Ioannis Vranos
              > >[/color]
              >
              >[/color]

              Comment

              • Sriram Krishnan

                #8
                Re: Web service doesn't run

                You actually need to type in aspnet_regiis -i. Make sure you're there in
                your framework installation folder(or it should be there in your path). This
                is typically C:\Windows\Micr osoft.NET\Frame work\v1.xxxx\

                --
                Sriram Krishnan
                Microsoft Student Ambassador
                http://www.,dotnetjunkies.com/weblog/sriram
                "Brian Korzeniowski" <BrianKorzeniow ski@discussions .microsoft.com> wrote in
                message news:5EB2E0E3-0E42-4B72-8922-B2DA543006BA@mi crosoft.com...[color=blue]
                > Hi,
                > Sounds to me like an issue of your IIS mappings are messed up. IIS[/color]
                appears not to recognize the file extension .asmx. To fix this:[color=blue]
                > 1. Click the Start button
                > 2. Click Run
                > 3. Type the following command: cmd
                > 4. Press Enter
                > 5. Use the following command: aspnet_regiis.e xe. If you are unfamiliar[/color]
                with this, search on it using google. You will find a page directing you to
                Microsoft Product Support Services.[color=blue]
                > Thanks.
                > B.
                >
                > "Ioannis Vranos" wrote:
                >[color=green]
                > > When i open the .asmx file with IE the IIS server doesn't run the web
                > > service but instead i am prompted by the web browser to open the .asmx[/color][/color]
                file[color=blue][color=green]
                > > (that is it is getting downloaded). The same happens with the default[/color][/color]
                Hello[color=blue][color=green]
                > > World web service. I am using VS 2003 and Windows XP SP1 (with its IIS
                > > server).
                > >
                > >
                > > Any ideas?
                > >
                > >
                > >
                > >
                > >
                > >
                > > Regards,
                > >
                > > Ioannis Vranos
                > >
                > >[/color][/color]


                Comment

                Working...