p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   ASP.NET 4.5.1 General Discussion (http://p2p.wrox.com/asp-net-4-5-1-general-discussion-753/)
-   -   Configuration Error Web.sitemap (http://p2p.wrox.com/asp-net-4-5-1-general-discussion/98899-configuration-error-web-sitemap.html)

lashell825 May 22nd, 2016 09: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=, 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 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 url="~/Login" title="Login" description="Log in to this web site" />

mariav3 October 20th, 2018 09:29 AM

good one ..

mrgrtt123 December 2nd, 2018 08:47 PM


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.

alanrogger007 February 13th, 2019 12:35 PM

Chrome crashed
When I tried editing the site map suddenly chrome keeps crashing windows 10 and not opening at all. After that, I have to use firefox because chrome is not at all opening.

mikaylausing February 14th, 2019 02:14 AM

programming help
Our Website is number 1 for Programming Assignment Help . we provide best programming assignment help for C, C++, Java and other languages.

All times are GMT -4. The time now is 06:15 PM.

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