Print Page | Close Window

Error while saving EDMX file

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1993
Printed Date: 21-Apr-2026 at 8:39pm


Topic: Error while saving EDMX file
Posted By: Sakar SR
Subject: Error while saving EDMX file
Date Posted: 22-Jul-2010 at 4:52am

while saving NorthwindIB.edmx file this erro pops up ...
 
please help to solve the problem

Error    1    An exception was thrown while trying to compile the transformation code. The following Exception was thrown:
System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\Sakar\AppData\Local\Temp\3mxmxqxu.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
File name: 'file:///C:\Users\Sakar\AppData\Local\Temp\3mxmxqxu.dll'
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)
   at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
   at Microsoft.VisualStudio.TextTemplating.TransformationRunner.Compile(String source, String inputFile, IEnumerable`1 references, Boolean debug, CodeDomProvider provider, String compilerOptions)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
        1    1   




Replies:
Posted By: Sakar SR
Date Posted: 22-Jul-2010 at 7:16am

Thank you Kerry for the help.

i checked for the key for  [HKLM\Software\Microsoft\Fusion!EnableLog]

it is not their in the registry.

how to fix it, will re-installing win 7 will solve this problem or reinstall IdeaBalde will fix this problem






Posted By: davidklitzke
Date Posted: 22-Jul-2010 at 11:46am

What version of Visual Studio are you running?

What version of the Entity Framework are you running?
 
Could you post your EDMX file to the Forum (or send it to mailto:support@ideablade.com - support@ideablade.com )?


Posted By: Sakar SR
Date Posted: 22-Jul-2010 at 9:09pm
VS2010 Silverlight Entity Framework for .net 4

i have send the EDMX file to support team

Thank u davidklizke

Good day


Posted By: kimj
Date Posted: 26-Jul-2010 at 1:10pm
Sakar, there's nothing wrong with your EDMX file, but there's likely something in your configuration causing the problem.  DevForce uses T4 templates to generate code for the model, and it's T4 throwing the error.   You might want to try repairing your Visual Studio installation, and also re-installing DevForce.   If still no luck, can you provide the following:
 
Which OS?  32- or 64-bit?
Language?
VS2010 version?
DevForce version?
3rd party tools, such as Re-sharper?
Other versions of Visual Studio on the machine?
Running VS with admin privileges?
 


Posted By: Sakar SR
Date Posted: 26-Jul-2010 at 8:06pm
Than you kimj , i will try out, and let you know

Good day




Print Page | Close Window