Hi All,

I am new to the list and just wanted to see if someone here could point
me in the right direction. I have an assembly that I am hosting under
IIS. Everything seems to fine as far as security goes (I am using
WIndows Integrated Authentication and on the client side I am doing
something like this):

RemotingConfiguration.Configure("remoteclient.exe.config");

RemoteObject obj = new RemoteObject();

IDictionary dictionary = ChannelServices.GetChannelSinkProperties(obj);
dictionary["username"] = "Administrator";
dictionary["password"] = "password";

obj.Method1();
obj.Method2();
obj.Method3();

Methods 1 and 2 work fine but when I call Method3 I get a
Win32Exception. The message says "Access Denied". I can tell you
this...Method3 uses performance counters. But other than that, I don't
think there is anything special about it. I would think that since I am
using the admin account, I could do anything.

Can anyone help me out?

Stan

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to