Error:
The referenced assembly "Microsoft.SharePoint.Client.Runtime" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
Fix:
When you get the above error, it means that in your project your pointing to .net framework 4.0 and its not installed in your machine. Now, change the project properties to point out available framework in your machine.
Showing newest posts with label Error and Fix. Show older posts
Showing newest posts with label Error and Fix. Show older posts
July 5, 2010
September 13, 2008
Error while activating publishing feature
Error :
I was trying to activate the Office SharePoint Server Publishing Infrastructure feature through the ManageFeatures pages, but it threw me the access denied error.

Fix :
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>
stsadm -o activatefeature -name PublishingResources -url http://website
Run the above in the command prompt and then try activating the feature it will work, digging on the cause.. will post when I'm done.
I was trying to activate the Office SharePoint Server Publishing Infrastructure feature through the ManageFeatures pages, but it threw me the access denied error.
Fix :
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>
stsadm -o activatefeature -name PublishingResources -url http://website
Run the above in the command prompt and then try activating the feature it will work, digging on the cause.. will post when I'm done.
March 4, 2008
Attempted to perform an unauthorized operation.
Here is the first post under the category 'Error
and Fix' and it goes like this...
Error : Attempted to perform an unauthorized operation.
Scenario : I was using Visual studio 2005 with webpart extensions, created a custom webpart and added some snippet in the Render override method, and F6, build is successful when tried to deploy i was facing the error (see the screenshot).
Fix : Goto the project properties and inside the debug tab select the start action as 'start browser with url' and enter the valid site collection url. Please check the site collection before you use it over here.
and Fix' and it goes like this...
Error : Attempted to perform an unauthorized operation.
Scenario : I was using Visual studio 2005 with webpart extensions, created a custom webpart and added some snippet in the Render override method, and F6, build is successful when tried to deploy i was facing the error (see the screenshot).
Fix : Goto the project properties and inside the debug tab select the start action as 'start browser with url' and enter the valid site collection url. Please check the site collection before you use it over here.
Please note this same error message can occur in other cases also, since its a
generic error message shown by the system when authorization fails. In that case
this fix might not help.
New blog category
I was thinking from a while of raising a blog series to address some of the issues faced by me during development, and this the time for that. I will try my best to post most of them.
These posts will be having a issue and its solution. And I named this category as 'Error and Fix' all posts will be tagged under this category.
Currently involved in MOSS 2007 development, so most of them will be from this side.
These posts will be having a issue and its solution. And I named this category as 'Error and Fix' all posts will be tagged under this category.
Currently involved in MOSS 2007 development, so most of them will be from this side.
Subscribe to:
Posts (Atom)