![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I have a .NET web service which is consumed by both .NET code and VB6 code. There is no issue to concume it from .NET, but error out in VB6. I use SOAP 1.0 in vb6, here is sample code: Set oClient = CreateObject("MSSOAP.SoapClient") oClient.MSSoapInit "http://servername/virtual directory/MyService.asmx?wsdl" At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of the WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Access is denied. HRESULT=0X80070005)". Could any one help me out? Thanks. |
#3
| |||
| |||
|
|
Use filemon.exe utility from Microsoft (formerly SysInternals) to see where the access is denied. Tiago Halm "william" <william (AT) discussions (DOT) microsoft.com> wrote in message news:97CB90E5-9F7B-4931-8B74-80C5174FFE05 (AT) microsoft (DOT) com... Hi all, I have a .NET web service which is consumed by both .NET code and VB6 code. There is no issue to concume it from .NET, but error out in VB6. I use SOAP 1.0 in vb6, here is sample code: Set oClient = CreateObject("MSSOAP.SoapClient") oClient.MSSoapInit "http://servername/virtual directory/MyService.asmx?wsdl" At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of the WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Access is denied. HRESULT=0X80070005)". Could any one help me out? Thanks. |
#4
| |||
| |||
|
|
Hi Tiago, As I mentioned, it failed at soap initialization. By the way, IIS security setting is Integrated Windows Authentication mode, and the anonymous access is turned off. If I turn on anonymous, it's ok. So looks like somehow the current user's credential is not carried over. I'm guessing, don't really know. Thanks. "Tiago Halm" wrote: Use filemon.exe utility from Microsoft (formerly SysInternals) to see where the access is denied. Tiago Halm "william" <william (AT) discussions (DOT) microsoft.com> wrote in message news:97CB90E5-9F7B-4931-8B74-80C5174FFE05 (AT) microsoft (DOT) com... Hi all, I have a .NET web service which is consumed by both .NET code and VB6 code. There is no issue to concume it from .NET, but error out in VB6. I use SOAP 1.0 in vb6, here is sample code: Set oClient = CreateObject("MSSOAP.SoapClient") oClient.MSSoapInit "http://servername/virtual directory/MyService.asmx?wsdl" At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of the WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Access is denied. HRESULT=0X80070005)". Could any one help me out? Thanks. |
#5
| |||
| |||
|
|
The anonymous account has access, the authenticated account does not it appears. Are you impersonating? If you are, the Authenticated account does not have access, if not its the AppPool account that does not have access. Anyway I'm just guessing. Where is the VB6 code hosted? Executable or COM object? How is the WebService done (WCF, ASMX)? Tiago Halm "william" <william (AT) discussions (DOT) microsoft.com> wrote in message news:A0D50BB6-8975-4350-921F-77635FB605F0 (AT) microsoft (DOT) com... Hi Tiago, As I mentioned, it failed at soap initialization. By the way, IIS security setting is Integrated Windows Authentication mode, and the anonymous access is turned off. If I turn on anonymous, it's ok. So looks like somehow the current user's credential is not carried over. I'm guessing, don't really know. Thanks. "Tiago Halm" wrote: Use filemon.exe utility from Microsoft (formerly SysInternals) to see where the access is denied. Tiago Halm "william" <william (AT) discussions (DOT) microsoft.com> wrote in message news:97CB90E5-9F7B-4931-8B74-80C5174FFE05 (AT) microsoft (DOT) com... Hi all, I have a .NET web service which is consumed by both .NET code and VB6 code. There is no issue to concume it from .NET, but error out in VB6. I use SOAP 1.0 in vb6, here is sample code: Set oClient = CreateObject("MSSOAP.SoapClient") oClient.MSSoapInit "http://servername/virtual directory/MyService.asmx?wsdl" At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of the WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Access is denied. HRESULT=0X80070005)". Could any one help me out? Thanks. |
#6
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |