What's ADE? I don't think I'm using it..
I'm trying to run the Managed VB Data Request sample and it crashes as starting.
The dll appears in the VB Project references in the non-default location:
C:\FSX\SDK\Core Utilities Kit\SimConnect SDK\lib\managed\Microsoft.FlightSimulator.SimConnect.dll
I ran ConfigSDK
The tools menu displays add returns something - not sure what I'm looking at but I cranked up traffic and it shows a list.
The VB project was updated to VB Express 2010 and now errors are listed - I'm a VB.Net programmer using VS2010 programmer at work.
I ran the ADEX environment checker and it didn't find ADE or part of FSUIPC (which was installed but removed from dll.xml and the files are out of the Modules folder. Report below.
Hopefully I'm missing something simple... Thanks!
System.InvalidOperationException was unhandled
Message=An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source=BasicExample
StackTrace:
at BasicExample.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at BasicExample.My.MyProject.MyForms.get_ManagedDataRequest()
at BasicExample.My.MyApplication.OnCreateMainForm() in C:\FSX\SDK\Core Utilities Kit\SimConnect SDK\Samples\Managed VB Data Request\Managed VB Data Request\My Project\Application.Designer.vb:line 35
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at BasicExample.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.IO.FileNotFoundException
Message=Could not load file or assembly 'Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source=BasicExample
FileName=Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
FusionLog==== Pre-bind state information ===
LOG: User = Bob-PC\Bob
LOG: DisplayName = Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/FSX/SDK/Core Utilities Kit/SimConnect SDK/Samples/Managed VB Data Request/Managed VB Data Request/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : BasicExample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
StackTrace:
at BasicExample.ManagedDataRequest..ctor()
InnerException:
*************************************************************************************************
Date of Report: 7/24/2011 4:28:22 PM
Operating System: Microsoft Windows 7 Home Premium
OS Service Pack: Service Pack 1 (1.0)
OS Version: 6.1.7601 (64 Bit)
OS Language: English (United States) => separator: '.'
Nodename: BOB-PC
ADE installed: no
ADE Path: ADE not found
ADE Install Version: n/a
ADE File Version: n/a
ADE Info: n/a
FXS installed: yes
FSX Path: C:\FSX\
FSX Version: 10.0.61472.0 (fsx-sp2.20071210-2023)
FSX Trailing '\' Error: False
FX9 installed: no
FS9 Path: n/a
FS9 Version: n/a
FS9 Trailing '\' Error: False
RTM Simconnect: yes
SP1 Simconnect: yes
SP2 Simconnect: yes
FSX SDK installed: yes
FSX SDK Path: C:\FSX\SDK\
FSX SDK Trailing '\' Error: False
BGLComp Version: 10.0.61472.0 (fsx-sp2.20071210-2023)
BGLComp >= SP1: yes
Shp2Vec found: yes
.NET 1.1 installed: no
.NET 2.0 installed: yes
.NET 3.0 installed: yes
.NET 3.5 installed: yes
XML3 installed: yes
XML4 installed: yes
XML5 installed: yes
XML6 installed: yes
FSUIPC/FS9 installed: n/a
FSUIPC/FSX installed: not installed
Connected to FS9 ok: no
Connected to FSX ok: no
I'm trying to run the Managed VB Data Request sample and it crashes as starting.
The dll appears in the VB Project references in the non-default location:
C:\FSX\SDK\Core Utilities Kit\SimConnect SDK\lib\managed\Microsoft.FlightSimulator.SimConnect.dll
I ran ConfigSDK
The tools menu displays add returns something - not sure what I'm looking at but I cranked up traffic and it shows a list.
The VB project was updated to VB Express 2010 and now errors are listed - I'm a VB.Net programmer using VS2010 programmer at work.
I ran the ADEX environment checker and it didn't find ADE or part of FSUIPC (which was installed but removed from dll.xml and the files are out of the Modules folder. Report below.
Hopefully I'm missing something simple... Thanks!
System.InvalidOperationException was unhandled
Message=An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source=BasicExample
StackTrace:
at BasicExample.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at BasicExample.My.MyProject.MyForms.get_ManagedDataRequest()
at BasicExample.My.MyApplication.OnCreateMainForm() in C:\FSX\SDK\Core Utilities Kit\SimConnect SDK\Samples\Managed VB Data Request\Managed VB Data Request\My Project\Application.Designer.vb:line 35
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at BasicExample.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.IO.FileNotFoundException
Message=Could not load file or assembly 'Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Source=BasicExample
FileName=Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
FusionLog==== Pre-bind state information ===
LOG: User = Bob-PC\Bob
LOG: DisplayName = Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/FSX/SDK/Core Utilities Kit/SimConnect SDK/Samples/Managed VB Data Request/Managed VB Data Request/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : BasicExample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.FlightSimulator.SimConnect, Version=10.0.61259.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
StackTrace:
at BasicExample.ManagedDataRequest..ctor()
InnerException:
*************************************************************************************************
Date of Report: 7/24/2011 4:28:22 PM
Operating System: Microsoft Windows 7 Home Premium
OS Service Pack: Service Pack 1 (1.0)
OS Version: 6.1.7601 (64 Bit)
OS Language: English (United States) => separator: '.'
Nodename: BOB-PC
ADE installed: no
ADE Path: ADE not found
ADE Install Version: n/a
ADE File Version: n/a
ADE Info: n/a
FXS installed: yes
FSX Path: C:\FSX\
FSX Version: 10.0.61472.0 (fsx-sp2.20071210-2023)
FSX Trailing '\' Error: False
FX9 installed: no
FS9 Path: n/a
FS9 Version: n/a
FS9 Trailing '\' Error: False
RTM Simconnect: yes
SP1 Simconnect: yes
SP2 Simconnect: yes
FSX SDK installed: yes
FSX SDK Path: C:\FSX\SDK\
FSX SDK Trailing '\' Error: False
BGLComp Version: 10.0.61472.0 (fsx-sp2.20071210-2023)
BGLComp >= SP1: yes
Shp2Vec found: yes
.NET 1.1 installed: no
.NET 2.0 installed: yes
.NET 3.0 installed: yes
.NET 3.5 installed: yes
XML3 installed: yes
XML4 installed: yes
XML5 installed: yes
XML6 installed: yes
FSUIPC/FS9 installed: n/a
FSUIPC/FSX installed: not installed
Connected to FS9 ok: no
Connected to FSX ok: no

