p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 4.5.1 General Discussion (http://p2p.wrox.com/forumdisplay.php?f=753)
-   -   Configuration Error Web.sitemap (http://p2p.wrox.com/showthread.php?t=98899)

lashell825 May 22nd, 2016 08:52 AM

Configuration Error Web.sitemap
 
I keep getting a configuration error when choosing data source on p248 No 5.
Please tell me how to fix it, I've spent several hours trying to...


info for error:
Server Error in '/' Application.

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: Unable to connect to any of the specified MySQL hosts.

Source Error:

Line 283: <siteMap>
Line 284: <providers>
Line 285: <add name="MySqlSiteMapProvider" type="MySql.Web.SiteMap.MySqlSiteMapProvider, MySql.Web, Version=6.9.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" connectionStringName="LocalMySqlServer" applicationName="/"/>
Line 286: </providers>
Line 287: </siteMap>

Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Conf ig\machine.config Line: 285

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1073.0


Web.sitemap code:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
<siteMapNode url="~/" title="Home" description="Home">
<siteMapNode url="~/Default" title="Home" description="Go to the homepage" />
<siteMapNode url="~/Reviews/Default" title="Reviews" description="Reviews published on this site">
<siteMapNode url="~/Reviews/AllByGenre" title="By Genre" description="All Reviews Grouped by Genre" />
<siteMapNode url="~/Reviews/All" title="All Reviews" description="All Reviews" />
</siteMapNode>
<siteMapNode url="~/About/Default" title="About" description="About this Site">
<siteMapNode url="~/About/Contact" title="Contact Us" description="Contact Us" />
<siteMapNode url="~/About/AboutUs" title="About Us" description="About Us" />
</siteMapNode>
<siteMapNode url="~/Login" title="Login" description="Log in to this web site" />
</siteMapNode>
</siteMap>

mariav3 October 20th, 2018 08:29 AM

good one ..

mrgrtt123 December 2nd, 2018 08:47 PM

Quote:

Originally Posted by mariav3 (Post 310427)
good one ..


You haven't suggested anything to actually fix the issue. I guess that the person who has posted it have managed to figure it out since this is an old thread.
I am currently working on a website called Petstreetmall, if you are in search quality pet supplies such as pet carrier then go ahead and check it out.


All times are GMT -4. The time now is 06:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.