Monthly Archives: May 2012

Attaching master page to aspx page

1)Open the page in sharepoint designer 2)Click on the Style->Attach tab from the ribbon  as follows 3)Match content regions->ok 4)Before materpage 5)After attaching masterpage Advertisements

Posted in Uncategorized | Leave a comment

Migrating Asp.net web 3.5 application to sharepoint 2010

In this example we migrate a asp.net web application,in which we fetch data using sqlDataSource and bind it to gridview. Steps: Steps in Visual studio 2010 Note:.net framework should be 3.5 1)Create a web application “bindData” ,design the web from  say … Continue reading

Posted in Uncategorized | Leave a comment

Error while converting Migrating ASP.net web application to sharepoint 2010

  This error is because if we are trying to develop a web application on .net 4.0 framework rather than on 3.5 framework. Sharepoint 2010 supports .net framewwork 3.5 and lower versions,so change the framework from 4.0 to 3.5 to … Continue reading

Posted in Uncategorized | Leave a comment

Error occured:”Event Receivers”,SPUsercodev4 cannot run on your computer

When iam trying to deploy an event receiver to sharepoint web application i am getting the error “SpUserCodev4” cannot run on your computer. From Central Admin->Security-> Configure Service Account I selected the Windows Service – Microsoft SharePoint Foundation Sandboxed Code … Continue reading

Posted in Uncategorized | Leave a comment

Visual studio 2010 Client object model error “The type or name space name ‘SharePoint’ does not exist in the name space ‘Microsoft’ (are you missing an assembly reference?)”

Change the framework 4.0 to frameworkwork 3.5

Posted in Uncategorized | Leave a comment

How to change the VSTA coding language and Full Trust

To change the VSTA Language and Enabling Full Trust This can be done from Form Options or from the Developer-Language ribbon  Developer Ribbon

Posted in Uncategorized | Leave a comment

Infopath 2010 form binding data to dropdownlist from web service

A short code snippet to get the data from the web service and binding to dropdownlist. First of all create a web service that returns a data set ,create a dataconnection from infopath that retrieves data from web service and … Continue reading

Posted in Infopath 2010 | 1 Comment