manoj´ssharepointblog

SharePoint Blog


Leave a comment

Common issue: new SPSite API call returns “The Web application at http://server:port/ could not be found.”

Since the early times of SharePoint we receive support cases where a customer receives the following error message when using custom code with SharePoint:

“The Web application at http://server:port/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application”

Continue reading


Leave a comment

Modify property values of a web part in SharePoint website programmatically using C#

Some times other than reading the values of the property of a webpart we need to update the value of a webpart. When you try to update the property of a webpart it does not get updated. This is due to the fact that the SaveProperties is not set to true.
Continue reading