VoicelessFaces
New member
- Joined
- Dec 9, 2003
- Messages
- 2
Hopefully someone here can help me out, as MSDN wasnt a big help and Im really getting frustrated.
Just started playing with Web services in C#, have VS.NET installed on my box running WinXP Pro with IIS. Locally, everythings 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. Heres a detailed account of what Ive 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 MSDNs 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 wont tell me what the runtime error is. It says I have to change the customerrors tag in the Web.config file to Off (which Ive done, and still get the same message) so I have no way of knowing exactly whats 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 thats all there was).
If anyone could provide any help on me fixing this, Id be very appreciative. Ive spent 2 solid days trying to figure this out, and Im 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, everythings 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. Heres a detailed account of what Ive 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 MSDNs 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 wont tell me what the runtime error is. It says I have to change the customerrors tag in the Web.config file to Off (which Ive done, and still get the same message) so I have no way of knowing exactly whats 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 thats all there was).
If anyone could provide any help on me fixing this, Id be very appreciative. Ive spent 2 solid days trying to figure this out, and Im spent. Even sending a Web service you know works remotely and letting me give it a go would be something.