mthamil / EFDocumentationGenerator

A Visual Studio plugin for the Entity Framework designer which pulls MS_Description properties from a database and populates an entity model with them.
Apache License 2.0
11 stars 5 forks source link

Error upon execution #2

Closed mthamil closed 7 years ago

mthamil commented 11 years ago

From VS Gallery, user sbrussell: I'm experiencing an error when executing the Update Modell from Database:

An error occurred executing an ADO.Net Entity Framework Extension. The extension's type name is DocumentationGenerator.ModelGenerationExtension. The exception message is Format of the initialization string does not conform to specification starting at index 28..

Any thoughts or ideas why this may be happening?

mthamil commented 11 years ago

Could you please submit an anonymized version of the connection string from your app.config as well as the version of Entity Framework you are using? Also, is there any output in the documentation generator Output Pane?

sbrussell commented 11 years ago

[connectionStrings] [add name="VulcanContext" connectionString="metadata=res:///VulcanModel.csdl| res:///VulcanModel.ssdl| res://*/VulcanModel.msl;provider=System.Data.SqlClient; provider connection string="data source=(LocalDB)\v11.0; attachdbfilename=|DataDirectory|\TempVulcanVault.mdf; integrated security=True;connect timeout=30; MultipleActiveResultSets=True; App=EntityFramework"" providerName="System.Data.EntityClient" /] [/connectionStrings]

I am using EF 5.0.

The only information that is posted in the Output pane is the EDMX generation result:

Generated model file: VulcanModel.edmx. Loading metadata from the database took 00:00:00.7078329. Generating the model took 00:00:02.6256996.

mthamil commented 11 years ago

There should be an additional "Entity Documentation Generator" output pane. Anyway, I have a feeling the issue might be with the LocalDB connection string. I will do some tests and post my findings.

mthamil commented 11 years ago

I have so far failed to reproduce this error with a LocalDB connection string, so I don't think that's the problem anymore. From searching online this message seems to be related to a malformed connection string or a security issue. I can't see anything malformed about it, so I am at a bit of a loss.

mthamil commented 7 years ago

Closing due to age and non-reproducability.