Showing posts with label error. Show all posts
Showing posts with label error. Show all posts

Thursday, October 7, 2010

User doesnot hace permission to do this action

When you receieve this error as "User doesnot hace permission to do this action" This is maily because the application run under a process which doen't have sufficient permissions to perform action. In case of Visual Studio if you receieve tis error then it means that the ASPNET doesn't have permissions to perform this action. to overcome this errror you should do the following:
1) Give permission for the ASPNET to perform this action
2) or make your application run under another account than ASPNET.

Read about (1) and let me know too.

But for the second option use the impersonate setting account in the web config file that would resolve this issue. This would tell the ASPNET that use specified crenditials to update information.
identity impersonate="true" userName="xx" password="xx"/

I would also recommend following article with it.
http://support.microsoft.com/default.aspx?scid=kb;en-us;329290

Tuesday, September 28, 2010

There is a duplicate ‘system.web.extensions/scripting/scriptResourceHandler’ section defined

Above issue screwed up my head, I spent couple of hours on it and finally I got the solution. Some reasons behind these issues are

1) You might changed “sharepoint – 80” application pool’s .net framework version 2 to 4
2) You might have the web.config file in your site or sub site it contains the duplicate section of scriptresourceHandler, You should retain this section only on root web.config file.