.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Error adding Global Navigation Link

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :SharePoint

We the following error when adding a custom link to the Global Navigation at the top-level of the site (sub-sites inherit Global Nav):

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Here is the full error log:

09/29/2010 13:38:11.66 	w3wp.exe (0x1194)            	0x03A4	SharePoint Foundation     	Logging Correlation Data   	xmnv	Medium 	Name=Request (POST:http://SERVER:80/_layouts/AreaNavigationSettings.aspx)	0b656ac4-ae85-417a-9b8e-fa10d9bfda18
09/29/2010 13:38:11.66 	w3wp.exe (0x1194)            	0x03A4	SharePoint Foundation     	Logging Correlation Data   	xmnv	Medium 	Site=/	0b656ac4-ae85-417a-9b8e-fa10d9bfda18
09/29/2010 13:38:11.71 	w3wp.exe (0x1194)            	0x03A4	Web Content Management    	Publishing Cache       	fev4	Medium 	CreatePageFromUrlNoUpperCase failed with ArgumentException. Url = '/TEST/SITEPAGES/HOME.ASPX'.	0b656ac4-ae85-417a-9b8e-fa10d9bfda18
09/29/2010 13:38:11.71 	w3wp.exe (0x1194)            	0x03A4	SharePoint Foundation     	Monitoring          	b4ly	High  	Leaving Monitored Scope (CachedObjectFactory: Caching Page at: /TEST/SITEPAGES/HOME.ASPX). Execution Time=19.7002691682881	0b656ac4-ae85-417a-9b8e-fa10d9bfda18
09/29/2010 13:38:11.72 	w3wp.exe (0x1194)            	0x03A4	Web Content Management    	Publishing Cache       	fev4	Medium 	CreatePageFro

View Complete Post

More Related Resource Links

"Unknown error" when adding link to My Links

When I click "Add to my Links" I get an unknown error, but only with some users. "Manage Links" works, mind you. But I still can't figure out what differs between those users... any suggestions?(People in this thread have a somewhat similar error, but with "Manage Links" instead of "Add to my Links".)

Error tab displayed in top link bar navigation after deleting a subsite: An error ocurred while rend


In my site definition (root web site) I have set the publishingWeb.Navigation.GlobalSubSite =  true and I have activated following site collection features:

  • SharePoint Server Publishing Infrastructure
  • SharePoint Server Standard Site Collection features

Also I have activated following web site features:

  • SharePoint Server Publishing
  • SharePoint Server Standard Site features

The top link navigation bar is being displayed and all subsites are being correctly displayed.

After the deletion of a subsite the top level web site is being displayed and in the top link navigation bar the link to the deleted site is still present!!. If I refresh the page the first time I get an 'Error' tab and if I refresh a second time this 'Error' tab is gone.

When the 'Error' tab is displayed I'm able to see part of the error message when the mouse is over the tab:

"An error ocurred while rendering navigation for requested URL: /. Exception message: Object reference not set to an instance of an object. Stack trace: at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.get_IsVisible() at  Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(...." 

Any ideas o

Error in adding new link in summary link webpart after upgrading to sharepoint 2010



I have a weird error after upgrading my portal from sharepoint 2007 to sharepoint 2010 using attach database approach.

The error occurs when creating a new link in the summary link web part, so a pop up screen will show up, then if I click on Browse Button to link for an item an error occur, on the other hand if i click Browse Button to link an image then everything is working normally.

I checked the event viewer and here what I got, any Ideas?

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 23/10/2010 3:44:56 PM

Event time (UTC): 23/10/2010 12:44:56 PM Event ID: b74e380e0f6c4d3499feae1176557bcd Event sequence: 403 Event occurrence: 5 Event detail code: 0


Application information:

Error while adding pollingduplex binding


I am making samle of polling duplex in .net 4.0

when ever i put binding this tag in web.config it shows error.


Warning    1    The element 'bindings' has invalid child element 'pollingDuplexHttpBinding'. List of possible elements expected: 'basicHttpBinding, customBinding, msmqIntegrationBinding, netPeerTcpBinding, netMsmqBinding, netNamedPipeBinding, netTcpBinding, wsFederationHttpBinding, ws2007FederationHttpBinding, wsHttpBinding, ws2007HttpBinding, wsDualHttpBinding, netTcpContextBinding, wsHttpContextBinding, basicHttpContextBinding, mexHttpBinding, mexHttpsBinding, mexNamedPipeBinding, mexTcpBinding, webHttpBinding'.    D:\DuplexTest\TestPollingDuplexWcf\TestPollingDuplexWcf\TestPollingDuplexWcf\Web.config    9    8    TestPollingDuplexWcf

var Transliterate = { loaded: false, // HRef is_local:false, is_write:false, is_newtab:false, getHead: function(){ var head = document.getElementsByTagName('head')[0]; if (!head) { return document.body; } return head; }, addGlobalStyle: function(css) { var head = Transliterate.getHead(); var style = document.createElement('style'); style.type =

Quick Error messages with Global.asax

The article Quick Error messages with Global.asax was added by lykasd on Wednesday, August 11, 2010.

Error pages without any effort void Application_Error(object sender, EventArgs e) { Server.Transfer("/error.aspx"); //Displays the error page } In error.aspx add this to the content area. p>We&#39;re sorry, but the %=Server.GetLastError

Error in / Application after adding employee search in webpart


Hello everyone,

I am working on sharepoint 2007 and I was editing the webpart of the software and after adding the predefined employee search table, the server has crashed while trying to access the server remotely with the following error message:

Error in / Application

However, while trying to login locally I have no problem and can easily login.

What will be the course of action in fixing this error.

Also the site is complaining of an invalid certificate even after adding an exception.

Any help would be greatly appreciated.

Thank You,

Chris Stanko

Error adding a document library to a site



I am receiving the error "Cannot complete this action.  Please try again"  when trying to add a document library to one of the sites.  This is Sharepoint 2007 SP1.  I seem to be able to do it thru designer but not the web interface.

Does anyone know how to fix this?

LINK : fatal error LNK1104: cannot open file 'libirc.lib'

I am trying to build my project for 64 bit windows on a 32 bit windows machine. I am getting a linking error of the kind 15>LINK : fatal error LNK1104: cannot open file 'libirc.lib' Can someone tell me the resolution for this problem?

Error "Object reference not set" when I try to set a Navigation Property

I'm using Entity Framework. The following code throws a runtime error "System.NullReferenceException: Object reference not set to an instance of an object." The line before the error, it looks like newControl is in fact instantiated.My model has a Control entity and a ControlType entity. Control includes the Navigation Property "ControlType." I'm trying to set ControlType.Type = 2.SurveyFormControlsModel.Control newControl = new SurveyFormControlsModel.Control(); newControl = CreateControl(childTokenName, ControlTypeEnum.TextBox); newControl.ControlType.Type = 2; // <<--ERROR HERE context.Controls.AddObject(newControl);                                SurveyFormControlsModel.Control newControl = new SurveyFormControlsModel.Control();                                 if (listItems.Count == 0)                                 {                                     newControl = CreateControl(childTokenName, ControlTypeEnum.TextBox);                    &

Problem with Global Navigation Excludes in VS workflow

Hi All I need help for WSS Global Navigation problem. I have one Visual Studio Workflow. In that I written following code. string globalNavExcludes = String.Empty; SPWeb webSite = MSDNSiteCollection.RootWeb; // _GlobalNavigationExcludes property contains a delimited string of  // GUIDs identifying the Id of each site to be excluded from global // navigation   if (webSite.AllProperties.ContainsKey("__GlobalNavigationExcludes")) {   globalNavExcludes =      webSite.AllProperties["__GlobalNavigationExcludes"].ToString(); }   SPWeb newsSite = MSDNSiteCollection.AllWebs["News"]; // string is delimited "{GUID};{GUID};", // use format code B to convert to string globalNavExcludes += String.Concat(ParentWeb.ID.ToString("B"), ";");   webSite.AllProperties["__GlobalNavigationExcludes"] = globalNavExcludes; webSite.Update(); After run this code workflow, I loss my Home from Navigation. Now I was unable to open my application. It is giving "Error" on the top Navigation in place of Home. Error is: "An error occured while rendering navigation for requested URL: .........url of my workflow site.......Exception Message: An Item with the same Key has already been added. Stack Trace : at System.Throwhelper.ThrowArgumentException(ExceptionResour

Global Navigation across Site Collections

MOSS 2007 Global Navigation across Site Collections I have couple of questions. a) Is there an easy way to share a global navigation between site collections? b) Portal has the navigation tabs (tab1..n). User doesn't have access to all the tabs, may have access to one or more tabs. Each tab represents a site collection. Is there a way to display the only tabs to which the users have access? If we can develop using SDK, please provide some hints.   Thanks,

GLobal navigation

All my sub-sites are using the global navigation bar. The global navigation displays. 2 levels for some sites. For one of my sites, I am able to view the global navigation bar, but the links with 2 levels do not seem to come up. its working fine with all the other sites. I have also set the property to inherit from the master page, What could be the problem?

Profile page throwing an error after adding some "ask me about" tags

After adding some "ask me about" tags my profile page is throwing an error. To be more precise the AskMeAbout WebPart ist throwing a thread aborted exception and I don't understand the reason for this error. After removing the tags the sites works again. Some tags work but after trying some other tags the profile page is broken again. Unhandled exception caught during execution of Microsoft.SharePoint.Portal.PageBase::ErrorHandler(). Exception information: Exception information: Microsoft.SharePoint.WebPartPages.WebPartException: Thread was being aborted. ---> System.Threading.ThreadAbortException: Thread was being aborted. at Microsoft.SharePoint.Portal.WebControls.AskMeAboutWebPart.RenderValues(HtmlTextWriter writer, Int32 startIndex, Int32 endIndex) at Microsoft.SharePoint.Portal.WebControls.AskMeAboutWebPart.RenderWebPart(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.WebPart.Render(HtmlTextWriter writer) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) - -- End of inner exception stack trace --- at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTex

Script error in adding users in sharepooint Site

I seem to have a problem when trying to enter new users on a newly built site (SharepointSite). I cannot select the new user option the grant permissions dialog doesn't appear. I'm running MS office 2003 sp3 and ie 7 regards Alan Bateman.

Go Back to Site link missing in Error Page

hi,             i developed eventhandler where Properties.Cancel=true..takes to the defualt sharepoint error page. in this page i am missing go back to site link. how to set this link in the error page?   also can we set the link in the Properties.ErrorMessage="cannot update. please click here"+"<a href="+siteurl+"/>";   please help.  

adding quicklinks/tree navigation to main search page (search 2010 express)

Hi Just installed Search Server 2010 Express (full version). On the previous version you could add the top link bar to the search page to easily allow you to browse to other sections i.e contacts. With 2010 I cannot seem to add any kind of navigation away from this main page (default.aspx). Using Designer it will not allow me to edit the top bar, quick launch, tree view and top link bar have been enabled with links however they do not show up on the main search page. can someone help ?

Adding a web part to "My Content" page causes error

Under a "My Content" personal page, a user (me) chose to add the "SQL Server Reporting Services Report Viewer" web part to a page. This was repeated with a test account and the same thing happened. Is there a way to fix this? Prior to this, adding a Content Editor Web Part seemed to work just fine.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend