Error Upon adding the Webpart in SPD

Mar 30, 2011 at 9:30 PM
Edited Apr 1, 2011 at 3:15 PM

As soon as I add the webpart control line directly below the <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">

I get the following error

An error has occured with this web part. Please contact your system administrator and relay this error message: Invalid URL: /. sub:CreateChildControls

When viewing the opening Tag on the Webpart line <spNav:spNavMenu2010  is underlined in red.  The pop up reads, In XHTML 1.0 Strict the tag <spNav:spNavMenu2010> is not permitted.

The Register line looks correct with the correct TagPrefix and Namespace

Also, the name of the Feature that appears in Site Collection Features is "Untitled feature"

Any ideas?  Thanks

Apr 1, 2011 at 3:35 PM

I did some more testing and the above error only occurs when I use this solution on a site other than the Root location.

When installed and configured to run on http://sitename/  it works.

When installed and configured to run on http://sitename/sites/anything it produces the above error.

Apr 4, 2011 at 7:04 PM

I found the Set_WebSite= parameter to identify the Site Collection properly from the Discussion area on SharePoint Navigation Menu.  That works!  Thanks

It still seems as though you still need to create and maintain the menu list at the Set_ServerURL= which seems to have to be the Root / Site Collection.  Are there any plans to devleop and add the ability to have the list reside on any URL such as the Site Collection from which the webpart is being used?

Dec 1, 2011 at 1:20 PM

I am experiencing the same thing. My site is not at the Root and I am getting this error. Any fixes?