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