Asp.Net News
Free Tech Magazines
Asp.Net Web Hosting
Suggest Us
Link to Us
Feeds Subscription
Questions & Answers
Tips & Tricks
 how to publish web service and add service reference.
Posted by shrinivas on  2/1/2010 11:42:13 PM Category: Asp.Net 2.0
Add to my favorites
Email to friend
Hello all ,
hope you all doing well ,

I have created a web site and added web service to it and to reference it I have added a service reference.
It works fine in localhost, but when I uploaded this to remote server (Production server) it gives me error cross domain call are not allowed.

If any one know this , then please let me know

Thanks & regards,
Mr. Shrinivas Mada

Post Your Reply Post New Question

 Viewer's Reply
Use Visual Studio Web Deployment Project
Answered By Moderator1 on 2/4/2010 9:48:43 PM

You can use visual studio web deployment project 2005 or 2008 to deploy the web service in production server. First you deploy your web service in the production server, then you use it in your DEV environment by "Add web reference", then deploy your web application to production.

Also please post the complete error you are getting while accessing the web service, under this post.
Post Your Reply If you still have problem, post it again under this reply for better response.

Sponsored by
Simply SQL - Free 111 Page Preview!
Many .NET teams are underperforming, is yours?
When Good HTML Goes Bad: How You Can Protect Your Web Applications