C# and Web Services
-
Hi There, I'm very new to all this web services stuff and would like to learn. I tried downloading the C# web services examples and followed the direction on building and running it. I ran into this problem: When trying to access the *.asmx file from the browser, Internet Explorer prompted me to download the file. After downloading it, I asked IE to open it and all I got was the content of the *.asmx file. Something like the following: <%@ WebService Language="c#" Codebehind="WebService1.cs" Class="MyService.WebService1" %>" Instead of the web page. I managed to compiled the solution just fine, the problem arise when I tried to view the page. Any comment or feedback would be more than appreciated. Thanks in advance.
-
Hi There, I'm very new to all this web services stuff and would like to learn. I tried downloading the C# web services examples and followed the direction on building and running it. I ran into this problem: When trying to access the *.asmx file from the browser, Internet Explorer prompted me to download the file. After downloading it, I asked IE to open it and all I got was the content of the *.asmx file. Something like the following: <%@ WebService Language="c#" Codebehind="WebService1.cs" Class="MyService.WebService1" %>" Instead of the web page. I managed to compiled the solution just fine, the problem arise when I tried to view the page. Any comment or feedback would be more than appreciated. Thanks in advance.
It sounds like the webserver doesn't have ASP.NET installed. James "Java is free - and worth every penny." - Christian Graus
-
Hi There, I'm very new to all this web services stuff and would like to learn. I tried downloading the C# web services examples and followed the direction on building and running it. I ran into this problem: When trying to access the *.asmx file from the browser, Internet Explorer prompted me to download the file. After downloading it, I asked IE to open it and all I got was the content of the *.asmx file. Something like the following: <%@ WebService Language="c#" Codebehind="WebService1.cs" Class="MyService.WebService1" %>" Instead of the web page. I managed to compiled the solution just fine, the problem arise when I tried to view the page. Any comment or feedback would be more than appreciated. Thanks in advance.
-
Hi There, I'm very new to all this web services stuff and would like to learn. I tried downloading the C# web services examples and followed the direction on building and running it. I ran into this problem: When trying to access the *.asmx file from the browser, Internet Explorer prompted me to download the file. After downloading it, I asked IE to open it and all I got was the content of the *.asmx file. Something like the following: <%@ WebService Language="c#" Codebehind="WebService1.cs" Class="MyService.WebService1" %>" Instead of the web page. I managed to compiled the solution just fine, the problem arise when I tried to view the page. Any comment or feedback would be more than appreciated. Thanks in advance.
Thank you all for your input. It turned out that I did have ASP.NET install or so I thought. I did windows update before and already downloaded and installed the .NET Framework. I then install IIS which does not pick up the .NET Framework. Thanks to you guys, I just reinstall ASP.NET and IIS finally picked it up and it's working great now. Thanks