0

Hello i am currently learning ASP.NET MV4 with Visual Studio 2012, i created a new project, not an empty project, an internet application but anytime i try to run it i keep getting an error.

There is no much else i can say about this, i am just now learning ASP.NET with Razor. I would very much appreciate some help on this. The error itself seems to be originating from my machine.config file but i'm kinda afraid of opening that file.

This is the error:

http://prntscr.com/3a6ltl 
Blank EDjok
  • 732
  • 2
  • 14
  • 33

1 Answers1

0

Add MySQL.Web as your reference with NuGet Install-Package MySql.Web.

Or remove the red line from your machine.config if you are not going to use the MySQL Membership provider

It is located here: c:\windows\microsoft.net\framework\v4.0.30319\config\machine.config

matthijsb
  • 909
  • 5
  • 12
  • The error is not coming from my web.config but rather from my machine.config – Blank EDjok Apr 15 '14 at 11:48
  • It shouldnt be in your machine.config in the first place. Remove the line there. I still think it's in your web.config, it just shows machine.config because that is the configuration loading order – matthijsb Apr 15 '14 at 11:50
  • No nothing like that in my web.config i checked – Blank EDjok Apr 15 '14 at 11:56
  • Remove it from the machine.config then, it is located here: `c:\windows\microsoft.net\framework\v4.0.30319\config\machine.config` – matthijsb Apr 15 '14 at 11:58
  • Thank you i decided not to remove it but rather comment it since i do not know how it got there in the first place. – Blank EDjok Apr 15 '14 at 12:23