Bug #70653 Error generate DDL script
Description:
Hi,
I use
WINDOWS 8
MySql Connector Net 6.7.4
MySql Server 5.6
Visual studio 2012 EF5
Scrip to generate the database I get an error:
Error 3 Running transformation: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualStudio.TextTemplatingEC7AD8F9FBE0E4583F2618228C4182E3CCEE1C700F320D1F98B9908646EAFA8024A750223ACC9C5A71B36A0AEE5FD12A02298E7F752E89E2BAE365DAC8A8BB03.GeneratedTextTransformation.GetProviderManifestToken(String edmxPath) in c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\DBGen\GenerateMySQL.Utility.ttinclude:line 142
at Microsoft.VisualStudio.TextTemplatingEC7AD8F9FBE0E4583F2618228C4182E3CCEE1C700F320D1F98B9908646EAFA8024A750223ACC9C5A71B36A0AEE5FD12A02298E7F752E89E2BAE365DAC8A8BB03.GeneratedTextTransformation.TransformText() in c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\DBGen\SSDLToMySQL.tt:line 121 c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\DBGen\GenerateMySQL.Utility.ttinclude 142 1 Miscellaneous Files
I changed this line
edmxNamespace string = "http://schemas.microsoft.com/ado/2008/10/edmx";
by this
edmxNamespace string = "http://schemas.microsoft.com/ado/2009/11/edmx";
a new error appears
Error 3 Running transformation : System.FormatException : Input string was not in a correct format .
at System.Version.VersionResult.SetFailure ( ParseFailureKind failure , String argument)
at System.Version.TryParseComponent ( String component , String componentName , VersionResult & result , Int32 & parsedComponent )
at System.Version.TryParseVersion ( String version , VersionResult & result )
at System.Version.Parse ( String input)
at System.Version .. ctor ( String version)
at MySql.Data.MySqlClient.MySqlScriptServices.GetTableCreateScript ( EntitySet EntitySet , String connectionString , String version)
at in c : \ Program Files ( x86 ) \ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ Extensions \ Microsoft \ Entity Framework Tools \ DBGen \ SSDLToMySQL.tt : line 133 C: \ Program Files ( x86 ) \ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ Extensions \ Microsoft \ Entity Framework Tools \ DBGen \ SSDLToMySQL.tt 1 133 Miscellaneous Files
Please help to solve the problem.
Thanks
How to repeat:
http://dev.mysql.com/doc/refman/5.5/en/connector-net-tutorials-efmodel-ddl.html
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.