Error Message "Server not found" while uploading a file more than 10 MB

If you trying to upload the file which is more than 10 Mb thought Silverlight client object Model and you will see an error message “Server not found”. I faced the same issue and taken the fiddler trace while uploading the file. I saw it calling “Client.svc” windows communication foundation service. To narrow down the…

0

SharePoint 2010 : Adding Nested web.config entries using the SPWebConfigModification

In SharePoint 2010, you can’t change the correctly the web.config modification entries because we got a new security feature called “RemoteAdministraorAccessDenied” which is by default set to true. While creating the nested the entries in the web.config I faced two issues :- Firstly, I resolved it using the setting the RemoteAdministratorAccessDenied to false. 1: SPWebService…

1

MOSS 2007 : Search returned improper results

If you have created a publishing site and sub-sites with the all the default options selected which is Navigation inheritance as “Yes” , Global Navigation as “Display the same Navigation items as the parent site” and Current Navigation as “Display the same navigation items as the parent site”, you will get the all sub-site in…

0

ListviewByQuery web Part in SharePoint 2010

If you have  create a custom web part ListviewByQuery API, you will not be able to get the ECB menu.    listView = new ListViewByQuery();    listView.ID = "ListViewByQuery1";    listView.List = List;    this.Controls.Add(listView); If you try to open the ECB menu you will receive a error message :- "The item is no longer…

3

Per location view settings using SharePoint Object Model

You have to set the library.RootFolder.Properties["client_MOSS_MetadataNavigationSettings"] property to get change the per location view settings using the SharePoint Object Model. 1: using (SPSite site = new SPSite("http://blre3r15-4")) 2: { 3: //TaxonomySession session = new TaxonomySession(site); 4: using (SPWeb web = site.OpenWeb()) 5: { 6: SPList library = web.Lists["shared documents"]; 7: SPContentTypeCollection lsl = library.ContentTypes; 8:…

1

In OOB Picture Library, we were not able to see the default library thumbnail view and it’s check boxes.

  Some time you have highly customizable sites( including custom master page), you create a picture library using the OOB template but you didn’t find the thumbnail view and check boxes with the images. To get this view, We need to add the “PlaceHolderLeftActions” in the visible area of the master page because picture library…

0

Microsoft.SharePoint.SPException: The security validation for this page is invalid. in SharePoint 2010

If you write the following code in a asmx web service to create site in SharePoint 2010 1: SPSite site = null; 2: SPSecurity.RunWithElevatedPrivileges(() => 3: { 4: SPSiteSubscription subscription = SPSiteSubscription.Create(); 5: site = webApp.Sites.Add(subscription, siteUrl, title, description, lcid, webTemplate, ownerLogin, ownerName, ownerEmail, null, null, null, useHostHeaderAsSiteName); // exception 6: site.AdministrationSiteType = SPAdministrationSiteType.TenantAdministration; 7:…

2

Make your custom theme a default theme for present site and it’s sub-sites.

Following images show the OOB site themes :- Suppose if would like to apply a new site theme when a site or sub-site is created then you need to follow the following steps:- 1. Create a new feature and set the scope as “ApplyMyTheme” scope and set the scope as Web. Attach the Event Receiver…

0

"Could not instantiate script engine." while opening Site Manager in MCMS

Site Manager call the http:///NR/ClientUI/login.asp page.(if you right click on the site Manager -> properties, you will see the login url and NRClient.exe path) and got the the error message "Could not instantiate the script engine" Checked the IIS logs and saw the error message 403.6 error message "IP Address of the client has been…

0

How to call multiple times “onworkflowItemChanged” event in state machine workflow?

  One of my customer would like to call “onWorkflowItemChanged” multiple times until the he got a specific value in a list item column. I have prepared the following solution to resolve the problem :-   Created a State Machine workflow Added two new states named “DocumentProcessed” and “StopWorkflow”. Set the “StopWorkflow” activity’s state as…

0