Forums

Welcome Guest Search | Active Topics | Members

INFO: Could not load file or assembly Aurigma.GraphicsMill problem Options
Tanya
Posted: Monday, May 19, 2008 1:44:24 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 5/15/2007
Posts: 5
Points: 9
Since Graphics Mill for .NET 5.0 was released, we have received a number of emails from our customers who get the following error whenever run an application which uses Graphics Mill for .NET 5.0.

Quote:
[FileLoadException: Could not load file or assembly 'Aurigma.GraphicsMill, Version=5.0.82.0, Culture=neutral, PublicKeyToken=af7154c50c505858' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)]


Eliminating this problem on the development computer

To eliminate this problem you should install the Microsoft Visual C++ 2005 SP1 Redistributable Package on your development computer before using Graphics Mill for .NET 5.0. You can download this package from Microsoft site:

Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)

Microsoft Visual C++ 2005 SP1 Redistributable Package (x64)

Eliminating this problem on the target computer

If you are going to distribute your application which uses Graphics Mill for .NET 5.0 to computers where it is not guaranteed that Visual C++ 2005 is installed, you should redistribute Visual C++ DLLs along with your application. There are three ways to redistribute Visual C++ DLLs with your application:

  1. Use Visual C++ Redistributable Merge Modules to install a particular Visual C++ library as shared side-by-side assemblies into the native assembly cache (WinSxS folder). This is the primary recommended way for redistributing Visual C++ libraries. Access to this folder requires that the installer application be run by a user with administrative rights.

  2. Use Visual C++ 2005 SP1 Redistributable Package to install all Visual C++ libraries as shared side-by-side assemblies into the native assembly cache (WinSxS folder). This package can be downloaded from the Microsoft download site using links above. To deploy Visual C++ libraries by using Visual C++ 2005 SP1 Redistributable Package, perform the following steps:

    1. Create a folder structure on the development computer that matches the folder structure to be used on the target computer.
    2. Copy this folder to the target computer.
    3. Copy Visual C++ 2005 SP1 Redistributable Package to the target computer.
    4. Run VCRedist_x86.exe (or VCRedist_x64.exe) on the target computer.

  3. Install a particular Visual C++ DLLs as a private assemblies for the application using files provided in the c:\Windows\WinSxS directory. This way is recommended to enable installation of applications by users who do not have administrative rights or when it should be possible to run an application from a share. To deploy Visual C++ DLLs as private assemblies, perform the following steps:

    1. Create a folder structure on the development computer that matches the folder structure to be used on the target computer.
    2. On your development machine open c:\Windows\WinSxS folder and copy the following folders to the folder containing binary assemblies in your application:
      x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_[…];
      x86_Microsoft.VC80.OpenMP_1fc8b3b9a1e18e3b_8.0.50727.762_[…].
    3. Rename folders copied in the previous step:
      x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_[…] to Microsoft.VC80.CRT;
      x86_Microsoft.VC80.OpenMP_1fc8b3b9a1e18e3b_8.0.50727.762_[…] to Microsoft.VC80.OpenMP.
    4. Open c:\Windows\WinSxS\Manifests folder on your development machine, take the following files:
      x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_[…].manifest
      x86_Microsoft.VC80.OpenMP_1fc8b3b9a1e18e3b_8.0.50727.762_[…].manifest,
      and copy them to Microsoft.VC80.CRT and Microsoft.VC80.OpenMP folders, accordingly.
    5. Rename the files copied in the previous step:
      x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_[…].manifest file to Microsoft.VC80.CRT.manifest
      x86_Microsoft.VC80.OpenMP_1fc8b3b9a1e18e3b_8.0.50727.762_[…].manifest file to Microsoft.VC80.OpenMP.manifest.
    6. After that make installation package included the files and folders prepared above and redistribute it.

Note:
  • Make sure that you copy folders with dlls and manifests of .762 version (this version should be in the name of folders and manifest files).
  • If you use x64 system you should copy the same folders and manifests with the difference that their names are started with x64_[...]

See the Choosing a Deployment Method topic for details.



Best regards,
Tatyana Bertyakova
kougar1994
Posted: Wednesday, May 21, 2008 12:49:50 PM
Rank: Newbie
Groups: Member

Joined: 3/29/2008
Posts: 1
Points: 3
This is good info although a pretty major bug to release with a new version. I had this problem and contacted your tech support directly with this error message and they had no clue how to fix it. They should read the forum too.
Alejandro
Posted: Thursday, May 29, 2008 8:20:06 AM
Rank: Newbie
Groups: Member

Joined: 5/29/2008
Posts: 4
Points: 12
Have Sp1 installed and also latest update for Sp1 and still get this message. Using a spanish Visual Studio 2005 edition and service packs.
Can run the compiled demos as distributed by you but not the sample projects from Visual Studio IDE.
Thanks in advance.
Dmitry
Posted: Friday, May 30, 2008 1:45:29 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 471
Points: 243
Hello,

Have you tried to install Microsoft Visual C++ 2005 SP1 Redistributable Package?

If you use Graphics Mill 5.0 32-bit version, you need to install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86), for Graphics Mill 5.0 x64 version you need Microsoft Visual C++ 2005 SP1 Redistributable Package (x64).

Sincerely yours,
Dmitry Sevostjanov.
Alejandro
Posted: Monday, June 02, 2008 7:19:15 AM
Rank: Newbie
Groups: Member

Joined: 5/29/2008
Posts: 4
Points: 12
Solved now, thanks. Really outstanding support even on evaluation.
cmsturg
Posted: Wednesday, June 18, 2008 5:23:55 AM
Rank: Newbie
Groups: Member

Joined: 6/18/2008
Posts: 1
Points: 3
If we are developing a web application, will the Microsoft Visual C++ 2005 SP1 Redistributable Package have to be installed on the server as well?
Dmitry
Posted: Friday, June 20, 2008 4:07:29 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 471
Points: 243
Hello,

cmsturg wrote:
If we are developing a web application, will the Microsoft Visual C++ 2005 SP1 Redistributable Package have to be installed on the server as well?


Yes, you need to install it.

Sincerely yours,
Dmitry Sevostjanov.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.