Thursday, November 26, 2009

Installing SharePoint Server 2010 on Windows 7

Title: Installing SharePoint Server 2010 on Windows 7 / Setting Up the Development Environment for SharePoint

Details: Here is a very nice article that would help you set up your development environment on Windows 7.

Thursday, November 19, 2009

Speaking at SharePoint Saturday DC

Here is the code and presentation.

Title: Speaking at SharePoint Saturday DC

Date: Dec 5th 2009

Location: Microsoft Technology Center, 12012 Sunset Hills Rd. Reston, VA 20190

Topic: 'Migrating ASP.NET Web Applications to SharePoint Platform' - an ongoing business need

Details: With SharePoint and its advantages - many projects in organizations are ready to migrate from ASP.NET to SharePoint platform. This has become one of the strongest business case and there are instances when developers have questions on ‘How-To’? This session would give an outline of methods, procedures, best practices on real time experience approach.

Speaking at SharePoint Saturday Richmond

Here is the code and presentation

Title: Speaking at SharePoint Saturday Richmond

Date: Nov 21st 2009

Location: Massey Technology Center on the J. Sargeant Reynolds Parham Campus, Richmond, VA

Topic: Understanding and Programming Features in SharePoint

Details: This session provides an introduction to SharePoint Features. During the session, I will describe what features are, how powerful they are, and provide some practical approaches to using them. The session also covers concepts of Feature Stapling. The target audience for session includes Beginner and Mid level developers.

Thursday, November 5, 2009

Error while deploying using VSEWSS 1.3

Title: Error while deploying using VSEWSS 1.3

Scenario: On my Windows Vista x64 and IIS 7.0, I installed VseWss 1.3 version and tried to use simple out of the box site definition template. When I build the project every thing is fine. However, when I try to deploy the project it gives me the below error.


Error 1 The content type text/html; charset=utf-8 of the response message
does not match the content type of the binding (text/xml; charset=utf-8). If
using a custom encoder, be sure that the IsContentTypeSupported method is
implemented properly. The first 1024 bytes of the response were: ' html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
<title>IIS 7.0 Detailed Error - 500.0 - Internal Server Error</title>
<style type="text/css">

.config_source code{font-size:.8em;color:#000000;}
ul,ol{margin:10px 0 10px 40px;}
fieldset{padding:0 15px 10px 15px;}
.summary-container fieldset{padding-bottom:5px;margin-top:4px;}{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}
legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px
border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px
solid #969696;
border-bottom:1px solid
#969696;background:#E7ECF0;font-weight:bold;f'. 0 0


Resolution: After a little bit of googling around I found that the error is related to VseWSS 1.3 version, WCF and IIS 7.0.

So, here is what we need to do:
For Windows Vista:
#1. Under Control Panel > Programs > Programs and Features > Click Turn Windows Features On or Off.
#2. Under Microsoft .NET Framework 3.0, choose Windows Communication Foundation HTTP Activation.
#3. Install the selected features.

Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))

Title:Error: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) or unable to add selected web part(s). Operation aborted.

Scenario: "Every thing was fine until today morning" - that's the kind of surprising face you might have all of a sudden and from no where one of the above errors might appear on the site when ever you try to modify some thing.

Resolution: Any modification is a write operation to the database. Since you might not be able to get more details as you see the above errors, its worth checking some options.

#1. Check the SQL Log File, the Database size and Database Space available.
#2. Check the Log Files. It might be that the log file is full and writes are blocked.
#3. Other most common issue is that there is less space on the drive.