Accessing WSDL from LocalSystem account
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Accessing WSDL from LocalSystem account




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Accessing WSDL from LocalSystem account  
David Ehrlich


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-04 07:35 AM

I have a machine running Windows 2003 Server and the latest SharePoint
Server software.  I've written a C# WebService that runs on this machine and
exposes some additional functionality I need to automate work with
SharePoint from a remote machine.

The Web Service is accessible and works correctly when writing and debugging
the application on the remote machine.  However, now that the service ready
for production, I'm running into an issue.  I need to run the application as
a Windows Service on a Windows 2000 machine.  This means the application
will run as the LocalSystem account.  As soon as I attempt to access the Web
Service, I receive an error such as the following:

Unable to load WSDL File/Location:
http://ServerName/_vti_bin/MyWebService.asmx?wsdl.  Error [Unauthorized
(401) - 'http://ServerName/_vti_bin/MyWebService.asmx?wsdl']

When I run as myself (an authenticated user in the same domain as the
SharePoint server), it works fine.
When I log in to a local account on my machine, I receive the same error as
indicated above.
When logged in to that same local account, but I execute "LogonUser" and
"ImpersonateLoggedOnUser" in my application, it works.
When I use that same LogonUser/ImpersonateLoggedOnUser logic (running the
application as a Windows Service), it fails with the error above.

I've tried various Directory Security settings within IIS (on _vti_bin) with
no clues or improvements.  I'm targeting "Integrated Windows authentication"
(no anonymous, basic, digest, etc) due to project specifications.

Any thoughts appreciated.

--David Ehrlich







[ Post a follow-up to this message ]



    Re: Accessing WSDL from LocalSystem account  
David Ehrlich


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-04 10:35 AM

For what it's worth, I'm trying to use Delphi 7's SOAP components on the
client side to access this web service.

"David Ehrlich" <djehrlich@hotmail.com> wrote in message
news:uP7LDX89DHA.2316@TK2MSFTNGP11.phx.gbl...
> I have a machine running Windows 2003 Server and the latest SharePoint
> Server software.  I've written a C# WebService that runs on this machine
and
> exposes some additional functionality I need to automate work with
> SharePoint from a remote machine.
>
> The Web Service is accessible and works correctly when writing and
debugging
> the application on the remote machine.  However, now that the service
ready
> for production, I'm running into an issue.  I need to run the application
as
> a Windows Service on a Windows 2000 machine.  This means the application
> will run as the LocalSystem account.  As soon as I attempt to access the
Web
> Service, I receive an error such as the following:
>
> Unable to load WSDL File/Location:
> http://ServerName/_vti_bin/MyWebService.asmx?wsdl.  Error [Unauthorized
> (401) - 'http://ServerName/_vti_bin/MyWebService.asmx?wsdl']
>
> When I run as myself (an authenticated user in the same domain as the
> SharePoint server), it works fine.
> When I log in to a local account on my machine, I receive the same error
as
> indicated above.
> When logged in to that same local account, but I execute "LogonUser" and
> "ImpersonateLoggedOnUser" in my application, it works.
> When I use that same LogonUser/ImpersonateLoggedOnUser logic (running the
> application as a Windows Service), it fails with the error above.
>
> I've tried various Directory Security settings within IIS (on _vti_bin)
with
> no clues or improvements.  I'm targeting "Integrated Windows
authentication"
> (no anonymous, basic, digest, etc) due to project specifications.
>
> Any thoughts appreciated.
>
> --David Ehrlich
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register