Kailash Dhondiyal

Call Hierarchy : A handy feature in Visual Studio 2010

Suppose we have a solution that contains different dependent projects. We can face 2 most common situation here: Situation 1: We have a method that we need to change by modifying the definition of that method or just we want to check that which other methods are calling this method. Situation 2: We have a Call Hierarchy : A handy feature in Visual Studio 2010

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!

Procedure or Function expects parameter, which was not supplied : Resolved

I created a stored procedure as follows: Create procedure spInsertTable1  @Name varchar(50),  @Phone Varchar(50)  As  Begin   Insert into Table1(Name,Phone) values (@Name,@Phone)  End Now I wanted to insert the values from front end using this stored procedure. To achieving this thing I wrote the below mentioned code. protected void btnSubmit_Click(object sender, EventArgs e)         {             Procedure or Function expects parameter, which was not supplied : Resolved

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.

How to remove/delete SharePoint extended site placed in different zones

Well as we know that we can extend a SharePoint site for different zone other than default with different port number and host header. In extended site creation, a new site creates on IIS pointing to a new virtual directory on server. This new virtual directory has its own web.config file for extended site. But How to remove/delete SharePoint extended site placed in different zones

Reset Internet Information Services for SharePoint In Depth

When we create a new web application in SharePoint using central administration, we get a section of “Reset Internet Information Services“ and by default its set to “Restart IIS Manually”. Many times we keep this option by default and create the application but even after successful web application creation we don’t reset IIS and go Reset Internet Information Services for SharePoint In Depth