Page 1 of 1

ERROR

PostPosted: Sat May 05, 2012 10:10 pm
by Flying Trucker
Good evening everyone... :)

This just happened when I start REX2 and Weather.

ERROR-HRESULT_FAIL has been returned from a call to a COM COMPONENT

Can someone please give me a fix for this... :)

Re: ERROR

PostPosted: Sun May 06, 2012 12:29 pm
by Groundbound1

Re: ERROR

PostPosted: Sun May 06, 2012 2:57 pm
by Flying Trucker
Thanks Groundbound1... :)

I am at the point of not starting the weather in REX but using the other features only.

Will have a look and see what can be done from the Link you posted... ;)

Re: ERROR

PostPosted: Mon May 07, 2012 9:12 am
by Flying Trucker
Think I am going to have to get help with this one... ;)

It is above me what they are talking about in that Link... ;D

Thanks... ;)

Re: ERROR

PostPosted: Mon May 07, 2012 5:20 pm
by andy190
This the important bit Doug:

CAUSE:

The following a possible causes of the HRESULT E_FAIL error message: The following possible causes of a the HRESULT E_FAIL error message:

1. First REX is blocked by the users firewall to access the internet.

2. Second Simconnect is blocked by users firewall for both inbound and outbound connections.

3. Third Memory problem with HD cloud usage.

4. 4th Wrong version of Simconnect is being used with REX and FSX.

5. 5th Starting the REX weather engine without FSX running.

6. 6th Simconnect version has become corrupted.

7. 7th FSX.CFG file has become corrupted.

8. 8th Running the standard version of FSX and not the deluxe version. 

SOLUTION:

The solutions suggested are all related to outside of REX and may require some work to get operational. The suggested solutions are all related to outside of REX and may require some work to get operational.

Issue #1 - The user needs grant permissions for the rex.exe and rexwxengine.exe files to have access to the internet through their firewall. REX will need to access the internet to download various files for weather information. REX will need to access the internet to download various files for weather information.

Issue #2 - The user needs to grant inbound and outbound permission with their firewall for the correct version of Simconnect. We are using the Simconnect version supplied in the SDK with SP1. We are using the version supplied in the SimConnect SDK with SP1. This can downloaded from www.fsinsider.com . We also provide a copy of the Simconnect.msi within the main folders where REX is installed.

Issue #3 - Sometimes this occurs when the HD clouds are used under 32-bit. It is recommended that the user go to the "Options" window of REX and make sure that the "DXT5" option is checked. Then click the "Save" button. The user will need to reinstall their textures before they start FSX.

Issue #4 - Many have moved from the original RTM version of FSX to SP2 or Acceleration. Because of possible backwards compatibility issues we have stayed with SP1. Thus, users that have not installed SP1 would need to be sure to install the Simconnect version supplied with SP1. This can downloaded from www.fsinsider.com . We also provide a copy of the Simconnect.msi within the main folders where REX is installed. PLEASE NOTE YOU MAY BE REQUIRED TO GO BACK TO FSX RTM THEN INSTALL SP1, THEN INSTALL SP2/ACCELERATION.

Issue #5 - Some have set REX to manually start FSX, but in forgetting that FSX is not started they will click the "OK" button on the pop-up window within REX. REX will then try to engage the weather engine with out FSX and thus throw the HRESULT error.

Issue #6 - We have come across that various versions of Simconnect can become corrupt and thus, each version needs to be re-installed. Please note that we feel this is a last resort, but we have found that this has fixed a lot of issues. We also recommend that users backup previously installed aircraft and scenery before following this procedure. To fix this the user must uninstall all versions of FSX and then proceed to install them in order: FSX RTM, SP1, then SP2 or Acceleration.

Issue #7 - During the process of updating the FSX.cfg, the file has become corrupted. Delete this file and let FSX rebuild the file automatically at start up.

Issue #8 - REX requires that you are running FSX deluxe edition. REX is not operational with FSX standard edition.

Re: ERROR

PostPosted: Mon May 07, 2012 6:09 pm
by Flying Trucker
Thanks Andy...much appreciated... :)

Re: ERROR

PostPosted: Wed May 09, 2012 2:08 pm
by Flying Trucker
Hi Andy and all... :)

Checked DXT5 setting...OK
Firewall...OK

I am thinking as it worked prior to Bojote's Tweaking/Tuning Tool it might have something to do with that.

I can still use REX2 without the weather...no problem...