News:

Buying something from Amazon? Please consider using my affiliate links - Amazon.com or Amazon.co.uk - You get your stuff, Plan-G gets a little boost :)   

Main Menu

Unusual Crash

Started by GOLF, December 17, 2009, 05:41:20 AM

Previous topic - Next topic

GOLF

Have just started using Plan-G and so far it looks great.   All the hard work very much appreciated. :D

Actually have a couple of problems.

First one is bit unusual, I think.  This is what is happening.

I load FSX  or Plan-G   -    Problem happens no matter which one I load first.
So, both programs are loaded.
This problem happens whether I connect or do not connect to FSX.

Now if I try and shut down Plan-G I get a crash to reboot.
However, if I shut down FSX first, then shut down Plan-G, it does not crash.

The error message in the Event View/System is as follows:

Generate Activation Context failed for C:\Program Files\Microsoft Games\Microsoft Flight Simulator X\Modules\FSUIPC4.dll. Reference error message: The operation completed successfully.

Just thought I would bring this up as obviously I can shut down FSX first and not have a problem.


I hate to bring up this next problem, but here goes.

SimConnect
Can't seem to get it connected.   I know it is is installed and working as I use "Object Placement Tool" in the flight sim.  However the error message in the Event Viewer is as follows:

Resolve Partial Assembly failed for Microsoft.FlightSimulator.SimConnect. Reference error message: The referenced assembly is not installed on your system.

I really didn't want to reinstall SimConnect again and go through all the work of getting "Object Placement Tool" to work again.

I can connect with FSUIPC4, however I was hoping to network my laptop to my desktop and run Plan-G on the laptop.    It looks to be a lot more complicated to do this with FSUIPC.
I was just hoping someone might have a couple of ideas to cure this one.

Unfortunately I am not computer literate.   Even computers for Dummies is over my head. :laugh:

Irvin

PS.   Re SimConnect.
I have IPv6 installed.   When I try and connect with it Plan-G looks like it is going to work but then gives me an error as follows:
Unable to connect to remote simulator.  Time Out.


tim arnot

I've never heard of that 'Activation Context' craqsh before. Is this the registered version of FSUIPC? What happens if you remove the FSUIPC key file? (ie make it unregistered)

SimConnect: What version of FSX are you running? For Simconnect in Plan-G you must be using SP2/Acceleration. Also, what values have you specified in the Connection dialog?

Finally, in context of your last comment, are you doing all this locally or across the LAN?

Tim. @TimArnot

GOLF

Both the FSX and Plan-G are on the same computer.

FSUIPC4 is not a registered version.    I just removed it from the sim and had the same problem with Plan-G.
When the computer crashes there is a whole blue page message that flashes for a second.    Don't have time to read it before it is gone.

Also found this in the event recorder:
The computer has rebooted from a bugcheck.  The bugcheck was: 0x1000008e (0xc0000005, 0xbf0f6db2, 0xb4d73474, 0x00000000). A dump was saved in: C:\WINDOWS\Minidump\Mini121709-02.dmp.

As for SimConnect guess the version of FSX could be the problem.  I only have SP1 installed.   I do have some port overs (Shupe's planes) that I really like and thought I would probably loose them with SP2/Acceleration.


Below is part of the Plan-G log:
Wonder what the heck BeatlesBlog is?  LOL

9:50:14 PM RibbonButton_Click_ConnectFS
9:50:14 PM SimConnect.Connect
9:50:14 PM SimConnect.Connect - Remote. Mode = IPv6 Server = 0 Port = 0
9:50:14 PM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Open: iPort value is invalid
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, Int32 iPort, Boolean bIsIPV6)
   at FS._SimConnect.Connect()
9:50:46 PM RibbonButton_Click_ConnectFS
9:50:46 PM SimConnect.Connect
9:50:46 PM SimConnect.Connect - Remote. Mode = IPv6 Server =  Port = 0
9:50:46 PM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Open: iPort value is invalid
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, Int32 iPort, Boolean bIsIPV6)
   at FS._SimConnect.Connect()
9:51:12 PM RibbonButton_Click_ConnectFS
9:51:12 PM SimConnect.Connect
9:51:12 PM SimConnect.Connect - Remote. Mode = IPv4 Server =  Port = 0
9:51:12 PM SimConnect Exception received:BeatlesBlog.SimConnect.SIMCONNECT_RECV_EXCEPTION
9:51:32 PM SimConnect remote connection timed out
9:51:40 PM  DEBUG: removeAircraftOverlays
9:51:46 PM RibbonButton_Click_DisconnectFS
9:51:46 PM SimConnect.Disconnect
9:51:47 PM  DEBUG: removeAircraftOverlays
9:52:04 PM RibbonButton_Click_ConnectFS
9:52:04 PM SimConnect.Connect
9:52:04 PM SimConnect.Connect - local
9:52:04 PM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Pipe Connection Failed ---> System.IO.IOException: You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   at BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   --- End of inner exception stack trace ---
   at BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   at BeatlesBlog.SimConnect.SimConnect.OpenCommon(String strAppName)
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, String strPipeName)
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName)
   at FS._SimConnect.Connect()
9:52:22 PM RibbonButton_Click_ConnectFS
9:52:22 PM SimConnect.Connect
9:52:22 PM SimConnect.Connect - Remote. Mode = IPv4 Server = 127.0.0.1 Port = 0
9:52:22 PM SimConnect Exception received:BeatlesBlog.SimConnect.SIMCONNECT_RECV_EXCEPTION
9:52:42 PM SimConnect remote connection timed out
9:53:05 PM  DEBUG: removeAircraftOverlays
9:56:11 PM PlanG constructor
9:56:11 PM executableFolder: C:\Program Files\Microsoft Games\Plan-G
9:56:11 PM Starting Plan-G, build 0.8.1.389
9:56:11 PM FS9 is installed
9:56:11 PM FSX is installed
9:56:11 PM FSX database is built
9:56:11 PM Selected data set is FSX
9:56:14 PM Starting map
9:56:15 PM Initialisation complete.
9:56:51 PM RibbonButton_Click_ConnectFS
9:56:51 PM SimConnect.Connect
9:56:51 PM SimConnect.Connect - Remote. Mode = IPv6 Server =  Port = 0
9:56:51 PM SimConnect Exception received:BeatlesBlog.SimConnect.SIMCONNECT_RECV_EXCEPTION
9:57:11 PM SimConnect remote connection timed out
9:57:55 PM  DEBUG: removeAircraftOverlays9:50:14 PM RibbonButton_Click_ConnectFS
9:50:14 PM SimConnect.Connect
9:50:14 PM SimConnect.Connect - Remote. Mode = IPv6 Server = 0 Port = 0
9:50:14 PM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Open: iPort value is invalid
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, Int32 iPort, Boolean bIsIPV6)
   at FS._SimConnect.Connect()
9:50:46 PM RibbonButton_Click_ConnectFS
9:50:46 PM SimConnect.Connect
9:50:46 PM SimConnect.Connect - Remote. Mode = IPv6 Server =  Port = 0
9:50:46 PM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Open: iPort value is invalid
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, Int32 iPort, Boolean bIsIPV6)
   at FS._SimConnect.Connect()
9:51:12 PM RibbonButton_Click_ConnectFS
9:51:12 PM SimConnect.Connect
9:51:12 PM SimConnect.Connect - Remote. Mode = IPv4 Server =  Port = 0
9:51:12 PM SimConnect Exception received:BeatlesBlog.SimConnect.SIMCONNECT_RECV_EXCEPTION
9:51:32 PM SimConnect remote connection timed out
9:51:40 PM  DEBUG: removeAircraftOverlays
9:51:46 PM RibbonButton_Click_DisconnectFS
9:51:46 PM SimConnect.Disconnect
9:51:47 PM  DEBUG: removeAircraftOverlays
9:52:04 PM RibbonButton_Click_ConnectFS
9:52:04 PM SimConnect.Connect
9:52:04 PM SimConnect.Connect - local
9:52:04 PM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Pipe Connection Failed ---> System.IO.IOException: You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   at BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   --- End of inner exception stack trace ---
   at BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   at BeatlesBlog.SimConnect.SimConnect.OpenCommon(String strAppName)
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, String strPipeName)
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName)
   at FS._SimConnect.Connect()
9:52:22 PM RibbonButton_Click_ConnectFS
9:52:22 PM SimConnect.Connect
9:52:22 PM SimConnect.Connect - Remote. Mode = IPv4 Server = 127.0.0.1 Port = 0
9:52:22 PM SimConnect Exception received:BeatlesBlog.SimConnect.SIMCONNECT_RECV_EXCEPTION
9:52:42 PM SimConnect remote connection timed out
9:53:05 PM  DEBUG: removeAircraftOverlays
9:56:11 PM PlanG constructor
9:56:11 PM executableFolder: C:\Program Files\Microsoft Games\Plan-G
9:56:11 PM Starting Plan-G, build 0.8.1.389
9:56:11 PM FS9 is installed
9:56:11 PM FSX is installed
9:56:11 PM FSX database is built
9:56:11 PM Selected data set is FSX
9:56:14 PM Starting map
9:56:15 PM Initialisation complete.
9:56:51 PM RibbonButton_Click_ConnectFS
9:56:51 PM SimConnect.Connect
9:56:51 PM SimConnect.Connect - Remote. Mode = IPv6 Server =  Port = 0
9:56:51 PM SimConnect Exception received:BeatlesBlog.SimConnect.SIMCONNECT_RECV_EXCEPTION
9:57:11 PM SimConnect remote connection timed out
9:57:55 PM  DEBUG: removeAircraftOverlays



tim arnot

Go into the FC Connection dialog and make sure you select FSUIPC as the connection mode (*not* Auto or Simconnect). It could be the attempt to connect via Simconnect when you only have SP1 that's causing the problem.

Plan-G will not connect to SP1 Simconnect.

'BeatlesBlog' is a Simconnect Client library by Tim Gregson (the original author of Simconnect, and instrumental in the recent MS-LockMart deal), which eliminates much of the horrid faffing about when connecting across a LAN, and makes things *much* simpler from a managed programming POV. It does however require SP2.

Tim. @TimArnot

GOLF

Thanks for the info.
Guess I will have to bite the bullet and install SP2 and see what happens.
I guess if I don't like the sim that way I can always reinstall it.
Thanks again.
Irvin

tim arnot

Try the FSUIPC setting first - others are using SP1 that way with no trouble...

Tim. @TimArnot