Home > Tips > IIS: There was an error while performing this operation

IIS: There was an error while performing this operation


This is more of a tip than a post. Today I had  the following error in IIS while modifying Handler Mappings

There was an error while performing this operation.

Details:

Filename: \\?\C:\SomePath\web.config

Error: Cannot write configuration file due to insufficient permissions

Solution:

We are using TFS, and TFS sets the Readonly flag when the file is checkin. Basically, all you need is to check out the web.config before do your modifications in IIS

Advertisements
Categories: Tips Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: