DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 01 Aug 2007 05:51:21 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    ssg31415926
          2    Alexey Smirnov
          3    ssg31415926
          4    ssg31415926


Unable to open the Web...You are not authorized to perform the current operation   
I'm getting the error: "Unable to open the Web 'http://blah/blahblah'.
You are not authorized to perform the current operation".  I have
changed a few things recently but I can't change them back as I need
them.  I can't find anything about it using searches.

Yesterday, I removed the "Enable anonymous access" option from my web
(within the Default Web Site).  The web has Integrated Windows
authentication checked.  The site must check AD group membership so I
need these options set like this.  (It runs with a particular AppPool
which uses a network account.)

Immediately afterwards, when I tried to access a page on the site the
User name/Password authentication pane appeared - this wasn't
happening before.  A bit of research revealed that a site set up like
this needs an SPN.  The server itself had two, one with the netbios
name and one with the fully qualified DNS name.  So, I set up two for
the AppPool account.  After this, when I tried to access the page, I
didn't get the authentication panel.  So far, so good.

However, today I decided to tweak a page, so I went to open up the
site in VS2005 and got the User name/Password authentication pane - I
tried my ID (which is a member of Administrators on the server) and it
didn't work - the pane reappeared.  When I clicked cancel I got this
error: "Unable to open the Web 'http://blah'. You are not authorized
to perform the current operation"

Any suggestions?

(The server is 2003 R2, patched to recent.)
Date:Wed, 01 Aug 2007 05:51:21 -0700   Author:  

Re: Unable to open the Web...You are not authorized to perform the current operation   
On Aug 1, 2:51 pm, ssg31415926  wrote:

> I'm getting the error: "Unable to open the Web 'http://blah/blahblah'.
> You are not authorized to perform the current operation".  I have
> changed a few things recently but I can't change them back as I need
> them.  I can't find anything about it using searches.
>
> Yesterday, I removed the "Enable anonymous access" option from my web
> (within the Default Web Site).  The web has Integrated Windows
> authentication checked.  The site must check AD group membership so I
> need these options set like this.  (It runs with a particular AppPool
> which uses a network account.)
>
> Immediately afterwards, when I tried to access a page on the site the
> User name/Password authentication pane appeared - this wasn't
> happening before.  A bit of research revealed that a site set up like
> this needs an SPN.  The server itself had two, one with the netbios
> name and one with the fully qualified DNS name.  So, I set up two for
> the AppPool account.  After this, when I tried to access the page, I
> didn't get the authentication panel.  So far, so good.
>
> However, today I decided to tweak a page, so I went to open up the
> site in VS2005 and got the User name/Password authentication pane - I
> tried my ID (which is a member of Administrators on the server) and it
> didn't work - the pane reappeared.  When I clicked cancel I got this
> error: "Unable to open the Web 'http://blah'. You are not authorized
> to perform the current operation"
>
> Any suggestions?
>
> (The server is 2003 R2, patched to recent.)


What permissions do you have on the directory where the website is
located?
Date:Wed, 01 Aug 2007 12:27:12 -0700   Author:  

Re: Unable to open the Web...You are not authorized to perform the current operation   
My account is a member of local Administrators on the server (one of
many things I had to do to get remote debugging working).  It has Full
Control over the folder.  I've checked the individual files and the
Full Control permissions are inherited.  I can access the pages using
a browser, I just can't edit the site.

I did have a Kerberos problem for a while but resetting the server's
SPN seems to have fixed it - at least, there are now no error messages
in the event log on restarting the server.

On 1 Aug, 20:27, Alexey Smirnov  wrote:

> On Aug 1, 2:51 pm, ssg31415926  wrote:
>
>
>
> > I'm getting the error: "Unable to open the Web 'http://blah/blahblah'.
> > You are not authorized to perform the current operation".  I have
> > changed a few things recently but I can't change them back as I need
> > them.  I can't find anything about it using searches.
>
> > Yesterday, I removed the "Enable anonymous access" option from my web
> > (within the Default Web Site).  The web has Integrated Windows
> > authentication checked.  The site must check AD group membership so I
> > need these options set like this.  (It runs with a particular AppPool
> > which uses a network account.)
>
> > Immediately afterwards, when I tried to access a page on the site the
> > User name/Password authentication pane appeared - this wasn't
> > happening before.  A bit of research revealed that a site set up like
> > this needs an SPN.  The server itself had two, one with the netbios
> > name and one with the fully qualified DNS name.  So, I set up two for
> > the AppPool account.  After this, when I tried to access the page, I
> > didn't get the authentication panel.  So far, so good.
>
> > However, today I decided to tweak a page, so I went to open up the
> > site in VS2005 and got the User name/Password authentication pane - I
> > tried my ID (which is a member of Administrators on the server) and it
> > didn't work - the pane reappeared.  When I clicked cancel I got this
> > error: "Unable to open the Web 'http://blah'. You are not authorized
> > to perform the current operation"
>
> > Any suggestions?
>
> > (The server is 2003 R2, patched to recent.)
>
> What permissions do you have on the directory where the website is
> located?
Date:Thu, 02 Aug 2007 07:26:52 -0700   Author:  

Re: Unable to open the Web...You are not authorized to perform the current operation   
It's definitely to do with the SPNs: I deleted the two SPNs I added
the other day and the problem reverted back to the original: IE asked
for credentials but refused to accept them, VS2005 didn't ask for
creds and successfully accessed the site.

Then I added back the SPN (using SETSPN -A http/fqdn.of.server
NetBIOSDomainName\AccountName) and the problem swapped back: IE didn't
ask for creds and successfully accessed the site, VS2005 asked for
credentials but refused to accept them.

So, it's something to do with the Service Principal Name, but what?

On Aug 2, 3:26 pm, ssg31415926  wrote:

> My account is a member of local Administrators on the server (one of
> many things I had to do to get remote debugging working).  It has Full
> Control over the folder.  I've checked the individual files and the
> Full Control permissions are inherited.  I can access the pages using
> a browser, I just can't edit the site.
>
> I did have a Kerberos problem for a while but resetting the server's
> SPN seems to have fixed it - at least, there are now no error messages
> in the event log on restarting the server.
>
> On 1 Aug, 20:27, Alexey Smirnov  wrote:
>
> > On Aug 1, 2:51 pm,ssg31415926 wrote:
>
> > > I'm getting the error: "Unable to open the Web 'http://blah/blahblah'.
> > > You are not authorized to perform the current operation".  I have
> > > changed a few things recently but I can't change them back as I need
> > > them.  I can't find anything about it using searches.
>
> > > Yesterday, I removed the "Enable anonymous access" option from my web
> > > (within the Default Web Site).  The web has Integrated Windows
> > > authentication checked.  The site must check AD group membership so I
> > > need these options set like this.  (It runs with a particular AppPool
> > > which uses a network account.)
>
> > > Immediately afterwards, when I tried to access a page on the site the
> > > User name/Password authentication pane appeared - this wasn't
> > > happening before.  A bit of research revealed that a site set up like
> > > this needs an SPN.  The server itself had two, one with the netbios
> > > name and one with the fully qualified DNS name.  So, I set up two for
> > > the AppPool account.  After this, when I tried to access the page, I
> > > didn't get the authentication panel.  So far, so good.
>
> > > However, today I decided to tweak a page, so I went to open up the
> > > site in VS2005 and got the User name/Password authentication pane - I
> > > tried my ID (which is a member of Administrators on the server) and it
> > > didn't work - the pane reappeared.  When I clicked cancel I got this
> > > error: "Unable to open the Web 'http://blah'. You are not authorized
> > > to perform the current operation"
>
> > > Any suggestions?
>
> > > (The server is 2003 R2, patched to recent.)
>
> > What permissions do you have on the directory where the website is
> > located?
Date:Fri, 03 Aug 2007 14:10:36 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us