Topic : Script Error when starting Ride

Forum : ARM

Original Post
Post Information Post
May 12, 2009 - 1:09pm
Guest

Hi,

i'm working with Ride 7 Version 7.18.0903. Until yesterday everything was working fine. But now if i start Ride 7 i get an error message "Script Error (line 2)!". If I confirm this message Ride will start up and everything seems to be ok. But when i open a project i get another message "Scrip Error (line 9)!. 'objFSO' is Null or no Object." and Ride crashes.
I also tried to remove and reinstall Ride and RKit, but the problem persists.
How can i solve this issue?

Best regards
Ralf

Replies
Post Information Post
+1
0
-1
May 12, 2009 - 3:42pm
Raisonance Support Team

Hi Ralf,

This looks quite bad. That could be a Windows problem.
Can you open regedit and go to the "HKEY_CLASSES_ROOT\Scripting.FileSystemObject". Right-click on it and select Permissions. Then check what restrictions are in place here. You may not have access to the object, and changing the "owner" of the key may be sufficient to fix your problem.
Also check:HKEY_CLASSES_ROOT\Scripting.FileSystemObject\CLSID.

Also check that you do not have an antivirus or firwall that blocks file system access from scripts. Just disable your antivirus and firewall and check what happens.

You can use the example at Symantec - Determining whether Script Blocking is protecting your computer to check if your computer is "scriptable".

Anyway, let us know what happens, as other users may encounter the same issue.

Regards,
Bruno

+1
0
-1
May 12, 2009 - 4:37pm
Guest

Hi Bruno,

thanks for the quick reply.
I checked the registry entries and compared it to another registry of a virtual machine which runs on my PC (same XP version and service pack). I found that on my PC 3 entries were completely missing:

"HKEY_CLASSES_ROOT\Scripting.FileSystemObject"
"HKEY_CLASSES_ROOT\Scripting.Encoder"
"HKEY_CLASSES_ROOT\Scripting.Signer"

I also set the CLSID-values of the entries to the values which are used on the virtual machine.

I created the 3 keys and checked the permissions. The owner is the Adminstrator and i'm logged in as Administrator. After resetting the PC i tried the *.vbs-file from Symantec. On the virtul machine you can see that a file will be created and deleted on the desktop. But on my PC the script runs, but a can't see that a file will be created. But the script dont gives an error message or anything else. So i suppose the the scripting works but not to 100%.
I also switched off both the firewall and the antivirus.
But Ride 7 acts strange like before. The error messages are exactly the same.

Do you have any other suggetsions how to solve this?

Best regards
Ralf

+1
0
-1
May 15, 2009 - 9:18am
Guest

Hi,

in the meantime i spend a lot of time to fix this problem.
During this i found out that also Visual Studio is also not working correctly. It's not possible to create a new project. The reason is probably the same like with Ride 7. Both programs seems to use the Windows Script Host (WSH). So i think to reinstall the WSH should fix this. But unfortunatley i'm running a PC with XP and SP3. And for the SP3 there is no installation file available for the WSH from Microsoft. The most recent version is 5.7. But if i start this, i says that a newer version of WSH is already installed an stops operation. So the only way should be to fix this manually. But how to do it???

Ralf

+1
0
-1
May 15, 2009 - 10:51am
Guest

Hi

This problem seems to be related to Windows more than Visual or Raisonance.
The only way to resolve such issue that i know is to resinstall Windows.
I know this is an extreme solution but I have been in relation with few customers which had similar issues.
We have been loosing a lot of time searching for a solution but everytime we had to reinstall Windows to get back to a normal situation.

Regards,
Matloub

+1
0
-1
May 15, 2009 - 10:56am
Guest

Hi Matloub,

thanks for the reply.
These are bad news, but i expected something like this.
I will reinstall Windows in the next time and will post the results.

Best regards
Ralf