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
>
>
|