Home > Uncategorized > Upgrading SharePoint 2007 Web controls to SharePoint 2010

Upgrading SharePoint 2007 Web controls to SharePoint 2010

While upgrading web controls to SharePoint 2010 , we found a issue with Sharepoint Dll in web controls  even  though Sharepoint and related Dlls are present in Assembly directory (C:\Windows\Assembly)

ERROR: Could not load file or assembly ‘Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. Access is denied.

Solution: 

You can go to the project properties page (can be accessed from the Project pull down menu), going to the references tab, and adding the path to the  Microsoft.SharePoint dll ( Browse the Dll under the Assembly folder)

Advertisements
Categories: Uncategorized
  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: