strange security errors with protocol transition

strange security errors with protocol transition

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
strange security errors with protocol transition Iain Mcleod 09-26-2007
Posted by =?Utf-8?B?SWFpbiBNY2xlb2Q=?= on September 26, 2007, 10:32 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi

I'm using protocol transition to create user accounts in an ASP.NET context.
The login seems to be working ok, but I'm getting a nasty security exception
"Attempted to perform an unauthorized operation" (see stacktrace).
I get the same error message in the debugger when I quick watch
httpcontext.current.user.identity, AuthenticationType property (it's a
WindowsIdentity with name=CONTOSO\Administrator and IsAuthenticated=True).


----------------------------------------------------------
Attempted to perform an unauthorized operation.
at System.Security.Principal.WindowsIdentity.get_AuthenticationType()
at System.Web.HttpRequest.CalcDynamicServerVariable(DynamicServerVariable
var)
at System.Web.HttpServerVarsCollectionEntry.GetValue(HttpRequest request)
at System.Web.HttpServerVarsCollection.GetServerVar(Object e)
at System.Web.HttpServerVarsCollection.Get(Int32 index)
at System.Web.HttpServerVarsCollection.GetValues(Int32 index)
at
System.Collections.Specialized.NameValueCollection.Add(NameValueCollection c)
at System.Web.HttpRequest.FillInParamsCollection()
at System.Web.HttpRequest.GetParams()
at System.Web.HttpRequest.get_Params()
----------------------------------------------------------------

Any ideas anyone?

Thanks
Iain Mcleod




Posted by James Matthews on September 26, 2007, 12:36 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Check that your have permission to login! I would ask this on the ASP.NET
group!

--

http://www.goldwatches.com/mens/cufflinks.html
http://www.jewelerslounge.com/
> Hi
>
> I'm using protocol transition to create user accounts in an ASP.NET
> context.
> The login seems to be working ok, but I'm getting a nasty security
> exception
> "Attempted to perform an unauthorized operation" (see stacktrace).
> I get the same error message in the debugger when I quick watch
> httpcontext.current.user.identity, AuthenticationType property (it's a
> WindowsIdentity with name=CONTOSO\Administrator and IsAuthenticated=True).
>
>
> ----------------------------------------------------------
> Attempted to perform an unauthorized operation.
> at System.Security.Principal.WindowsIdentity.get_AuthenticationType()
> at
> System.Web.HttpRequest.CalcDynamicServerVariable(DynamicServerVariable
> var)
> at System.Web.HttpServerVarsCollectionEntry.GetValue(HttpRequest
> request)
> at System.Web.HttpServerVarsCollection.GetServerVar(Object e)
> at System.Web.HttpServerVarsCollection.Get(Int32 index)
> at System.Web.HttpServerVarsCollection.GetValues(Int32 index)
> at
> System.Collections.Specialized.NameValueCollection.Add(NameValueCollection
> c)
> at System.Web.HttpRequest.FillInParamsCollection()
> at System.Web.HttpRequest.GetParams()
> at System.Web.HttpRequest.get_Params()
> ----------------------------------------------------------------
>
> Any ideas anyone?
>
> Thanks
> Iain Mcleod
>
>
>
>


Posted by =?Utf-8?B?SWFpbiBNY2xlb2Q=?= on September 27, 2007, 3:40 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Thanks James. I'll repost to the ASP.NET group.
If a solution comes up I'll update this thread with the answer.

Cheers
Iain

"James Matthews" wrote:

> Check that your have permission to login! I would ask this on the ASP.NET
> group!
>
> --
>
> http://www.goldwatches.com/mens/cufflinks.html
> http://www.jewelerslounge.com/
> > Hi
> >
> > I'm using protocol transition to create user accounts in an ASP.NET
> > context.
> > The login seems to be working ok, but I'm getting a nasty security
> > exception
> > "Attempted to perform an unauthorized operation" (see stacktrace).
> > I get the same error message in the debugger when I quick watch
> > httpcontext.current.user.identity, AuthenticationType property (it's a
> > WindowsIdentity with name=CONTOSO\Administrator and IsAuthenticated=True).
> >
> >
> > ----------------------------------------------------------
> > Attempted to perform an unauthorized operation.
> > at System.Security.Principal.WindowsIdentity.get_AuthenticationType()
> > at
> > System.Web.HttpRequest.CalcDynamicServerVariable(DynamicServerVariable
> > var)
> > at System.Web.HttpServerVarsCollectionEntry.GetValue(HttpRequest
> > request)
> > at System.Web.HttpServerVarsCollection.GetServerVar(Object e)
> > at System.Web.HttpServerVarsCollection.Get(Int32 index)
> > at System.Web.HttpServerVarsCollection.GetValues(Int32 index)
> > at
> > System.Collections.Specialized.NameValueCollection.Add(NameValueCollection
> > c)
> > at System.Web.HttpRequest.FillInParamsCollection()
> > at System.Web.HttpRequest.GetParams()
> > at System.Web.HttpRequest.get_Params()
> > ----------------------------------------------------------------
> >
> > Any ideas anyone?
> >
> > Thanks
> > Iain Mcleod
> >
> >
> >
> >
>

Similar ThreadsPosted
security certificate errors October 6, 2008, 2:45 pm
security certificate errors October 6, 2008, 2:59 pm
Strange Security Message March 17, 2006, 4:40 pm
RPC ncadg_ip_udp protocol with XP SP2 October 4, 2006, 6:16 am
Can Windows Firewall be Configured to Allow Protocol 47 (GRE)? October 20, 2005, 12:49 pm
Need Help Understanding Scope of CIFS Protocol March 15, 2007, 2:06 am
rootkit reveal showing mismatch URL Protocol April 5, 2006, 9:25 am
Certificate Services Port and Protocol Requirements April 2, 2007, 4:34 am
Complimentary Webcast: Fraud Protection: Internet Protocol Technologies and the Human Element November 6, 2007, 10:50 am
EFS Errors August 16, 2005, 6:15 pm

The site map in XML format XML site map

Contact Us | Privacy Policy