Wednesday, October 5, 2011

Some Error Resolutions while working Programmatically in Sharepoint 2010

Here is errors and links related to error occurred during programming with sharepoint.

(1) Error occurred in deployment step 'Recycle IIS Application Pool': The vssphost4.exe process was unable to start due to an unknown error or problem.

- Interesting registry settings to help debugging SharePoint Tools Extensions in Visual Studio 2010

- VSX « Second Life of a Hungarian SharePoint Geek

- Visual Studio 2010 extension for helping SharePoint 2010 debugging

(2) One or more field types are not installed properly. Go to the list settings page to delete these fields.
- this is because some of the field in CAML query could be written/spelled wrongly.

(3) Invalid data has been used to update the list item. The field you are trying to update may be read only.
- when there is any lookup field exist and in that we provide any information that is not exist in source table then it will throw error like this.

(4) The data source does not support server-side data paging.
- when we are working paging in grid and we are fetching items using LINQ if list is not returning ToList() then it will give error shown here.

(5) The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
- its looking for referenced assembly in GAC
- its looking for referenced assembly in SafeControl directive of Web.config file.

(6) The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.
    - The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.

    - SPSecurity.RunWithElevatedPrivileges to update SPRoleAssignment of an SPListItem

    - The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.
   
(7) SPDataGrid error 'Unable to cast object of type int32 - SPDataGrid.NewPageIndex property and DataKeyNames

http://blog.sharepointsite.co.uk/2010/10/spdatagrid-error-unable-to-cast-object.html


(8) The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.

    - AnswerFBA in sharepoint 2010

    - The server was unable to process the request due to an... RSS

(9) This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the administrator.
   
    - This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the administrator

    - This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the admin..

(10) SQL database login for 'SharePoint_Config' on instance 'Username' failed.
- SQL database login for 'SharePoint_Config' on instance 'SP_2010_TESTQA_SQL' failed.

(11) This solution contains no resources scoped for a web application and cannot be deployed to a partucular web application.
- Issues Deploying SharePoint Solution Packages

- This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

- This solution contains no resources scoped for a Web application – Sharepoint WSP deployment exception

(12) 
Error occurred in deployment step 'Recycle IIS Application Pool': 0x80070005Access denied.
Deploy Solution to Site configured with Claims-based Authentication

Error occurred in deployment step 'Recycle IIS Application Pool': Provider load failure

Error occurred in deployment step ‘Recycle IIS Application Pool’



No comments:

Post a Comment