把WEBSERVICE部署到服务器上,不能正常访问,以为是程序的问题,后来新建一个最简单的WEBSERVICE,同样错误,在IIS管理器中去浏览,提示Server Error in '/testWebService1' Application.
--------------------------------------------------------------------------------Access denied to 'C:\Inetpub\wwwroot\testWebService1\'. Failed to start monitoring file changes.
Description: An unhandled exception occurred during
在本机上均正常
--------------------------------------------------------------------------------Access denied to 'C:\Inetpub\wwwroot\testWebService1\'. Failed to start monitoring file changes.
Description: An unhandled exception occurred during
在本机上均正常
又出现新问题,服务器是在公网上,客户端访问时,运行到下面就出问题_dataSyncService.Url = "http://" + _serviceAddress + "/SyncService/Service1.asmx";
_dataSyncService.ConnInit();
提示:与服务器初始化失败!System.Net.WebException:请求因HTTP状态401失败:Unauthorized是需要在服务器端新建客户端登陆的用户么,我试过了,好像也不行