Server was unable to process request.
Hi i have been experencing problem with webservice. actually i have made aweb service that will pick a random number from the server and display it in the CRM .but when i use the reference teh web service through localhost it works fine . But when i host teh web service over the webserver(internet) and try to use i get teh following error.
Server was unable to process request. --> Access to the path "D:\Webs\uni251\returncallid\xmldata\usercall id.xml" is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: Server was unable to process request. --> Access to the path "D:\Webs\uni251\returncallid\xmldata\usercall id.xml" is denied.
Source Error:
Line 45: <System.Web.Services.Protocols.SoapDocumentMethodA ttribute("http://tempuri.org/returncallid/Service1/ReturnCallId", RequestNamespace:="http://tempuri.org/returncallid/Service1", ResponseNamespace:="http://tempuri.org/returncallid/Service1", Use:=System.Web.Services.Description.SoapBindingUs e.Literal, ParameterStyle:=System.Web.Services.Protocols.Soap ParameterStyle.Wrapped)> _
Line 46: Public Function ReturnCallId(ByVal name As String, ByVal cmpId As String) As String
Line 47: Dim results() As Object = Me.Invoke("ReturnCallId", New Object() {name, cmpId})
Line 48: Return CType(results(0),String)
Line 49: End Function
|