News:

Plan-G has over 1700 followers on FACEBOOK! Click HERE and add your support

Main Menu

.netframework error

Started by Sherman M. Kaplan, November 22, 2009, 01:19:59 PM

Previous topic - Next topic

Sherman M. Kaplan

First, let me say thank you for an excellent addon for our hobby.

I have the latest version of Plan-G and connect to fsx via FSUIPC VERSION 4.5.3.0

Every now and again I get the following pop up message while connected and in flight:
An unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediately.

I click on the "continue button" and everything is fine, though the popup may occur again.
This seems to happen when I am flying MP using FSINN and Copilot.
I suppose I can simply delete and reinstall the net framework modules (I have the latest 3.5 SP1), but is there something else that might be involved. Thanks for your help....again, great product.

Sherm

tim arnot

Is there anything indicated in the log file? What were you doing at the time?

Tim. @TimArnot

Sherman M. Kaplan

hi Tim....I am inclined to think that this issue is related to Plan-G and FSINN operating simultaneously. I just finished a flight using PLan-G...buit, I was not on FSINN...and there was no netframe work issue.
I have not checked the log...and have my event log disabled in XP Home...thanks for your attention...great program!

Sherm

tim arnot

I meant the Plan-G log file (Plan-G_Log.txt)

Also, which threw the exception? Plan-G or FSInn/FSCopilot?

Tim. @TimArnot

Sherman M. Kaplan

Here is the first section of the plan-g log

7:27:15 AM FSX is installed
7:27:15 AM FSX database is built
7:27:15 AM Selected data set is FSX
7:27:18 AM Starting map
7:27:19 AM Initialisation complete.
7:28:53 AM Opening RecentFileList: C:\Documents and Settings\Sherman M. Kaplan\My Documents\Flight Simulator X Files\VFR Menorca to BIARRITZ (341 KHz).pln
7:28:53 AM Opening Flight Plan
7:28:53 AM NodeList Item#0 Descr
7:28:53 AM NodeList Item#1 FlightPlan.FlightPlan
7:28:53 AM Waypoint = AirportN39° 51' 45.350769",E4° 13' 7.129855",+000295.00LEMH
7:28:53 AM Waypoint = NDBN41° 31' 9.76018",E2° 6' 10.979655",+000475.00LESBD
7:28:53 AM Waypoint = NDBN42° 13' 56.050424",E1° 24' 12.67024",+004028.00LESEO
7:28:53 AM Waypoint = NDBN43° 17' 18.199988",E0° 2' 58.699493",+001259.00LFTL
7:28:53 AM Waypoint = NDBN43° 28' 13.900716",W1° 24' 13.299487",+000242.00LFBZ
7:28:54 AM MEF Metres = 500 Feet = 1640 Rounded == 1700

7:28:54 AM MEF Metres = 1051 Feet = 3448 Rounded == 3500

7:28:54 AM MEF Metres = 3276 Feet = 10747 Rounded == 10800

7:28:54 AM MEF Metres = 3276 Feet = 10747 Rounded == 10800

7:28:54 AM CalculateRoute took 0.953 seconds
7:28:54 AM Drawing Flight Plan
7:28:54 AM DisplayFlightPlanDetail. MoveMap = True
7:28:54 AM Building lat/lon string for script
7:28:54 AM lats= 39.8625974357128   41.5193778276443   42.2322362288833   43.2883888855577   43.4705279767513
7:28:54 AM lngs= 4.21864718198776   2.10304990410805   1.40351951122284   0.0496387481689453   -1.40369430184364
7:28:56 AM Setting window title
7:28:56 AM Setting VFR/IFR flag
7:28:56 AM Checking plan weather (FSX only)
7:28:56 AM UpdatePlanWeather testing IsConnected
7:29:59 AM RibbonButton_Click_ConnectFS
7:29:59 AM SimConnect.Connect
7:29:59 AM SimConnect.Connect - local
7:30:01 AM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Pipe Connection Failed ---> System.IO.IOException: The network path was not found.

   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()
7:30:01 AM FSUIPC.Connect
7:30:02 AM Nearest WX to LAT 0 LON 0:
7:30:02 AM RequestWeatherAt: LEMH
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:02 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM Waiting
7:30:03 AM WX at LEMH:
7:30:03 AM FSX WX EVENT NOT RAISED!!!
7:30:03 AM RequestWeatherAt: SBD
7:30:03 AM Waiting
7:30:03 AM Waiting

tim arnot

Haven't seen that error before. You could try setting the SimConnect connection type to IPv4 - that seems to be more reliable than the default (which is Named Pipe). You'll also need to set the IP address to blank, and the port number to 0

Tim. @TimArnot

Sherman M. Kaplan

thanks, Tim...this is getting a little beyond my computer knowledge...I want to be very careful before changing anything. I  know that simconnect can be very touchy...but, if I feel gutsy enough....where do I find the text string to change?

Sherm

jschall

Quote from: shermank on November 22, 2009, 11:52:11 PM
...where do I find the text string to change?

No text editing here, Sherm. Just set your connection options in Global\Options\FS Connection

- Jeff Schallenberg
Mont Saint-Hilaire, Québec
FSX SP2, Windows 7, AMD FX-62, Nvidia GTX550ti

Sherman M. Kaplan

Here is my simconnect.cfg

[SimConnect]
Protocol=IPv4
Address=127.0.0.1
Port=
MaxReceiveSize=4096
DisableNagle=0

Tim, you mean I should eliminate 127.0.0.1 as my default IP address?
And, Jeff....I am not sure where to find global\options\fsconnection

Sorry to put you guys to all this trouble....I do appreciate your time... and knowledge

Sherm

tim arnot

Quote from: shermank on November 23, 2009, 12:07:55 AM
Tim, you mean I should eliminate 127.0.0.1 as my default IP address?

Correct. But in Options, NOT the cfg file.


QuoteAnd, Jeff....I am not sure where to find global\options\fsconnection
See pages 4 and 5 in the manual.

Tim. @TimArnot