Skip to main content

Trying to register a new control (excel import/ export) from the cmd line using controlutil.exe 

 

and received "Unhandled Exception: System.IO.FileLoadException: Mixed mode assembly is built against version 'v2.050727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information at SourceCode.Forms.Controls.Web.SDK.Installer.Program.Main(String g] args)"

 

then a seperate program pops up saying that "SourceCode.Forms.Controls.Wed.SDK has stopped working" with details 

Problem signature:
Problem Event Name: APPCRASH
Application Name: controlutil.exe
Application Version: 4.15060.15300.4
Application Timestamp: 562f6d17
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.2.9200.22141
Fault Module Timestamp: 58f11c17
Exception Code: e0434352
Exception Offset: 0000000000008e8c
OS Version: 6.2.9200.2.0.0.272.7
Locale ID: 1033
Additional Information 1: f1744d
Additional Information 2: f14shsdkd432bb
Additional Information 3: 58d3
Additional Information 4: 58b302eb5f82c3311de72bb79ef710c6

 

Please help me to register this control. Do I need to re-download the controlutil.exe? 

 

 

Did you run the RegisterCustomControl.bat to register the Excel control? The RegisterCustomControl.bat file in the ExcelExport folder.


Reply