SharePoint 2010

Add Safe Control Entries to SharePoint 2010 Web Parts using VS2010

I was reviewing a SharePoint solution and found that a web part inside that solution has poor naming conventions so I decide to rename the web parts for giving the proper names to them. I changed the necessary references in different files of web part (I’ll mention them in a separate blog post). Now after Add Safe Control Entries to SharePoint 2010 Web Parts using VS2010

Installing assembly in GAC in Windows Server 2008 : Resolved

I developed an event handler and need to deploy it on production server. My production server is built on Windows 2008 Enterprise Server 64 Bit and there was only one installation on server i.e. SharePoint Server 2010. Now I need to install my assembly in to GAC. I copied my .dll to production server. Then Installing assembly in GAC in Windows Server 2008 : Resolved

Command Line Error by STSADM : Resolved

I was executing a command using stsadm and when I hit enter it was displaying an error stating that “Command Line Error”. Everything was perfect from my end but it was weird to getting this error. So finally I could resolve this. For information how to resolve this find my earlier blog post here. Though Command Line Error by STSADM : Resolved

Resolved: The given assembly or codebase was invalid error by stsadm command

I was trying to register custom profiledeletehandler by using stsadm command line utility. My command, code and assembly were perfect. But even then when I was trying to execute stsadm then it was displaying “The given assembly or codebase was invalid”. Humnnn what could be the problem then after doing some research I came to Resolved: The given assembly or codebase was invalid error by stsadm command

Create Hierarchies Link in SharePoint Variation Site is not working : Resolved

Problem: Inside variation labels, if we click on create hierarchies button nothing happens. Scenario: I had a publishing site with variation enabled on a specific port. I backed up the site and restore it on a web site hosted on another server. This new website is on different port. Now i created a new variation Create Hierarchies Link in SharePoint Variation Site is not working : Resolved

Create large size file for testing on the fly!

Suppose we write some custom code for uploading/downloading files. Now we want to test the size limitation of a file for Uploading/downloading the file. So for achieving this we look a large file here and there in our system for testing. Here i am demonstrating that how to create a large file for testing in Create large size file for testing on the fly!

Exports excel data to SharePoint custom list with desired column names!

So once again I am back with a blog post… Today we will see that how to import a spreadsheet inside a custom list with defined columns. We are ready for production deployment for an application. This application contains the master data for cities all over the world. Client provided us the list of 9000 Exports excel data to SharePoint custom list with desired column names!

Resolved: Could not load file or assembly ‘Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies…

I have a solution that contains SharePoint dll’s reference. Whenever I run the solution, start page get crash and show me this error. “Could not load file or assembly ‘Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies. An attempt was made to load a program with an incorrect format.” Well every time I run Resolved: Could not load file or assembly ‘Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ or one of its dependencies…

Resolved: Run .swf and other MIME type files in web browser in SharePoint 2010 scnerio

One fine day i migrate a SharePoint portal of a client from MOSS 2007 to SharePoint 2010. Well as usual i face so many problems during migration and after migration. This was the one problem i face after migration. It was interesting so i decide to share this with you guys. Well there was a Resolved: Run .swf and other MIME type files in web browser in SharePoint 2010 scnerio

Resolved: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.

During my SharePoint project i need to clean up the site for better performance.  So first thing i started to delete the closed web parts from web part pages. As there were so many web part pages in the application so i decide to write a web application that can delete the closed web parts Resolved: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.