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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compaq Visual Fortran v6.6 Professional doesn't Compile !!! 1

Status
Not open for further replies.

eXtremer

Technical User
Oct 14, 2006
33
MD
Hi all.
I'm an Sys Administrator at a University and I have a problema with Compaq Visual Fortran v6.6 Professional.
Under Administrator Account everythink is ok, but under Restricted Account it doesn't want to compile.
For example I want to make a Fortran Console Application (a "Hello World" sample project) and then when I want to compile it I recive such an error :

--------------------Configuration: Folder - Win32 Debug--------------------
Compiling Fortran...
Error spawning df.exe

say.obj - 1 error(s), 0 warning(s)

I tried to give write acc to the Folder where Fotran is installed in, then I gave write access to the User Profile
C:\Documents and Settings\user...but it didn't solve the problem.
Maybe I have to give write acc somewhere in the Regedit ?
I gave Full COntrol to this Key Name (and sub keys) => HKEY_LOCAL_MACHINE\SOFTWARE\DigitalEquipmentCorporation
& here
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio
..because I have installd Visual Studio 2005 too.

But still I get this error.
Please maybe somebody knows what to do !
10x in advance.
 
Might be worth tracking what happens with process explorer (used to get it from before Microsoft took over). It will tell you which DLLs and exes are used. It is possible that files like df.exe are accessible to sysadmin but not other users. You probably need to change the permissions on those files (I know how in Unix but not in Windows).
 
I resolved the problem, everythink is ok.
I found the keys in regedit & I gave them Full Control.
 
You have to give Full Control to the following Keys in regedit/regedt32 :

HKEY_LOCAL_MACHINE\SOFTWARE\CompaqComputerCorporation
HKEY_LOCAL_MACHINE\SOFTWARE\DigitalEquipmentCorporation
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevStudio

HKEY_CURRENT_USER\Software\CompaqComputerCorporation
HKEY_CURRENT_USER\Software\DigitalEquipmentCorporation
HKEY_CURRENT_USER\Software\Microsoft\DevStudio

To give Full Control for HKEY_CURRENT_USER you need to be logged with the account that the program will Run.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top