RE: permissions to call a webservice



Hello Trapulo,

Nice to see you again. How are you doing?

From your description here, your .net 2.0 program will access a remote
webservice and write some logs. However, you found that it will always fail
when running under a non-administrator account, correct?

As for the .net application, it is hard to directly determine what exact
permission is necessary or on which resource the secruity issue occured.
Would you provide some detailed information on how does it access the
webservice and how does it write the log, is the log windows system log or
your custom log file? Currently, I suggest you try isolate the problem to
see whether the error is caused by the webservice call or the log writing.
Also, is the problem occuring if you do not use schedule task to run your
program(under the same non-admin user)? If you can also get this error
without running through schedule task, you can consider using live debugger
(like visual studio) to attache to the prgram process and get the line at
which the exception get thrown.

Please feel free to let me know if you have any other finding or questions.


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Weird erro while debugging WS in VS2005
    ... Yes ASP.NET 2.0 Webservice only no ASP.NET pages, ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... codeBase, Evidence assemblySecurity, Assembly locationHint, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Ajax, Webmethod, PageMethod (multiple versions)
    ... calling remote AJAX webservice: ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... all specific loging into web Service will be the best case for you. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: exception on Response Envelope, Error in XML-document
    ... the webservice proxy class contains a string member while the SOAP response ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: minFreeThreads error
    ... ** Did you get the error right after you deploy the webservice on the ... application and hosting on IIS6(application pool mode). ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: vs 2005 - web reference issue
    ... webreference against a webservice which is protected by authentication, ... provide credentials, and will prompt credentials input dialog when visit ... the WSDL document into a local xml file on file disk. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.vsnet.ide)