472,119 Members | 1,607 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

Help on Web Services

I created a test database currently available online. The database is supposed to be accessed via a web service i created. The webservice is working fine in my local machine. It can access the contents of the database (via webmethods) in my local machine and the database published online. Also, our C# desktop apps can access the database both the local and the online database via that webservice consumption.

My problem is this, when i deployed the webservice at http://stinger-1.at.vwdhosting.net/cmsWebServices/cmsWebServices.asmx, it's yielding a configuration error. It has something to do with web.config authentication mode. Maybe, somebody out there could help me on this.

Note that the website http://www.vwdhosting.net is a test site for web and database provided by microsoft (limited to 1 month).
Jun 5 '07 #1
1 1072
km001
1
Hi there,

I also got into this recently. I solved it by deploying the web service in a directory that is not a subfolder of the main site's folder. For example if web site was in c:\website, deploy the service in c:\service, and then create it a virtual directory under web site. Also, you will have to add a Location tag in your web site's web.config to allow all users (allow="*") in service directory so that web sites authentication does not apply to the service. (hope this helps)
Jun 6 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Saket Mundra | last post: by
reply views Thread by jennifer.perkins | last post: by
8 posts views Thread by chudson007 | last post: by
4 posts views Thread by Chris | last post: by
2 posts views Thread by -D- | last post: by
5 posts views Thread by dm3281 | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.