Posts Tagged ‘SharePoint’

Create SharePoint 3.0 Custom Properties

It is very simple. Just put [WebBrowsable(true), Personalizable(true)] above your property in code. (There are much more attributes – FYI).
Here is the sample source code:

public class testxyz : System.Web.UI.WebControls.WebParts.WebPart
{
private string _strHello = "blah";
public testxyz()
[...]

Leave a Comment

SharePoint error: No SharePoint Site exists at the specified URL

Resolution:

Take project properties (right click - Solution Explorer –> Project Name)
Take Debug tab
Verify Start Action section. Most probably you may be having wrong URL for your SharePoint in Start browser with URL

VN:F [1.1.6_502]Rating: 5.0/5 (2 votes cast)

Leave a Comment

SharePoint error: The feature name WebPart1 already exists in SharePoint

The feature name WebPart1 already exists in SharePoint. You need to rename the feature before solution deployment can succeed
This is a common error when you (especially a beginner) try to ‘execute’ a SharePoint webpart from Visual Studio. Here is a fix explained.

If you do not see a pkg folder in your solution explorer then click [...]

Leave a Comment