OnCourse Software
http://www.ocs-support.co.uk/forums/

Runtime Error 91
http://www.ocs-support.co.uk/forums/viewtopic.php?t=1690
Page 1 of 1
Author:  martinlest [ Sat Sep 19, 2015 9:01 pm ]
Post subject:  Runtime Error 91

Hi.

I've read this:

viewtopic.php?f=4&t=675

and the FAQ... I installed PFE into a new PC (Win7 x64) but I am getting the runtime 91 error in the same situations as in the above thread.

The FAQ says this:

Q: I'm using Vista and when adjusting the FP altitudes after saving them I get an ok then I get a runtime error 91 box popping up. "Object variable or With block variable not set" then it shuts down.
A: Sounds like you may have had a installation problem. Go to your main PFE folder and double click on the file named XInstall3.exe

I have no XInstall3.exe file in PFE (installed from the CD-ROM). So I tried reinstalling PFE into the original location... I get 'registry successful' and choose the original location of the install. Then I run the installer: it immediately quits with no further action.

So please tell me - what should I do now?

Thanks.

Author:  Dave Leesley [ Sun Sep 20, 2015 10:22 am ]
Post subject:  Re: Runtime Error 91

Did this ever happen on your old system or is it because you have a brand new PC?
Is your system upto date with all runtime files and dot net framework and it sounds like you may have some files missing and maybe not from PFE.
Maybe Dave M can shed some light...

Author:  Dave March [ Sun Sep 20, 2015 10:26 am ]
Post subject:  Re: Runtime Error 91

What version of PFE are you running?

Author:  martinlest [ Tue Sep 22, 2015 11:13 am ]
Post subject:  Re: Runtime Error 91

Hi. No, I never had this error before ("Run-time error '91': Object variable or With block variable not set")... only since I installed PFE on the new system (Win7 x64, like the old PC).

My PFE is version 2.15.0 - the updater says this is the latest version. (Do I have to install a manual update?)

I have MS NET 1.1 and MS NET 4.5.1 installed... Are there others that I would need to have for PFE to function correctly? (Apart from this runtime error it works just fine otherwise).

Thanks.

Martin

Author:  martinlest [ Thu Sep 24, 2015 10:27 am ]
Post subject:  Re: Runtime Error 91

Just to be clear.. PFE shows the run-time error message and quits when I click on anything at all in the 'Adjust Waypoint Altitudes...' box.

Author:  martinlest [ Fri Oct 02, 2015 1:44 pm ]
Post subject:  Re: Runtime Error 91

Any ideas? I am going abroad on 04/09 and won't be back (with the sim) till mid-November....

Author:  Dave March [ Fri Oct 02, 2015 7:43 pm ]
Post subject:  Re: Runtime Error 91

You said in an earlier post you installed from a CD. What version was that?

Author:  martinlest [ Fri Oct 02, 2015 7:57 pm ]
Post subject:  Re: Runtime Error 91

Hi. Not sure, but as I have so many extra files that I have made over the past few years, I installed PFE from the CD-ROM, then deleted the 'out of the box' installation folder, replacing it with the backed up, larger, PFE folder from my old PC (which has all the files updated from the available files on the website). Both O/Ss are Win7x64.

I did the same for FDC, with no problems...

Author:  martinlest [ Fri Oct 02, 2015 9:20 pm ]
Post subject:  Re: Runtime Error 91

..I will try installing from scratch, applying all the updates manually as per the pdf instructions and report back. I am perhaps having issues as I just copied the old up-to-date installation to the new PC from the old, after having run the setup from the CD-ROM....

Author:  martinlest [ Fri Oct 02, 2015 9:47 pm ]
Post subject:  Re: Runtime Error 91

OK, my fault clearly - I assumed that just copying over the 2.15 folders after installation from the CD-ROM would work, but clearly not. I have run all the updates to v2.15 manually, then copied across all my extra flightplans and so forth. No run-time error now..

Thanks.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited