1
Vote

System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

description

I am using BizTalk Build Generator v1.0.0.0 and BizTalk 2006 R2 on Windows XP service pack 3.
 
When I start BizTalk Build Generator as below I get the error detailed below.
File -> New -> Next and then select the BizTalk Application name and Output directory -> Next

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.Reflection.Assembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at BizTalk.BuildGenerator.BizTalkHelper.AddResourceReferences(Resource resource, ApplicationResource applicationResource)
at BizTalk.BuildGenerator.BizTalkHelper.DescribeApplication(String applicationName)
at BizTalk.BuildGenerator.UI.UserControls.ApplicationDescriptionControl.GetDescription()
at BizTalk.BuildGenerator.UI.UserControls.ApplicationDescriptionControl.MoveNext()
at BizTalk.BuildGenerator.UI.WizardForm.ChooseApplicationPage_BeforeMoveNext(Object sender, CancelEventArgs e)
at Divelements.WizardFramework.WizardPageBase.OnBeforeMoveNext(CancelEventArgs e)
at Divelements.WizardFramework.Wizard.GoNext()
at Divelements.WizardFramework.Wizard.c(Object A_0, EventArgs A_1)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

BizTalk.BuildGenerator.UI
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files/BizTalkMsBuildTool/BizTalk%20Build%20Generator/BizTalk.BuildGenerator.UI.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

BizTalk.BuildGenerator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files/BizTalkMsBuildTool/BizTalk%20Build%20Generator/BizTalk.BuildGenerator.DLL

WizardFramework
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0

CodeBase: file:///C:/Program%20Files/BizTalkMsBuildTool/BizTalk%20Build%20Generator/WizardFramework.DLL

System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

Microsoft.BizTalk.ApplicationDeployment.Engine
Assembly Version: 3.0.1.0
Win32 Version: 3.6.1404.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.ApplicationDeployment.Engine/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.ApplicationDeployment.Engine.dll

System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

Microsoft.BizTalk.Admin
Assembly Version: 3.0.1.0
Win32 Version: 3.6.1404.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.Admin/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.Admin.dll

Microsoft.XLANGs.RuntimeTypes
Assembly Version: 3.0.1.0
Win32 Version: 3.8.368.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.XLANGs.RuntimeTypes/3.0.1.0__31bf3856ad364e35/Microsoft.XLANGs.RuntimeTypes.dll

Microsoft.BizTalk.Tracing
Assembly Version: 3.0.1.0
Win32 Version: 3.8.368.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.Tracing/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.Tracing.dll

System.Configuration.Install
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration.Install/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll

System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

Microsoft.BizTalk.ExplorerOM
Assembly Version: 3.0.1.0
Win32 Version: 3.6.1486.2

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.ExplorerOM/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.ExplorerOM.dll

Microsoft.RuleEngine
Assembly Version: 3.0.1.0
Win32 Version: 3.8.368.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.RuleEngine/3.0.1.0__31bf3856ad364e35/Microsoft.RuleEngine.dll

Microsoft.BizTalk.RuleEngineExtensions
Assembly Version: 3.0.1.0
Win32 Version: 3.6.1404.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.RuleEngineExtensions/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.RuleEngineExtensions.dll

Microsoft.BizTalk.BtsDbVersion
Assembly Version: 3.0.1.0
Win32 Version: 3.6.1404.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.BtsDbVersion/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.BtsDbVersion.dll

System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll

Microsoft.BizTalk.Interop.Agent
Assembly Version: 3.0.1.0
Win32 Version: 3.6.1404.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.Interop.Agent/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.Interop.Agent.dll

Microsoft.BizTalk.ApplicationDeployment.Engine.XmlSerializers
Assembly Version: 3.0.1.0
Win32 Version: 3.6.1404.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.ApplicationDeployment.Engine.XmlSerializers/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.ApplicationDeployment.Engine.XmlSerializers.dll

Microsoft.BizTalk.ResourceManagers
Assembly Version: 3.0.1.0
Win32 Version: 3.6.1404.0

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.BizTalk.ResourceManagers/3.0.1.0__31bf3856ad364e35/Microsoft.BizTalk.ResourceManagers.dll

 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

file attachments

comments

clineer wrote Jul 12, 2010 at 8:43 PM

Hey, I got this error today and opened the source up and was able to come up with a fix for it. I will am uploading the patch - I just wrapped the place this is failing in a try catch and logged the exception.

I include the updated assembly you can copy to the instal folder as well as the changed code for people using the source.

wrote Feb 13, 2013 at 5:25 PM