Essential
Aug 13th, 2009, 11:41 PM
Hi all,
I've written a web service for registering a winform app I created and I'm not sure what I need to do to get it running on my web host. The web service works perfect on my local machine, using localhost, I've got a web host to put the web service on, but it's not working.
What I did was 'Publish' the web service, using the option to only include the files needed to run the web service. I then uploaded these release files onto my web host server. At this point I try to add the web service and reference the .asmx file and it's not working and telling me to enable custom error's to view remote errors.
I'm in the process of adding the custom errors code and what I'm looking for is someone with some experience to advise me if I'm even referencing the right file (the .dll is also on the web server).
The other option is do I need to register my web service with IIS?
Thanks for any help you can offer.
edit: customerrors shows the error on: <authentication mode="Windows"/>, with this message:
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
I've written a web service for registering a winform app I created and I'm not sure what I need to do to get it running on my web host. The web service works perfect on my local machine, using localhost, I've got a web host to put the web service on, but it's not working.
What I did was 'Publish' the web service, using the option to only include the files needed to run the web service. I then uploaded these release files onto my web host server. At this point I try to add the web service and reference the .asmx file and it's not working and telling me to enable custom error's to view remote errors.
I'm in the process of adding the custom errors code and what I'm looking for is someone with some experience to advise me if I'm even referencing the right file (the .dll is also on the web server).
The other option is do I need to register my web service with IIS?
Thanks for any help you can offer.
edit: customerrors shows the error on: <authentication mode="Windows"/>, with this message:
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.