Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Following Walkthrough - Got Configuration Error
Gunnar
#1 Posted : Thursday, June 7, 2018 9:22:02 AM(UTC)


I'm following your walkthrough to here: 1.5 Running the application

Yes, did build the model project.
Then built the solution
Then set the default project.

(Visual Studio 2017, SQL Server 2012)

Went to run and got this:

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: No database selected
Source Error:

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

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

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

. . . .
I'm using SQL Server on my local machine. It connects, sees the database on SQL Server imports the models. But the above at runtime.

Stuck. Any ideas?
xomega
#2 Posted : Thursday, June 7, 2018 9:37:55 AM(UTC)
xomega



Hi Gunnar. Thanks for your interest in Xomega.

It appears that your machine.config is corrupted with some bad entries related to the MySql DB, which affects the application. Are you able to run any other Asp.Net web apps with SQL Server DB on your machine?

Your problem seems to be related to this issue, so please check if any of the solutions there can help you.

Please do not hesitate to contact us if you have any questions or issues with Xomega.
Gunnar
#3 Posted : Thursday, June 7, 2018 10:18:24 AM(UTC)


Wow ! You Are Right !

So following the suggestion on Stack Overflow, I went to Control Panel | Programs and removed :

My SQL Connector for .Net

My walkthrough works !

Thank You !

FYI: Xomega is a very compelling program. I'm going to keep working through it.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Copyright © 2009-2022 Xomega.Net. All rights reserved.