News:

Thou shalt confirm thine airspeed on final, lest the earth rise up and smite thee. (pre-landing checklist, v1)

Main Menu

connection problem

Started by doebro2010, April 08, 2014, 09:19:45 PM

Previous topic - Next topic

doebro2010

I have plan G 3.1 latest
my FS is x-plane 10-25
I have within x-plane XUIPC and is correct installed.
When I click on connect a squere black box on left corner comes up with an arrow
but I dont see an aircraft on the map to follow the track
I also have tab the aircraft in user aircraft and also tab xuipc
anyone an idea where to look further?

doebro2010

I just found the culprit myself
had to give the adm rights to plan G

tim arnot

If your FS runs under admin rights, then Plan-G will also need admin rights. This is also true for any other program that wishes to connect to it.

Tim. @TimArnot

gerardbeugelsdijk

Goodmorning,

I have the same problem even if both programs run as admin.
When I connect, it appears to connect correctly, but the user aircraft doesn't show and the map doesn't jump to the choosen airport.
Also, Lock, sync and free do not respond.
Connection is through FSUIPC and IPv4
Locations only show filled out: FSX Program and Prepar 3D
User Aircraft parameters ticked: Display, Update TAS from FS and Show Waypoint alerts.

Greetings from the Netherlands,

Gerard

tim arnot

Can you attach the log file from when you try to connect?

Tim. @TimArnot

gerardbeugelsdijk

Sure, where do I find it?

tim arnot

My Documents\Plan-G Files.

Tim. @TimArnot

gerardbeugelsdijk

---===+++===---

06:06:20.3 Starting Plan-G, build 3.1.0.82
06:06:20.3 OS is Microsoft Windows NT 6.1.7601 Service Pack 1
06:06:20.5 InitDataFolder
06:06:20.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:06:20.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
06:06:20.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
06:06:20.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
06:06:20.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
06:06:20.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\UserWaypoints.sdf
06:06:20.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\MEF.sdf
06:06:21.3 Map tiles cache: C:\Users\Gerard\AppData\Local\GMap.NET\
06:06:21.5 Program in: C:\Program Files\Plan-G v3.1
06:06:21.5 Data in: C:\Users\Gerard\Documents\Plan-G Files
06:06:21.5 IsDataLoaded: FSX
06:06:21.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:06:21.9 Starting timer
06:06:21.9 DownloadCurrentMetars thread started
06:06:21.9 lTAF18Z.TXT started
06:06:21.9 Metar03Z.TXT started
06:06:21.9 Metar04Z.TXT started
06:06:22.7 sTAF00Z.TXT started
06:06:23.2 lTAF00Z.TXT started
06:06:23.6 sTAF00Z.TXT done
06:06:23.6 sTAF18Z.TXT started
06:06:24.2 sTAF18Z.TXT done
06:06:24.4 IsDataLoaded: FSX
06:06:24.4 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:06:24.5 IsDataLoaded: FS9
06:06:24.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
06:06:24.5 IsDataLoaded: P3D
06:06:24.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
06:06:24.5 IsDataLoaded: The database file cannot be found. Check the path to the database. [ Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf ]
06:06:24.5 IsDataLoaded: XPlane
06:06:24.5 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
06:06:24.9 Stopping timer
06:06:24.9 StartMap
06:06:25.0 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
06:06:25.4 NdbsInBounds 25
06:06:25.5 VorsInBounds 19
06:06:26.0 AirportsInBounds 51
06:06:27.4 AirspaceInBounds 105
06:06:27.4 NdbsInBounds 25
06:06:27.5 VorsInBounds 19
06:06:27.5 AirportsInBounds 51
06:06:27.6 AirspaceInBounds 105
06:06:27.9 IsDataLoaded: FSX
06:06:27.9 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:06:29.1 Metar04Z.TXT done
06:06:30.8 Metar03Z.TXT done
06:06:35.8 lTAF00Z.TXT done
06:06:37.9 lTAF18Z.TXT done
06:06:37.9 DownloadCurrentMetars done
06:06:38.8 ProcessMetars done
06:06:46.5 Initiating FSUIPC/XPUIPC connection.
06:06:46.5 FSUIPC/XPUIPC.Connect
06:06:47.1 Connect: FSUIPC.FSUIPCException: FSUIPC Error #14: FSUIPC_ERR_RUNNING. FSUIPC is not running.
   bij FSUIPC.FSUIPCConnection.Open(Byte ClassInstance, FlightSim RequiredFlightSimVersion)
   bij Plan_G3.Model.MyFSUIPC.Connect()
06:06:47.1 SetFSConnected: System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
   bij Plan_G3.Model.MyFSUIPC.Disconnect()
   bij Plan_G3.Model.MyFSUIPC.Connect()
   bij Plan_G3.ViewModel.MainViewModel.SetFSConnected(Boolean value)

gerardbeugelsdijk

Here's a new one after deleting FSUIPC and reinstalled it. Soor for the dutch lines.

---===+++===---

06:16:15.9 Starting Plan-G, build 3.1.0.82
06:16:15.9 OS is Microsoft Windows NT 6.1.7601 Service Pack 1
06:16:16.0 InitDataFolder
06:16:16.0 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:16:16.0 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
06:16:16.0 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
06:16:16.0 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
06:16:16.0 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
06:16:16.0 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\UserWaypoints.sdf
06:16:16.0 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\MEF.sdf
06:16:16.9 Map tiles cache: C:\Users\Gerard\AppData\Local\GMap.NET\
06:16:17.2 Program in: C:\Program Files\Plan-G v3.1
06:16:17.2 Data in: C:\Users\Gerard\Documents\Plan-G Files
06:16:17.2 IsDataLoaded: FSX
06:16:17.2 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:16:17.5 Starting timer
06:16:17.5 DownloadCurrentMetars thread started
06:16:17.5 Metar03Z.TXT started
06:16:17.5 Metar04Z.TXT started
06:16:17.5 lTAF18Z.TXT started
06:16:18.3 sTAF00Z.TXT started
06:16:18.8 lTAF00Z.TXT started
06:16:19.2 sTAF00Z.TXT done
06:16:19.2 sTAF18Z.TXT started
06:16:20.1 IsDataLoaded: FSX
06:16:20.1 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:16:20.1 IsDataLoaded: FS9
06:16:20.1 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
06:16:20.2 IsDataLoaded: P3D
06:16:20.2 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
06:16:20.2 IsDataLoaded: The database file cannot be found. Check the path to the database. [ Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf ]
06:16:20.2 IsDataLoaded: XPlane
06:16:20.2 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
06:16:20.2 sTAF18Z.TXT done
06:16:20.3 Stopping timer
06:16:20.3 StartMap
06:16:20.4 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
06:16:20.8 NdbsInBounds 25
06:16:20.9 VorsInBounds 19
06:16:21.4 AirportsInBounds 51
06:16:22.3 AirspaceInBounds 105
06:16:22.3 NdbsInBounds 25
06:16:22.3 VorsInBounds 19
06:16:22.4 AirportsInBounds 51
06:16:22.5 AirspaceInBounds 105
06:16:22.8 IsDataLoaded: FSX
06:16:22.8 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:16:25.0 lTAF00Z.TXT done
06:16:25.1 Metar04Z.TXT done
06:16:27.2 Initiating FSUIPC/XPUIPC connection.
06:16:27.2 SetFSConnected: System.IO.FileNotFoundException: Kan bestand of assembly FSUIPCClient, Version=2.0.4008.2, Culture=neutral, PublicKeyToken=null of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
Bestandsnaam: FSUIPCClient, Version=2.0.4008.2, Culture=neutral, PublicKeyToken=null
   bij Plan_G3.Model.MyFSUIPC..ctor()
   bij Plan_G3.Model.MyFSUIPC.<.cctor>b__6()
   bij System.Lazy`1.CreateValue()
   bij System.Lazy`1.LazyInitValue()
   bij System.Lazy`1.get_Value()
   bij Plan_G3.ViewModel.MainViewModel.SetFSConnected(Boolean value)

WRSCH: registratie van assembly-bindingen is uitgeschakeld.
Als u assembly-bindingsfouten wilt registreren, stelt u de registerwaarde [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) in op 1.
Opmerking: er is een prestatiestraf gekoppeld aan de registratie van assembly-bindingsfouten.
Als u deze functie wilt uitschakelen, verwijdert u de registerwaarde [HKLM\Software\Microsoft\Fusion!EnableLog].

06:16:28.8 Metar03Z.TXT done
06:16:29.9 lTAF18Z.TXT done
06:16:29.9 DownloadCurrentMetars done
06:16:31.0 ProcessMetars done

tim arnot

How did you delete FSUIPC? It looks like you've deleted part of Plan-G too.

Tim. @TimArnot

gerardbeugelsdijk

I have uninstalled and reinstalled Plan-G. Here's the new log.

06:00:02.5 Starting Plan-G, build 3.1.0.82
06:00:02.5 OS is Microsoft Windows NT 6.1.7601 Service Pack 1
06:00:02.8 InitDataFolder
06:00:02.8 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:00:02.8 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
06:00:02.8 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
06:00:02.8 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
06:00:02.8 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
06:00:02.8 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\UserWaypoints.sdf
06:00:02.8 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\MEF.sdf
06:00:03.8 Map tiles cache: C:\Users\Gerard\AppData\Local\GMap.NET\
06:00:04.0 Program in: C:\Program Files\Plan-G v3.1
06:00:04.0 Data in: C:\Users\Gerard\Documents\Plan-G Files
06:00:04.0 IsDataLoaded: FSX
06:00:04.0 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:00:04.5 Starting timer
06:00:04.5 DownloadCurrentMetars thread started
06:00:04.5 Metar03Z.TXT started
06:00:04.5 lTAF18Z.TXT started
06:00:04.5 Metar04Z.TXT started
06:00:05.5 sTAF00Z.TXT started
06:00:06.5 sTAF00Z.TXT done
06:00:06.5 lTAF00Z.TXT started
06:00:07.0 sTAF18Z.TXT started
06:00:07.2 IsDataLoaded: FSX
06:00:07.2 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:00:07.2 IsDataLoaded: FS9
06:00:07.2 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
06:00:07.3 IsDataLoaded: P3D
06:00:07.3 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
06:00:07.3 IsDataLoaded: The database file cannot be found. Check the path to the database. [ Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_P3D.sdf ]
06:00:07.3 IsDataLoaded: XPlane
06:00:07.3 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
06:00:09.0 sTAF18Z.TXT done
06:00:09.1 Stopping timer
06:00:09.1 StartMap
06:00:09.2 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
06:00:09.8 NdbsInBounds 25
06:00:09.9 VorsInBounds 19
06:00:10.4 AirportsInBounds 51
06:00:11.7 Metar04Z.TXT done
06:00:11.8 AirspaceInBounds 105
06:00:11.8 NdbsInBounds 25
06:00:11.8 VorsInBounds 19
06:00:11.9 AirportsInBounds 51
06:00:12.0 AirspaceInBounds 105
06:00:12.3 IsDataLoaded: FSX
06:00:12.3 Data Source = C:\Users\Gerard\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
06:00:17.6 Initiating FSUIPC/XPUIPC connection.
06:00:17.6 FSUIPC/XPUIPC.Connect
06:00:18.6 Connect: FSUIPC.FSUIPCException: FSUIPC Error #12: FSUIPC_ERR_SENDMSG. Error sending message to FSUIPC.
   bij FSUIPC.FSUIPCConnection.Process(Byte ClassInstance, IEnumerable`1 GroupNames)
   bij FSUIPC.FSUIPCConnection.Process(Byte ClassInstance, String GroupName)
   bij FSUIPC.FSUIPCConnection.Open(Byte ClassInstance, FlightSim RequiredFlightSimVersion)
   bij Plan_G3.Model.MyFSUIPC.Connect()
06:00:18.6 SetFSConnected: System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
   bij Plan_G3.Model.MyFSUIPC.Disconnect()
   bij Plan_G3.Model.MyFSUIPC.Connect()
   bij Plan_G3.ViewModel.MainViewModel.SetFSConnected(Boolean value)
06:00:19.6 Metar03Z.TXT done
06:00:20.9 lTAF00Z.TXT done
06:00:24.1 lTAF18Z.TXT done
06:00:24.2 DownloadCurrentMetars done
06:00:25.2 ProcessMetars done

tim arnot

Ok, so it's back to not being able to talk to XPUIPC. Do you have administrative rights for both X-Plane and Plan-G?

Tim. @TimArnot

gerardbeugelsdijk

How nice, now it works fine.

Is it fair to conclude that the solution (for other people with the same problem) is:

1. Delete everything you can find with the name: FSUIPC (I use the software "Everything" to search my drives)
2. Download and install a fresh FSUIPC.
3. Start FSX to see if it asks to trust FSUIPC
4. Uninstall and reinstall Plan-G
5. Start FSX and Plan-G as administrator.

Would it be possible to make error windows (with solutions) that pop up whenever there is a problem like this?

Thanks for your patience.