PC Review


Reply
Thread Tools Rate Thread

COM+ Access Denied error.

 
 
Alex Ayzin
Guest
Posts: n/a
 
      17th Aug 2005
Hi,

I have 2 similar apps, that utilize COM+ component services. Application
server that is running COM+ is Windows 2000 with SP3. Users were running
applications on the machines with Windows 2000 SP3 as well. We're trying to
get users to switch to XP with SP2 installed. One of the applications runs
fine, but another one gives me problem:
----------------------------------------------------------------------------------
An unhandled exception of type 'System.UnauthorizedAccessException' occurred
in mscorlib.dll
Additional information: Access is denied.

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode)
at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType,
Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
at
System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type
serverType)
at
System.Runtime.Remoting.Activation.ActivationServices.CreateInstanceWithLinkDemand(ProxyAttribute
pa, Type serverType)
at
System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type
serverType, Object[] props)
at myApp........blah.blah
----------------------------------------------------------------------------------

Now, nothing was changed, I installed the same proxies that were installed
on the previous machines. I tried to create a new proxy, but that didn't
help as well. Please advise. No authorization was changed, I even tried to
add an account, that COM+ is running under to Admin group, but that didn't
help as well. Is there anything with XP SP2 that I need to be aware of
pertaining to COM+?? How come on of the apps is running fine and other is
failing? Thanks a lot in advance, any help is appreciated.
--Alex


 
Reply With Quote
 
 
 
 
Alex Ayzin
Guest
Posts: n/a
 
      17th Aug 2005
I'm sorry, I forgot to mention that both apps were developed on.Net
Framework 1.0/C#.
Thanks,
--Alex

"Alex Ayzin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have 2 similar apps, that utilize COM+ component services. Application
> server that is running COM+ is Windows 2000 with SP3. Users were running
> applications on the machines with Windows 2000 SP3 as well. We're trying
> to get users to switch to XP with SP2 installed. One of the applications
> runs fine, but another one gives me problem:
> ----------------------------------------------------------------------------------
> An unhandled exception of type 'System.UnauthorizedAccessException'
> occurred in mscorlib.dll
> Additional information: Access is denied.
>
> at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
> errorCode, IntPtr errorInfo)
> at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
> errorCode)
> at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType,
> Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri)
> at
> System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type
> serverType)
> at
> System.Runtime.Remoting.Activation.ActivationServices.CreateInstanceWithLinkDemand(ProxyAttribute
> pa, Type serverType)
> at
> System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type
> serverType, Object[] props)
> at myApp........blah.blah
> ----------------------------------------------------------------------------------
>
> Now, nothing was changed, I installed the same proxies that were installed
> on the previous machines. I tried to create a new proxy, but that didn't
> help as well. Please advise. No authorization was changed, I even tried to
> add an account, that COM+ is running under to Admin group, but that didn't
> help as well. Is there anything with XP SP2 that I need to be aware of
> pertaining to COM+?? How come on of the apps is running fine and other is
> failing? Thanks a lot in advance, any help is appreciated.
> --Alex
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 5-Access denied to Remote Access Service Manager coodi Windows XP Basics 4 8th Nov 2005 03:04 PM
Error 403 Forbidden - Access Denied by Access Control List Harroguk Windows XP Help 4 11th Aug 2005 02:22 PM
"Access Denied" or "Permission Denied" Scripting Error Messages If Automatic Configuration Customizes Zone Settings =?Utf-8?B?VkFOSUxMQQ==?= Windows XP Internet Explorer 0 3rd Mar 2004 11:11 AM
"Access Denied" or "Permission Denied" Scripting Error Messages If Automatic Configuration Customizes Zone Settings =?Utf-8?B?VkFOSUxMQQ==?= Windows XP Internet Explorer 0 3rd Mar 2004 11:11 AM
Error 5: Access Denied for Remote Access Connection Manager Service Aubrey Windows XP Networking 1 2nd Dec 2003 11:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:50 AM.