Site Templates in Sharepoint 2010
When you saved you site as a site template, the file is stored in your top site -> Site Settings -> Solutions Gallery. You need to activate the soltuon so that the template can be used
View Articlecannot start service spusercodev4 when deploy Sharepoint webpart in VS 2010
Although the screenshot shows an error with retracting, I was getting the same error when deploying. I figured, maybe it works if I deploy it again, but alas The error is related to a service not being...
View ArticleSharePoint 2010 development target framework
When you converting exisitng projects to 2010, make sure the target framework set to 3.5 not 2.0 (that new SharePoiint dll cannot be referenced) or 4.0
View ArticleVisual Studio Power Tools
Here is the link to visual studio power tools http://msdn.microsoft.com/en-us/vstudio/bb980963.aspx, they are worth to check out. I just installed Team Foundation Server Power Tools...
View ArticleSetup project error: Unable to update the dependencies of the project
I have consistently used this method to get around this bug instead of rebuilding my setup projects. This applies to both merge module projects AND setup projects. Manually remove the data in the...
View ArticleCreate an AdditionalPageHead control packed into a Feature in Visual Studio 2010
It did take me a while to understand how could I package a solution by VS 2010. I use JQuery UserControl as an example and assume you have JQuery Library installed already 1. First, create an empty...
View ArticlePass Proxy Server URL rto HTTPWebRequest
Below is the example code that you can pass proxy server url HttpWebRequest webRequest = null; string strResult = null; try { // Create a new web request webRequest = WebRequest.Create(url) as...
View ArticleThe type or namespace name ‘SharePoint’ does not exist in the namespace...
Every time when I created a console app in vs 2010 for SharePoint, I got this error when I built. The solution is simple, nothing wrong with the references or dll. Just need to change the .Net...
View ArticleThe Web application at XXX could not be found when using SharePoint Console
When using SharePoint 2010 Server OM code on a Windows 2008 64 bit server, you get below exception : The Web application at http://servername:portnumber/sitename/ could not be found. Verify that you...
View ArticleUpdate Metadata Field In Word Document
If you create a work template for a content type, you may find any updates on the content type may not reflect to the word template, e.g. new field is not shown on the Information Panel. The solution I...
View Article