473,804 Members | 2,215 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Aug 1 '07 #1
3 4325
On Aug 1, 2:51 pm, ssg31415926 <newsjunkm...@g mail.comwrote:
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?

Aug 1 '07 #2
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 <alexey.smir... @gmail.comwrote :
On Aug 1, 2:51 pm, ssg31415926 <newsjunkm...@g mail.comwrote:
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?

Aug 2 '07 #3
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
NetBIOSDomainNa me\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 <newsjunkm...@g mail.comwrote:
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 <alexey.smir... @gmail.comwrote :
On Aug 1, 2:51 pm,ssg31415926< newsjunkm...@gm ail.comwrote:
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?

Aug 3 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1667
by: Srinivasan Vasudevan via DotNetMonster.com | last post by:
Dear All, I am having windows 2003 server as Operation System and iam using Visual Studio .NET 2003, my problem is if i open the ASP.NET project the application showing the below given error. "The Web was created successfully, but an error occured when trying to configure the application root for this web. Web projects may not operate correctly without an application root. The returned error was:
3
2403
by: purkka | last post by:
Hi I replaced a Win 2000 Adv server to the Win 2003 Std with Front Page Server Extension and .Net Framework 2.0. FPSE is extended to Default Web Site. Visual Studio 2005: If I create a new web by VS2005 installed on my server, no problem, but if i try to do same remotely using http, I got "Unable to create the Web 'http://computer.aaa.com/MySite'. You are not authorized to perform the current operation."
0
2351
by: Seok Bee | last post by:
Dear Experts, In my web application, I'm having a button to view an attachment. After I retrieve the record from database (Ms. Access), I have a button to view the attachment (if there is any). The button work fine when I run it at my local machine. However, when I moved all the programs over to the server, I am unable to view the attachment, although I have the file physically at the server. The error message that I got is: ...
6
3541
by: Seok Bee | last post by:
Dear Experts, In my web application, I'm having a button to view an attachment. After I retrieve the record from database (Ms. Access), I have a button to view the attachment (if there is any). The button work fine when I run it at my local machine. However, when I moved all the programs over to the server, I am unable to view the attachment, although I have the file physically at the server. The error message that I got is: ...
0
12073
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in '/CinemaBookingSystem' Application. -------------------------------------------------------------------------------- ERROR General error Unable to open registry key 'Temporary (volatile) Jet DSN for process
0
2351
by: Steven Bolard | last post by:
Hello, I am trying to port my .net 1.1 application to 2.0. I am using vs2005. I am trying to get my webservices to run and although i can compile them and and get wsdl and service descriptions through internet explorer when hitting the ..asmx url, i cannot generate a proxy class to use in my winforms assembly. When i try to generate a proxy, i get no error message but nor do i get a reference.vb so there is no type info. If i then try...
0
789
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. Stack Trace at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
3
14063
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. Stack Trace at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
3
5865
by: aydeejay | last post by:
I'm trying to troubleshoot an issue where users are not able to bind with LDAP via "GetObject" through our ASP Classic Intranet if they stay logged in overnight (beyond their allowed login hours). The problem does not occur when performing the same bindings using a logon script. So, the user logs in, is able to perform queries all day, and then fails to log out at the end of the day. We'd prefer that they did log out nightly, but it...
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10350
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10351
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10096
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7638
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4311
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.