Could Not Parse The Configuration File. The Error Message Is
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “Could not parse configuration file…” when I add EF6 to a solution up vote 4 down vote favorite 1 I get an error when I add EF6 to a solution. I think it also happens when I update the model from the database. The error shows up in the Output window right after I add EF: "Could not parse the configuration file. The error message is: 'Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))' Try editing the file manually and then saving it." The "error" doesn't seem to have any influence on the compiling or running of the application (or the function of EF). However, an error like this is always disturbing when it's with the technology that is supposed to be the linchpin of your data management strategy. entity-framework share|improve this question asked Oct 5 '14 at 21:43 Intensivist 13111 1 +1 I have started to see that exact same message in our VS2013 solution the past few days. Not sure yet what causes it. Also, it does not have any influence (yet) at compile, debug or runtime. –Thomas Oct 29 '14 at 8:10 I have better repro'd the error. Open the solution with VS Open the *.edmx in the designer (double click on file from solution explorer) Click on the white space anywhere on the designer's surface The error appears in the Output. If I clear the Output, I can compile, run, close *.edmx, re-open *.edmx, all without error. It seems this occurs only when I open VS, then the *.edmx, then click on the designer surface the first time. If I never open the *.edmx in the designer of VS, I never see the error in the Output window. –Intensivist Nov 3 '14 at 18:34 add a comment| 1 Answer 1 active oldest votes up vote 7 down vote
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/MVC/EDMX EDMX [Answered]RSS 3 replies Last post Dec 13, 2011 10:16 AM by kedarrkulkarni ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Related Links GuidanceSamplesVideos Reply CSharper11 Member 5 Points 36 Posts EDMX Dec 13, 2011 08:18 AM|CSharper11|LINK Hi, I am trying to update a database model from edmx file. I need to add a http://stackoverflow.com/questions/26207518/could-not-parse-configuration-file-when-i-add-ef6-to-a-solution table to the datamodel but for some reason i get this error Could not parse the configuration file. The error message is: 'The 'data source' keyword is not supported.'. Try editing the file manually and then saving it. The model was generated with warnings or errors. Please see the Error List for more details. These http://forums.asp.net/t/1749165.aspx?EDMX issues must be fixed before running your application. Loading metadata from the database took 00:00:04.3063198. Generating the model took 00:00:03.6847260. Unable to update the Web.Config file because of the following exception: 'The 'data source' keyword is not supported.' I have checked the connection string it is pointing to the right entity frame work connection string. I also tried refreshing the EF but no luck. Has anyone come across this issue earlier. Thanks Reply kedarrkulkar... All-Star 27268 Points 6185 Posts Re: EDMX Dec 13, 2011 08:42 AM|kedarrkulkarni|LINK posting u r connection string format may help Cheers! KK Please mark as Answer if post helps in resolving your issue My Site Reply CSharper11 Member 5 Points 36 Posts Re: EDMX Dec 13, 2011 08:44 AM|CSharper11|LINK metadata=res://*/Models.Data.TeachableDataModel.csdl|res://*/Models.Data.TeachableDataModel.ssdl|res://*/Models.Data.TeachableDataModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=*\sqlexpress;Initial Catalog=teachable_solution;Integrated Security=True" I am able to update other table though...so I am a bit confused. Reply kedarrkulkar... All-Star 27268 Points 6185 Posts Re: EDMX Dec 13, 2011 10:16 AM|kedarrkulkarni|LINK i think it should be like this metadata=res://*/Models.Data.TeachableData
van GoogleInloggenVerborgen veldenZoeken naar groepen of berichten