Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP Problems with SSD 1

Status
Not open for further replies.

k2a

Programmer
Jun 26, 2012
133
DE
My W7 system has been converted from a HDD- into a SSD-System, so the image of the c-partion was just copied to the SSD drive. The W7 operates just fine but the VFP behaves now quite strangely.
1. When I modify any forms and run it, an error message pops up “<form name>.sct is missing” then VFP quits. Needless to say that the sct-file is not missing and it always complains about this file. After restarting VFP it reappears with all the same windows open, all modification made are still there and now it run the form.
2. When running a form which contains an oleCalendar object, now I get an error “OLE Error code 0x80040154 Class not registered”.

Has anybody an idea what could cause this strange behavior?
I’d regret if i am being forced back to the old HDD-System but that worked correctly.

Klaus
 
I can't confirm that changing from a HDD system to SSD does cause these problems, as I did that step without these problems.

If that was the only change, then I feel your pain, but you surely have to investigate more into specifics, eg AHCI mode vs IDE mode, specific drive, driver etc.

Bye, Olaf.
 
Yes, SSD was the sole change made and the system runs in the AHCI mode. It is still mysterious the way VFP behaves now. I did not see similar occurrence elsewhere.

The other problem I mentioned went away. I found an earlier message on this side from you explaining how to register ole classes.

Regards,
Klaus
 
Hm, if you needed to reregister OLE classes, then the move from HDD to SSD wasn't done by creating an HDD image and restoring it to SSD, the registry would then still include the needed entries for the OCXes.

So how did you move? I was using Acronis as I made the same transition from HDD to SSD, and I was at IDE mode before and AHCI mode now. That was a little problem on it's own, but I didn't lost registry entries for ole controls.

Bye, Olaf.

 
I usually use Acronis by myself, but this transformation was done by someone else and they used the Linux platform.

Klaus
 
Makes me wonder. Perhaps they really just did file copies, that won't work. DD would be a command copying blockwise.

No matter how, it seems your copy isn't really well done. Reinstalling VFP might help with VFP problems. As you have Win7, I recommend you change installation destination directory to C:\Users\Public\VFP9

Several DBFs are indexed the first time you make use of eg Code REferences or other Tools, and the same goes with PRGs, VCXes, etc, so you better not install into C:\Program Files\. Tools will work, but fxps, vct files etc. will be saved to your user profile as /Program Files/ is read/execute only, but not writable due to UAC. The writing is redirected into C:\Users\username\AppData\Local\VirtualStore then.

This doiesn't explain your problems, but the non registration of OCXes tells me other things are also not right.

Bye, Olaf.
 
Olaf, thanks a lot for your quick response and the offered solution. I’ll follow your advice and reinstall VFP, but I cannot do before the weekend.

So, I keep you informed.

Thanks,
Klaus
 
Hi Olaf,

as far as I understood, you suggested to installing a fresh VFP to new destination and leave original VFP alone. Since my current installation causes problems, wouldn’t it be better to uninstall the VFP and make a fresh installation. My own application could hardly be the cause to crash the VFP, also it complains that sct-files are missing. An Acronis backup could always bring back to this status.

What do you think?

It is quite a time ago since my last VFP installation, I think there is also a country-specific service pack required. Do you know where to get it and is there something else required?

The pain running the current VFP is unbearable.

Regards,
Klaus
 
I suggested reinstalling VFP. That can or cannot include deinstalling. It makes sense to deinstall first, when installing to another directory than before. So, yes - deinstall first.

If you're german the locale specific IDE tanslation can (could) be bought at DFPUG, but there is no locale specific service pack the localisation is independant on the service pack as it's a sepearte DLL. For german it's the vfp9deu.dll (not vfp9Rdeu.dll, that comes from MS, the dll without the R (like Runtime) in the name, is what localizes the IDE). If you already purchased the localisation you should have that DLL seperate.

What is true perhaps, but I don't know for sure, is that the vfp9deu.dll needs to fit for the service pack level of the vfp9.exe. Mainly this dll is a resource dll stuffed with texts and all resources in there have certain addresses/offsets, which need to fit where vfp.exe is looking for. So there might have been 3 versions of the vfp9deu.dll for VFP9 without SP, with SP1 and with SP2. If that's the case I think you get all three versions from DFPUG.

Bye, Olaf.
 
Bad news, the error message “<form name>.sct is missing or is invalid, still occurs after a new VFP installation.

This opens the question could there be something wrong with my own application? The error occurs after making any change to a form and save it to run the form. After that VFP does not react anymore and VFP must be restarted, but the changes made are not lost. Those failures do not happen at every change and run operation, the occurrence varies.

Right now I'm totally lost and frustrated. The last resort might be back to HHD.

Regards,
Klaus
 
You can try one more thing, because...

...Googling I find some references on the error "sct is missing or invlaid" poiinting to antivirus software intercepting foxpro. What you try is config your antivirus software to exclude the file extensions of sct,scx and several more from scanning.

Bye, Olaf.
 
Still, no luck.

In the meantime i created an new image backup using Acronis from my hdd drive with all VFP develop stuff on it. Running the VFP from that hdd drive, VFP never failed. Then restored that image onto the same ssd drive and now the same error message “<form name>.sct is missing or is invalid" appears when modifying any forms.

BTW, my motherboard does not support the AHCI mode.

Olaf, you said earlier that you made the same transition from HDD to SSD. What type of ssd drive do you use?

Regards,
Klaus
 
I have a 512GB Samsung 830 series drive. I don't get the benchmarks result as you find in tests, but I know this has to do with the Controller on my mainboard not being ideal to combine with that drive.

If you don't have AHCI it's maybe also time to change mainboard, which of course rather means a totally new system. I can't recommend using Samsung just because it works for me, I know the combination of controller and ssd should be good, it's not just the drive itself, that matters.

Bye, Olaf.
 
Hi, Olaf!

I just want to inform you, that the cause of VFP crashing has been discovered. The trouble is produced by Kasperski Small Office Security system. This affect can be reproduced as soon as KSOS is active VFP crashes and when KSOS is stopped VFP runs stable. Those crashes do not only occur while making changes to forms but also when modifying tables.

In early January 2013 the KSOS has been installed on my system as well as the new SSD drive, which gave me the impression that the SSD must be the culprit.

Sorry Olaf to kept you busy.

Just approached Kasperski to investigate that problem.

Regards,
Klaus
 
Well, I said:

Googling I find some references on the error "sct is missing or invlaid" poiinting to antivirus software intercepting foxpro.

Maybe youu didn't understand what I meant. It's known that Kasperski and other antivuirus products analyze files you edit, not only scx/sct, but also dbfs, and both excluding file types and also folders helps.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top