Link to home
Start Free TrialLog in
Avatar of Aleks
AleksFlag for United States of America

asked on

Error in Visual Project

I have a system that when installed on one computer works fine, but when I try to install it in another computer with the same version of windows and visual studio installed I get the error below. I have checked the settings on IIS and folder permissions, everything I can think of I still get the error. Any help is greatly appreciated.

QFEBridgeTest error '80070002'

Could not load file or assembly 'QuikFormsEngine, Version=5.4.6138.29377, Culture=neutral, PublicKeyToken=227dd225964096dd' or one of its dependencies. The system cannot find the file specified.

/bluedot_qtr2_2017/Intranet/Cases/forms_bridgecall.asp, line 2177 

Open in new window

SOLUTION
Avatar of Dorababu M
Dorababu M
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aleks

ASKER

Yes. It doesn't appear to be an issue on the DLL because it works fine on two other computers I have which have the exact same software installed as the two that give that error.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aleks

ASKER

That is correct. The dll is there though. And everyone has permissions to the dll folder.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aleks

ASKER

the DLL is inside a website under its own folder.
We actually have to run a series of commands to install the project, its a 'bridge' between a 32 bit application and a 64 bit web service.

Here are the commands we run:

1. Stop IIS
2. Delete QF file 
3. Replace: Root\QFEBridgeTest\QFEBridgeTest\bin\Release
4. Run CMD as ADMIN

cd C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin
TYPE:  Sn –k C:\QF\QuikBridge.snk
ildasm C:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QFEBridgeTest.dll /outC:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QFEBridgeTest.il
ildasm C:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QuikFormsEngine.dll /outC:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QuikFormsEngine.il

cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
ilasm C:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QFEBridgeTest.il /dll /key=C:\QF\QuikBridge.snk
ilasm C:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QuikFormsEngine.il /dll /key=C:\QF\QuikBridge.snk
regasm C:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QFEBridgeTest.dll /codebase /tlb:C:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QFEBridgeTest.tlb
regasm C:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QuikFormsEngine.dll /codebase /tlb:C:\Web\QFEBridgeTest\QFEBridgeTest\bin\Release\QuikFormsEngine.tlb

5. Open Visual Studio: On the solution explorer expand the section “References” and REMOVE  “QuikFormsEngine”
6. On the solution click "Clean"
7. Build
8. Restart IIS

Open in new window

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aleks

ASKER

Seems there was an issue with the DLL itself. A new one was provided by the vendor and I was then able to install it
Not sure what to do with the points
if you want to credit some of the answers, you could choose your own answer (42134468) as accepted solution and give assist points to some  or all of the answers.

if not, you could make a request to delete the question.

Sara
Avatar of Aleks

ASKER

Was an error on the DLL itself, but awaring points for putting the time into investigating more.
Thanks!