Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't generate database from Entity Framework schema [DNET658] #615

Closed
firebird-automations opened this issue Dec 27, 2015 · 2 comments
Closed

Comments

@firebird-automations
Copy link

Submitted by: Ludovic C. (ludydoo)

Hi,

I've designed a simple schema in Entity Framework using the visual entity designer.

When I try to "generate the database from model" from the entity schema, i get this error :

"A procedure imported by 'Microsoft.VisualBasic.Activities.Compiler.dll' could not be loaded.

Though, I can successfully import a database as a Model, I can't generate a database from a model.

@firebird-automations
Copy link
Author

Commented by: André Ziegler (andre.ziegler)

Please capture a ETW trace of the issue.

Install the WPT (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx), copy the XML content from the stackoverflow topic (http://stackoverflow.com/a/30289933) into a file called DotNetRuntime.wprp, open the cmd.exe as admin, run the WPR command and point to the WPRP file.

"C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\wpr.exe" -start D:\DotNetRuntime.wprp

Now try to generate the db from the model, after you get the error, run the wpr stop command.

"C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\wpr.exe" -stop D:\Result.etl

Now compress the Result.etl + result.ngenpdb folder (important for .net stacks that include ngened files) into a zip/RAR/7z file, upload the compressed file on OneDrive and post a link here. I'll take a look, maybe I can see the complete exception data in the trace. It also includes .net load and ngen fusion data. Maybe this helps.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Incomplete [ 4 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants