View previous topic :: View next topic |
Author |
Message |
alex21
Joined: 20 Apr 2011 Posts: 75 Location: Australia
|
Posted: Thu Aug 18, 2011 7:28 am Post subject: Unable to communicate with FTN95LIB |
|
|
I have been using ftn95 and dbk_link4 to build .NET libraries on a Windows Server 2003 x86 system which was working fine. Recently I upgraded to Windows Server 2008 x64 and now I face this issue:
Code: |
ftn95 example.f95 /CLR /CLR_ver 4 /REF Dependency.dll
*** Error creating .NET support. ClrCreateManagedInstance returned 0x80070002
[FTN95/.net Ver. 6.10.0 Copyright (c) Silverfrost Ltd 1992-2011]
*** Unable to communicate with FTN95LIB
|
What could be the cause of this? Could it be a compatibility issue with 64 bit operating systems? I've tried uninstalling and reinstalling FTN95 already. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8255 Location: Salford, UK
|
Posted: Thu Aug 18, 2011 7:50 am Post subject: |
|
|
I am not an expert in this field but I suggest that you check that all the relevant .NET frameworks are installed. Failing that you could try reinstalling FTN95. |
|
Back to top |
|
 |
alex21
Joined: 20 Apr 2011 Posts: 75 Location: Australia
|
Posted: Thu Aug 18, 2011 7:52 am Post subject: |
|
|
Problem was solved by copying the contents of FTN95\include into FTN95. The issue was that ftn95 was looking in the GAC for ftn95lib.dll and it was not registered in the GAC. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8255 Location: Salford, UK
|
Posted: Thu Aug 18, 2011 12:30 pm Post subject: |
|
|
I would expect ftn95lib.dll to be installed in the GAC during installation of FTN95. So you need to reinstall FTN95.
Alternatively you can run gacutil.exe in order to install ftn95lib.dll in the GAC. |
|
Back to top |
|
 |
|