http://msdn.microsoft.com/en-us/library/ff181518.aspx
http://www.microsoft.com/resources/msdn/en-us/office/media/video/office.html?cid=office-video&VideoID=e784efe4-bf2a-4777-b15f-b5a59cecfe64&from=mscomoffice
Friday, March 4, 2011
Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site. Error occurs while deploying SharePoint solut
In Visual Studio 2010 while deploying SharePoint solutions, sometime we see this error
“Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.”
This is because we forgot to mention the Site URL where we are going to deploy this solution. After specifying site URL, deployment went well.

Site URL will be your SharePoint site i.e. http://MOSS:2000.
“Error occurred in deployment step 'Recycle IIS Application Pool': Cannot connect to the SharePoint site. If you moved this project to a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.”
This is because we forgot to mention the Site URL where we are going to deploy this solution. After specifying site URL, deployment went well.
Site URL will be your SharePoint site i.e. http://MOSS:2000.
Sunday, February 13, 2011
How To Write Exception error In Sharepoint Log File
Add Microsoft.Office.Server dll in your project, you can find this dll under “\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\”.
The log files are found under \Common Files\Microsoft Shared\Web Server Extensions\12\Log\. Following line of code is used to write exception in sharepoint default log file.
Microsoft.Office.Server.Diagnostic.PortalLog.LogString(“Exception – {0} – {1} – {2}”,”Log Message”,ex.Message,ex.StackTrace);
Saturday, February 12, 2011
Create Custom WCF service for MOSS 2010 and Use it as External Content Type
Hi Friends,
Below are some links which have nice article regarding WCF Service and deploy BCS Service in sharepoint 2010.
Wednesday, February 9, 2011
Disable SharePoint DataTime Control Event
((TextBox)(dtduedate.Controls[0])).Attributes.Add("onKeyPress", "DisbleEnterKey();");
Saturday, February 5, 2011
SharePoint DateTime control returning current date when no date is selected
In WSS 3.0/4.0, I am using sharePoint DateTime control. I retrieve the date selected by the user using SelectedDate property of the sharePoint DateTime control.
The issue is that even when the user has not selected any date in the sharePoint DateTime control, the SelectedDate property of the sharePoint DateTime control returns current date.
Solution :
if (dt.IsDateEmpty)
{
objdt = DBNull.Value;
}
else
{
objdt = dt.SelectedDate.ToString();
}
The issue is that even when the user has not selected any date in the sharePoint DateTime control, the SelectedDate property of the sharePoint DateTime control returns current date.
Solution :
if (dt.IsDateEmpty)
{
objdt = DBNull.Value;
}
else
{
objdt = dt.SelectedDate.ToString();
}
Tuesday, December 28, 2010
Parser Error in sharepoint
Subscribe to:
Posts (Atom)

