|
|
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 computerTo 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: - 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.
- 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:
- Create a folder structure on the development computer that matches the folder structure to be used on the target computer.
- Copy this folder to the target computer.
- Copy Visual C++ 2005 SP1 Redistributable Package to the target computer.
- Run VCRedist_x86.exe (or VCRedist_x64.exe) on the target computer.
- 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:
- Create a folder structure on the development computer that matches the folder structure to be used on the target computer.
- 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_[…].
- 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.
- 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.
- 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.
- 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
|
|
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.
|
|
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.
|
|
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.
|
|
Rank: Newbie Groups: Member
Joined: 5/29/2008 Posts: 4 Points: 12
|
Solved now, thanks. Really outstanding support even on evaluation.
|
|
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?
|
|
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.
|
|
|
Guest |