Skip to main content

DOTNET to ACUCOBOL

  • August 30, 2011
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 29 August 2011]

Hi
We have a web site created using ASP MVC3 from where we call our Acucobol applications using Interop.AcuGTObjects.
This works well on 32-bit systems.
We have now installed Visual Studio 2010, ASP MVC3 and Acucobol on a new machine, using Windows 7 64bit. When starting out, we get:
Server Error in '/SveaWeb_deploy' Application.
Could not load file or assembly 'Interop.AcuGTObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Do we have a clash here between 32 and 64 bit?
Or have we not registered everything correctly?

Anyone doing something similar?

Robert

2 replies

Christopher Ryan
  • Participating Frequently
  • 45 replies
  • August 30, 2011

[Migrated content. Thread originally posted on 29 August 2011]

Hi
We have a web site created using ASP MVC3 from where we call our Acucobol applications using Interop.AcuGTObjects.
This works well on 32-bit systems.
We have now installed Visual Studio 2010, ASP MVC3 and Acucobol on a new machine, using Windows 7 64bit. When starting out, we get:
Server Error in '/SveaWeb_deploy' Application.
Could not load file or assembly 'Interop.AcuGTObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Do we have a clash here between 32 and 64 bit?
Or have we not registered everything correctly?

Anyone doing something similar?

Robert
You can't load 32-bit DLLs in a 64-bit process. One option is setting the website to run in 32-bit mode.

  • Author
  • Rocketeer
  • 19312 replies
  • August 30, 2011

[Migrated content. Thread originally posted on 29 August 2011]

Hi
We have a web site created using ASP MVC3 from where we call our Acucobol applications using Interop.AcuGTObjects.
This works well on 32-bit systems.
We have now installed Visual Studio 2010, ASP MVC3 and Acucobol on a new machine, using Windows 7 64bit. When starting out, we get:
Server Error in '/SveaWeb_deploy' Application.
Could not load file or assembly 'Interop.AcuGTObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Do we have a clash here between 32 and 64 bit?
Or have we not registered everything correctly?

Anyone doing something similar?

Robert
That was the answer!!
Also some work getting the Acucobol Automation Server registered and with the right permissions, then everything worked fine.
Thank you GMCfourX4.