VoicelessFaces
Newcomer
- Joined
- Dec 9, 2003
- Messages
- 2
Hopefully someone here can help me out, as MSDN wasn't a big help and I'm really getting frustrated.
Just started playing with Web services in C#, have VS.NET installed on my box running WinXP Pro with IIS. Locally, everything's great. But since the purpose of a Web service is to have on the Web, I tried to put it on my remote server.
No such luck. Here's a detailed account of what I've tried:
- Created the Microsoft-built HelloWorld Web service in C#.
- Built it, which gave me a .dll
- Tried putting the Service1.asmx on my server and going to it with the browser. Runtime error.
- Tried using the .dll itself. 500 error.
- Tried including the .cs file in the same directory as the .asmx file. Runtime error.
- Copied the entire folder (since it worked fine locally) to the server, tried to execute each file. Runtime error or 500 on each one.
- Tried MSDN's solution of copy project. Runtime error.
- Built an .msi file and a .exe file. Put them on the server. Ran them. They installed to my local machine, not the server.
The most aggravating part is ASP.NET won't tell me what the runtime error is. It says I have to change the customerrors tag in the Web.config file to Off (which I've done, and still get the same message) so I have no way of knowing exactly what's going on.
I know Web Services in C# work on my server because I hard-coded a very basic one in Notepad. It ran without a hitch and all I needed was the .asmx file (since that's all there was).
If anyone could provide any help on me fixing this, I'd be very appreciative. I've spent 2 solid days trying to figure this out, and I'm spent. Even sending a Web service you know works remotely and letting me give it a go would be something.
Just started playing with Web services in C#, have VS.NET installed on my box running WinXP Pro with IIS. Locally, everything's great. But since the purpose of a Web service is to have on the Web, I tried to put it on my remote server.
No such luck. Here's a detailed account of what I've tried:
- Created the Microsoft-built HelloWorld Web service in C#.
- Built it, which gave me a .dll
- Tried putting the Service1.asmx on my server and going to it with the browser. Runtime error.
- Tried using the .dll itself. 500 error.
- Tried including the .cs file in the same directory as the .asmx file. Runtime error.
- Copied the entire folder (since it worked fine locally) to the server, tried to execute each file. Runtime error or 500 on each one.
- Tried MSDN's solution of copy project. Runtime error.
- Built an .msi file and a .exe file. Put them on the server. Ran them. They installed to my local machine, not the server.
The most aggravating part is ASP.NET won't tell me what the runtime error is. It says I have to change the customerrors tag in the Web.config file to Off (which I've done, and still get the same message) so I have no way of knowing exactly what's going on.
I know Web Services in C# work on my server because I hard-coded a very basic one in Notepad. It ran without a hitch and all I needed was the .asmx file (since that's all there was).
If anyone could provide any help on me fixing this, I'd be very appreciative. I've spent 2 solid days trying to figure this out, and I'm spent. Even sending a Web service you know works remotely and letting me give it a go would be something.