CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/7/2006 10:16:41 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
CarlFisher
Asp.Net User
Specifying SiteMap providers?6/7/2006 10:16:41 PM

0/0

Hi y'all,

Another issue now:  my app is working on my localhost, but when I do a "Copy Web Site" to our Dev server, it complains about my SiteMapProvider:

 

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The name cannot be empty.

Source Error:


Line 31: 		<siteMap enabled="true" defaultProvider="FolderSiteMapProvider">
Line 32: 			<providers>
Line 33:         <add name="FolderSiteMapProvider" type="FolderSiteMapProvider" description="Provides SiteMap functionality from Microstrategy folder structure"/>
Line 34:       </providers>
Line 35: 		</siteMap>

Source File: d:\inetpub\wwwroot\northstar\web.config    Line: 33


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
<!-- [ConfigurationErrorsException]: The name cannot be empty. (d:\inetpub\wwwroot\northstar\web.config line 33) at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType) at System.Web.Configuration.SiteMapSection.get_ProvidersInternal() at System.Web.SiteMap.Initialize() at System.Web.UI.WebControls.SiteMapDataSource.get_Provider() at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath) at System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView(String viewPath) at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath) at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) at System.Web.UI.WebControls.Menu.PerformDataBinding() at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at System.Web.UI.WebControls.Menu.DataBind() at MasterPage.Page_Load(Object sender, EventArgs e) in d:\inetpub\wwwroot\Northstar\Site.master.vb:line 40 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -->

 

My custom SiteMapProvider is in /App_Code/FolderSiteMapProvider.vb, and from what I've been able to tell of the requirements for the "type" attribute, I shouldn't need to specify that name further (though I've tried, with no success).

Known differences between my localhost and the Dev box:

  • Dev is a Windows 2003 Server, localhost is XP Pro.
  • Inetpub is on D: on Dev, C: on localhost (though I can find no drive letter references anywhere in the code, config files, or DB)
  • I have never gotten this site to come up on Dev previously, even predating implementation of the SiteMapProvider, so there could be an IIS setup issue.

Thanks for any help!

Carl

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Databases Authors: Thiru Thangarathinam, Pages: 504, Published: 2007
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
ASP.NET 2.0: Your Visual Blueprint for Developing Web Applications Authors: Chris Love, Pages: 339, Published: 2007
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Visual Web Developer 2005 Express Edition For Dummies Authors: Alan Simpson, Pages: 358, Published: 2005
ASP.NET 2.0: A Developer's Notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Visual Studio 2008 All-In-One Desk Reference For Dummies Authors: Rick Leinecker, Vanessa L. Williams, Pages: 816, Published: 2008

Web:
Specifying SiteMap providers? - ASP.NET Forums Specifying SiteMap providers? Last post 06-07-2006 6:16 PM by CarlFisher. 0 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Custom Site Map Providers in ASP.NET 2.0 With the RoleManager set up, and the appropriate site map provider in the ... Specify roles on site map nodes that are not accessible to all users. ...
ASP.NET.4GuysFromRolla.com: Examining ASP.NET 2.0's Site ... Feb 1, 2006 ... Part 4 - delves into creating a custom site map provider, ... is to allow a developer to specify a site map that describes his website's ...
ASP.NET 2.0 Site Navigation: Site Map Providers (If a site map node does not specify a URL, it is tracked using an ... The Initialize method is called to initialize derived site map providers, ...
Site Map Providers Site map providers provide the interface between Microsoft ASP. ... Explicitly specifying the roles attribute for other nodes is necessary only for nodes ...
Generate a Google Sitemap Using ASP.NET It returns the root node of the Web.sitemap file, the default sitemap. The web. config does not specify any sitemap providers. Therefore, the default sitemap ...
Building a Custom Database-Driven Site Map Provider : The Official ... It is useful if you want to allow a page developer to specify various site map provider-related settings without having to modify the provider’s code. ...
Custom security trimming in ASP.NET sitemaps - Alex Thissen Weblog ... Notice how you can also specify another file as the sitemap. It is not uncommon to have multiple providers that offer sitemaps from different files. ...
CodeProject: Stop editing 'web.sitemap'--Let unknown pages ... In the section of your web.config file you need to specify ScionSiteMapProvider as a site map provider. If you currently are utilizing the ASP. ...
Nested SiteMap Files & ASPxSiteMapDataSource & ASPxMenu ... I want to use site-map files, because the site-map “provider” provides ... the use of "web.sitemap" (i.e. there is no way of specifying that ...




Search This Site:










connection string for sql server 2005 express

pagecatalogpart - is not working

using the url/params object to store state in a custom control

custom server control - moving within the vs.net designer - help needed

how do links work?

help me out in portal starter kit 1.1

newsfeed help

modules containing modules

upgrading asp to asp.net using vwd

public property on masterpage not retaining value

newbie module question - localization.getstring()

dsofile.dll in asp.net

fileiopermission exception from winform in webform

hide masterpage table

suggestion with compare validator

dnn custom module templates

question concerning multiple application security

3.0.8 issue file manager can find the right path

file upload error

parsing render blocks in a control

membership email

treeview events

horizontal menu showing vertically

problem - dnn 3.1.1 shows 404 error

loading css in modules

error trying to remove vwd 2005 express edition beta 2

is cert present?

asp.net framework 2.0

upgrade not quite so smooth...

decryption of password

 
All Times Are GMT