I write here all of my experiences from my Projects in SharePoint, .Net, ALM, VSTS ,Azure and Web Development like Angular and NodeJs
Freitag, 10. August 2012
The type or namespace name ‘LayoutsPageBase’ does not exist
After creating an empty SharePoint 2010 solution in Visual Studio 2010 I added an Application Page to the project but compiling failed and gave me the following error:
The type or namespace name 'LayoutsPageBase' does not exist in the namespace 'Microsoft.SharePoint.WebControls' (are you missing an assembly reference?)
The reason for this was quite simple when I created the SharePoint Project I had chosen to deploy it as a Sandbox Solution and application pages are not supported in sandboxed solutions. Selecting the project properties and changing the Sandboxed Solution property to False and it compiled successfully.
Abonnieren
Kommentare zum Post (Atom)
The content type is part of an application feature
Recently I had the problem in a production environment that after the deactivation of a feature I was not able to delete the content ty...
-
Hier is a good Blog about Configuring Enterprise Search in SharePoint 2010 .
-
The amount of time the “New” icon is shown in SharePoint 2010 can be changed at the Web Application level using PowerShell. Below ar...
-
Turning off custom errors in _layouts Web.Config for debugging mode in SharePoint 2010 As a developer, one of the first things I do after...
Keine Kommentare:
Kommentar veröffentlichen