ASN in networked configuration

A320-Daniel

New member
Hi Hifisim-Team.

I currently trying to configure ASN with P3Dv2.3 in a networked setup.
I did the same already (on the same computers) with AS2012 and P3Dv1.4 which works absolutely fine.

Sharefolders on the server computer for P3Dv2 and AppData and OwnData is done. I have read/write access from client to those shares on the server computer. No AV-software is running on the client and server and Firewall is completely disabled.

- Latest P3Dv2 SDK has been installed on server computer
- Simconnect.msi CANNOT be installed on client computer because it is not part of the SDK and also not located in the P3Dv2 main folder. According to Lockheed Martin SDK documentation simconnect.msi is not included because it is not needed anymore.
- ASN Build 5360 installed on client computer
- AS_connect has been installed on the server computer
- SimConnect.xml have been checked
- AITraffic.exe shows a connection when started on the server computer
- AITraffic.exe shows a connection when started on the client computer
- all relevant files are NOT set to "Read only"

Here my problem:
- ASN shows "waiting for simulator" and doesn't give any connection to P3Dv2.3

I tried to rename the LockheedMartin.Prepar3D.SimConnect.dll in ASN-mainfolder to force the start of FSX-Simconnect. Same result.

here my log export from ASN: (with LockheedMartin.Prepar3D.SimConnect.dll NOT renamed)

StartupWindowSize.Width=900
StartupWindowSize.Height=726
SettingsStartDocked=1
DebugStartDocked=1
WxConfigurationStartDocked=1
[ASN Dates]
LastTimeWeatherDownloaded=09/07/2014 16:24:15
BackupLastTimeWeatherDownloaded=09/07/2014 16:24:15
[Map Options]
refLat=0
refLon=0
mapRange=4000

ASN_SimConnectionLog.txt
18:24:15:0856-Pre Connect P3D_Connected = False
18:24:15:0856-P3D Connect Pre Attempt: Instantiated = False / mConnected = False
18:24:15:0900-Sim general message:Sim Msg: p3d_simconnect is NOTHING ...
18:24:15:0925-Sim general message:Sim Msg: Connection request sent ...
18:24:15:0942-Sim general message:SimConnect Msg: Data request sent ...
18:24:15:0944-P3D Connect Post Attempt: Instantiated = True / mConnected = False
18:24:15:0945-P3D Connection Attempted
18:24:15:0945-Post Connect P3D_Connected = False
18:24:25:0850-Pre Connect P3D_Connected = False
18:24:25:0850-P3D Connect Pre Attempt: Instantiated = True / mConnected = False
18:24:25:0850-Sim general message:Sim Msg: p3d_simconnect is NOT NOTHING ...
18:24:25:0852-Sim general message:Sim Msg: Failed to connect - Please ensure P3D is running: Connection Instantiated but Connected event has not yet been recevied..
18:24:25:0852-Sim general message:Sim Msg: Connection closed
18:24:25:0853-P3D Connect Post Attempt: Instantiated = True / mConnected = False
18:24:25:0853-P3D Connection Attempted
18:24:25:0853-Post Connect P3D_Connected = False

Options\Prepar3DOptions.cfg
[General options]
FSVersion=Prepar3D
[Audio options]
EnabledVoiceSets=Canada-1,Germany-1,Sweden-East-1,USA-East-1,USA-Mid-1,USA-West-1

ASN_Log
18:24:11:0378-Verifying Active Sky Next for Prepar3D License
18:24:11:0434-AppPath = C:\Program Files (x86)\HiFi\ASNext_P3D
18:24:11:0434-AppDataPath = C:\Users\AST\AppData\Roaming\Hifi\ASNP3D\
18:24:11:0465-P3DPath = \\SERVER\P3Dv2
18:24:11:0471-P3DAppDataPath = \\SERVER\P3Dv2AppData
18:24:12:0495-Airport station list initialized!
18:24:12:0545-VOR station list initialized!
18:24:12:0728-Map image provider initialized!
18:24:12:0738-NDB station list initialized!
18:24:12:0866-Wx Station Database loaded: 11903 station(s)
18:24:13:0069-Weather station list initialized!
18:24:13:0658-Loading previously loaded weather...
18:24:13:0770-Bytes in bin section of extended data: 2686320
18:24:15:0476-Current Version = 1.0.5360.26664 / Latest Official Version = 1.0.5235.35922
18:24:15:0785-Prepar3D SimConnect interface initialized
18:24:15:0868-LockHeed Martin Prepar3D SimConnect instantiated!
18:24:15:0967-Weather read complete
18:24:15:0971-Local client IP address: 192.168.1.208 - Port: 19284
18:24:16:0046-Downloading global weather data for 07.09.2014 (16Z)...
18:24:16:0052-Scanning servers for best performance...
18:24:16:0344-http://nimbus.hifitechinc.com/ = 491ms
18:24:16:0469-http://stratus.hifitechinc.com/ = 224ms
18:24:16:0758-http://cirrus.hifitechinc.com/ = 488ms
18:24:16:0891-http://cumulus.hifitechinc.com/ = 132ms
18:24:17:0183-http://calvus.hifitechinc.com/ = 291ms
18:24:17:0183-Best server: http://cumulus.hifitechinc.com/ - 132ms
18:24:21:0062-Using Client ID: 059D172A3315D488DE1EC801A99B3C97
18:24:24:0216-Start Download Content License Result Check
18:24:24:0217-Finished Download Content License Result Check in 1 ms
18:24:24:0218-Start Download File Output
18:24:24:0226-Saving weather to disk
18:24:24:0657-Finished Download File Output
18:24:24:0658-Start Decrypt/Decompress
18:24:24:0658-Populating weather stream with new data...
18:24:24:0760-Bytes in bin section of extended data: 2686320
18:24:26:0454-Weather read complete
18:24:26:0463-Download complete
18:24:26:0469-Downloading pireps for 07.09.2014 (16Z)...
18:24:26:0470-Using Client ID: 059D172A3315D488DE1EC801A99B3C97
18:24:26:0706-Pirep Data Received...

Registry Settings:
Install_Path = C:\Program Files (x86)\HiFi\ASNext_P3D
License = 87788J-******-******-******
P3DPath = \\SERVER\P3Dv2
P3DAppDataPath = \\SERVER\P3Dv2AppData



Any help is highly appreciated! :)

Thank you very very much!
Daniel
 

kterz

Developer
Staff member
Hi Daniel

the renaming of LockheedMartin.Prepar3D.SimConnect.dll will only work if fsx simconnect.msi is available and installed. I specifically suggested this in other cases, as in multiple cases (including your case and on my personal setup) the P3D version of simconnect that comes with P3D does not work ok. In these cases, the "old" fsx sp2 simconnect seems to be more reliable and ASN works ok. The problem seems to be specific to the managed client (this specific dll). AITraffic.exe does not use the managed client as ASN (being a .NET app) needs, so it works. That's my theory at least
 

A320-Daniel

New member
Hi Kostas,

first of all many thanks for your help. I will try that immediately and uninstall P3Dv2-SDK and install the fsx sp2 sdk. I'll reply back in a few minutes.

Thanks
Daniel
 

A320-Daniel

New member
So, here the result:

all done as advised.
- deinstalled P3Dv2-SDK on the server
- installed FSX SP2 SDK on the server
- transffered the simconnect.msi from the server to the client
- uninstalled SimConnect Client on the client computer
- uninstalled FSX SDK on the client (SP1A was installed)
- installed simconnect.msi
- renamed LockheedMartin.Prepar3D.SimConnect.dll to LockheedMartin.Prepar3D.SimConnect.dll_orig
- started P3Dv2 and ASN

same result...

any further ideas?

Many thanks for your help
Daniel
 

kterz

Developer
Staff member
Daniel,

can you share logs once again? I suppose AITraffic.exe has been re-checked, correct?
 

A320-Daniel

New member
Sure. AITraffic.exe says again connected to Simulator

Here the latest log:

ASN.cfg
[ASN Settings]
CurrOptionsFile=Prepar3DOptions
StationFilesNeedUpdating=0
StartupWindowPosition.X=314
StartupWindowPosition.Y=96
StartupWindowSize.Width=900
StartupWindowSize.Height=726
SettingsStartDocked=1
DebugStartDocked=1
WxConfigurationStartDocked=1
[ASN Dates]
LastTimeWeatherDownloaded=09/07/2014 18:45:56
BackupLastTimeWeatherDownloaded=09/07/2014 18:45:56
[Map Options]
refLat=0
refLon=0
mapRange=4000

ASN_SimConnectionLog.txt
20:45:57:0426-Pre Connect P3D_Connected = False
20:45:57:0426-P3D Connect Pre Attempt: Instantiated = False / mConnected = False
20:45:57:0914-Sim general message:Sim Msg: fsx_simconnect is NOTHING ...
20:45:58:0067-Sim general message:Sim Msg: Connection request sent ...
20:45:58:0089-Sim general message:SimConnect Msg: Data request sent ...
20:45:58:0093-P3D Connect Post Attempt: Instantiated = True / mConnected = False
20:45:58:0093-P3D Connection Attempted
20:45:58:0093-Post Connect P3D_Connected = False
20:46:06:0738-Pre Connect P3D_Connected = False
20:46:06:0738-P3D Connect Pre Attempt: Instantiated = True / mConnected = False
20:46:06:0738-Sim general message:Sim Msg: fsx_simconnect is NOT NOTHING ...
20:46:06:0781-Sim general message:Sim Msg: Failed to connect - Please ensure FS is running: Connection Instantiated but Connected event has not yet been recevied..
20:46:06:0782-Sim general message:Sim Msg: Connection closed
20:46:06:0782-P3D Connect Post Attempt: Instantiated = True / mConnected = False
20:46:06:0782-P3D Connection Attempted
20:46:06:0782-Post Connect P3D_Connected = False
20:46:16:0739-Pre Connect P3D_Connected = False
20:46:16:0739-P3D Connect Pre Attempt: Instantiated = True / mConnected = False
20:46:16:0739-Sim general message:Sim Msg: fsx_simconnect is NOT NOTHING ...
20:46:16:0739-Sim general message:Sim Msg: Failed to connect - Please ensure FS is running: Connection Instantiated but Connected event has not yet been recevied..
20:46:16:0740-Sim general message:Sim Msg: Connection closed
20:46:16:0740-P3D Connect Post Attempt: Instantiated = True / mConnected = False
20:46:16:0740-P3D Connection Attempted
20:46:16:0740-Post Connect P3D_Connected = False
20:46:26:0753-Pre Connect P3D_Connected = False
20:46:26:0753-P3D Connect Pre Attempt: Instantiated = True / mConnected = False
20:46:26:0753-Sim general message:Sim Msg: fsx_simconnect is NOT NOTHING ...
20:46:26:0753-Sim general message:Sim Msg: Failed to connect - Please ensure FS is running: Connection Instantiated but Connected event has not yet been recevied..
20:46:26:0754-Sim general message:Sim Msg: Connection closed
20:46:26:0754-P3D Connect Post Attempt: Instantiated = True / mConnected = False
20:46:26:0754-P3D Connection Attempted
20:46:26:0754-Post Connect P3D_Connected = False
20:46:36:0759-Pre Connect P3D_Connected = False
20:46:36:0759-P3D Connect Pre Attempt: Instantiated = True / mConnected = False
20:46:36:0759-Sim general message:Sim Msg: fsx_simconnect is NOT NOTHING ...
20:46:36:0759-Sim general message:Sim Msg: Failed to connect - Please ensure FS is running: Connection Instantiated but Connected event has not yet been recevied..
20:46:36:0760-Sim general message:Sim Msg: Connection closed
20:46:36:0760-P3D Connect Post Attempt: Instantiated = True / mConnected = False
20:46:36:0760-P3D Connection Attempted
20:46:36:0760-Post Connect P3D_Connected = False
20:46:46:0768-Pre Connect P3D_Connected = False
20:46:46:0768-P3D Connect Pre Attempt: Instantiated = True / mConnected = False
20:46:46:0768-Sim general message:Sim Msg: fsx_simconnect is NOT NOTHING ...
20:46:46:0768-Sim general message:Sim Msg: Failed to connect - Please ensure FS is running: Connection Instantiated but Connected event has not yet been recevied..
20:46:46:0769-Sim general message:Sim Msg: Connection closed
20:46:46:0769-P3D Connect Post Attempt: Instantiated = True / mConnected = False
20:46:46:0769-P3D Connection Attempted
20:46:46:0769-Post Connect P3D_Connected = False

Options\Prepar3DOptions.cfg
[General options]
FSVersion=Prepar3D
[Audio options]
EnabledVoiceSets=Canada-1,Germany-1,Sweden-East-1,USA-East-1,USA-Mid-1,USA-West-1

ASN_Log
20:45:42:0071-Verifying Active Sky Next for Prepar3D License
20:45:42:0456-AppPath = C:\Program Files (x86)\HiFi\ASNext_P3D
20:45:42:0457-AppDataPath = C:\Users\AST\AppData\Roaming\Hifi\ASNP3D\
20:45:42:0522-P3DPath = \\SERVER\P3Dv2
20:45:42:0526-P3DAppDataPath = \\SERVER\P3Dv2AppData
20:45:45:0449-Airport station list initialized!
20:45:46:0296-Wx Station Database loaded: 11903 station(s)
20:45:46:0352-VOR station list initialized!
20:45:48:0880-Weather station list initialized!
20:45:49:0134-NDB station list initialized!
20:45:49:0361-Loading previously loaded weather...
20:45:49:0367-Map image provider initialized!
20:45:49:0710-Bytes in bin section of extended data: 2686320
20:45:56:0621-Prepar3D SimConnect interface initialized
20:45:56:0792-Weather read complete
20:45:56:0876-Local client IP address: 192.168.1.208 - Port: 19284
20:45:57:0458-Unable to instantiate P3D LM Simconnect: Die Datei oder Assembly "LockheedMartin.Prepar3D.SimConnect, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
20:45:57:0458-Attempting FSX SP2 Simconnect instantiation...
20:45:57:0478-FSX SP2 SimConnect instantiated!
20:45:57:0839-Current Version = 1.0.5360.26664 / Latest Official Version = 1.0.5235.35922
20:45:58:0607-Downloading global weather data for 07.09.2014 (18Z)...
20:45:58:0651-Scanning servers for best performance...
20:45:59:0030-http://nimbus.hifitechinc.com/ = 578ms
20:45:59:0269-http://stratus.hifitechinc.com/ = 338ms
20:45:59:0562-http://cirrus.hifitechinc.com/ = 492ms
20:45:59:0795-http://cumulus.hifitechinc.com/ = 232ms
20:46:00:0240-http://calvus.hifitechinc.com/ = 444ms
20:46:00:0437-Best server: http://cumulus.hifitechinc.com/ - 232ms
20:46:07:0540-Using Client ID: 059D172A3315D488DE1EC801A99B3C97
20:46:14:0571-Start Download Content License Result Check
20:46:14:0571-Finished Download Content License Result Check in 0 ms
20:46:14:0572-Start Download File Output
20:46:14:0582-Saving weather to disk
20:46:14:0654-Finished Download File Output
20:46:14:0655-Start Decrypt/Decompress
20:46:14:0655-Populating weather stream with new data...
20:46:14:0784-Bytes in bin section of extended data: 2686320
20:46:16:0347-Weather read complete
20:46:16:0367-Download complete
20:46:16:0374-Downloading pireps for 07.09.2014 (18Z)...
20:46:16:0374-Using Client ID: 059D172A3315D488DE1EC801A99B3C97
20:46:16:0666-Pirep Data Received...

Registry Settings:
Install_Path = C:\Program Files (x86)\HiFi\ASNext_P3D
License = 87788J-******-******-******
P3DPath = \\SERVER\P3Dv2
P3DAppDataPath = \\SERVER\P3Dv2AppData
 

kterz

Developer
Staff member
Not sure what's going on... You say you uninstalled P3Dv2-SDK on the server. I am not sure this is needed. I was thinking more of along the lines of this:
http://www.prepar3d.com/forum-5/?mingleforumaction=viewtopic&t=5547

(just use SimConnect.msi from <Prepar3D v2 install folder>\redist\Interface\FSX-SP2-XPACK\retail\lib)

I think some mismatch happens here. May be the server side SDK has to be from P3D SDK and the client side from fsx sp2? This seems as the most stable combo as far as I can tell.
 

A320-Daniel

New member
- uninstalled FSX SP2 SDK
- installed latest P3Dv2 SDK on the server
- uninstalled the Simconnect Client on the client computer
- installed the simconnect.msi from P3D (FSX SP2 redist)

same result. same log

Any further idea?

The server is running win7 64-bit. and the Client is running Vista 64-bit. I'm currently doing the latest Vista updates... but I don't expect this to solve the problem...

Thanks again for your time and help
Daniel
 

kterz

Developer
Staff member
When all else fails, it always comes back to the firewall :) What firewall do you use ? Some firewalls don't disable "completely". Is ASNext.exe excluded? (along with an open simconnect port, radar connection port and the file and sharing enabled?)
 

A320-Daniel

New member
In both Computers there is only the windows firewall installed. On both Computers the firewall is disabled in Windows. I'm a little bit lost... I'd love to use ASN in my cockpit as I am sure that is the software to go for...
 

A320-Daniel

New member
By the Way: Installation of xGauge worked without a problem. Not sure if that Information is helpful so I just thought I pass it over :)
 

A320-Daniel

New member
Not sure what finally made it! I'm happy! IT WORKS!!!! Maybe it has been the windows updates. There have been several updates required in I had the computer running the whole night to do all the updates. I just tried it out again today. P3D connects immediately.

Thanks again Kostas for your help! Highly appreciated! First impression of the software is really stunning!!! Many thanks again

Daniel
 
Top