views:

39

answers:

2

I create a web service (.svc). the web services are running successfully. when i connect through local computer, it's run successfully . but when i deploy web serivce on web server it's can't be access and show exception

"Unable to automatically step into the server. Connecting to the server machine 'XXX' failed. Logon failure: unknown user name or bad password. See help for more information."

service running in browser successfully, and can also be access to client from web server in broswer.

thanks.

A: 

This looks like a permissions related issue.

When you run locally, chances are that you have sufficient privileges to access the service.

The picture changes on the server. Check under which account the service is running then make sure you have the proper permissions or configure your service to accept calls from you or from unauthenticated users.

John
A: 

It seems you are trying to debug the webservice on the server. Is that what you intended? Then make sure your account has rights to do so on the server.

Debugging aspnetwebservice on a remoteserver

If you want to make sure the webservice runs you also can open the webservice using a browser.

rdkleine
First of all thanks of you interest.my web services are runing in browser successfully. butt when i connect through programatically (c#.net windows base app.) it show exception.
Saifal Maluk