Search:
Namespaces
Discussions
.NET v1.1
Feedback
Web services identity
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngwebservices' list
.
Remas Wojciechowski
Hi!
When I try instantiating a COM object from within a web service, it errors
out crying "access denied". It wouldn't surprise me as much if the same code
didn't work with plain ASPX either. But it does (to that end I had to grant
the ASPNET user a set of rights)!
My question is--is there something different about the process/thread/???
identity of web services that makes the code fail? How do I find out what
identity the process runs under?
Thanks
Remas
http://www.aspalliance.com/remas
Reply to this message...
Brad Kingsley
> How do I find out what identity the process runs under?
This should tell you....
WindowsIdentity
.GetCurrent().Name
~Brad Kingsley
Microsoft MVP - ASP
Windows 2000 MCSE
http://www.orcsweb.com/
Powerful Web Hosting Solutions
#1 in Service and Support
----- Original Message -----
From: "Remas Wojciechowski" <
Click here to reveal e-mail address
>
To: "aspngwebservices" <
Click here to reveal e-mail address
>
Sent: Monday, July 29, 2002 8:26 AM
Subject: [aspngwebservices] Web services identity
[Original message clipped]
---
[This E-mail scanned for viruses by Declude Virus]
Reply to this message...
System.Security.Principal.WindowsIdentity
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com