Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
Tanya  
#1 Posted : Sunday, May 18, 2008 5:44:24 PM(UTC)
Tanya

Rank: Advanced Member

Groups: Member
Joined: 5/14/2007(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)
Description

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)

Resolution

To eliminate this problem you should install the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update on your development computer before using Graphics Mill for .NET 5.X.X. You can download this package from Microsoft site.

The link above provides with x64 and x86 editions of vcredist. You should install the edition which is corresponded to the used edition of Graphics Mill assemblies.

Edited by moderator Tuesday, May 29, 2012 2:24:15 AM(UTC)  | Reason: Not specified

Best regards,
Tatyana Bertyakova

UserPostedImage Follow Aurigma on Twitter!
kougar1994  
#2 Posted : Wednesday, May 21, 2008 4:49:50 AM(UTC)
kougar1994

Rank: Newbie

Groups: Member
Joined: 3/29/2008(UTC)
Posts: 1

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  
#3 Posted : Thursday, May 29, 2008 12:20:06 AM(UTC)
Alejandro

Rank: Newbie

Groups: Member
Joined: 5/28/2008(UTC)
Posts: 6

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  
#4 Posted : Thursday, May 29, 2008 5:45:29 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
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 Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Alejandro  
#5 Posted : Sunday, June 1, 2008 11:19:15 PM(UTC)
Alejandro

Rank: Newbie

Groups: Member
Joined: 5/28/2008(UTC)
Posts: 6

Solved now, thanks. Really outstanding support even on evaluation.
cmsturg  
#6 Posted : Tuesday, June 17, 2008 9:23:55 PM(UTC)
cmsturg

Rank: Newbie

Groups: Member
Joined: 6/17/2008(UTC)
Posts: 1

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  
#7 Posted : Thursday, June 19, 2008 8:07:29 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
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 Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
martinmoesby  
#8 Posted : Wednesday, January 7, 2009 6:13:38 PM(UTC)
martinmoesby

Rank: Newbie

Groups: Member
Joined: 1/7/2009(UTC)
Posts: 1

This is a nice post - but still I get the same error....
Using VS2008 or VS2005 makes no difference.

Installing the x64 bit version of GraphicsMill creates an error in VS - it cannot load the controls into the toolbox due to a x86-x64 error - Therefore I have installed the x86 version of GraphicsMill.

C++ redistributables have been installed for every concieveable combo of Visual Studio and platform...

Still the controls won't run.

Current Dev. PC configuration:

Vista Busines x64 (4GB RAM)

Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM
Microsoft .NET Framework Version 3.5
(Installed Edition: Professional)

Microsoft Visual Studio 2005 Version 8.0.50727.867 (vsvista.050727-8600)
Microsoft .NET Framework Version 2.0.50727 SP1
(Installed Edition: Enterprise)

So - what do I do now? Anyone have any suggestions?
Dmitry  
#9 Posted : Thursday, January 8, 2009 3:29:09 AM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

It seems something wrong with redistributable package. As you have 64 bit version of Windows we need to check the following: Please, take into account that redistributable packages should be downloaded from the certain links listed above.

To check whether redistributable package is installed correctly, go to C:\Windows\winsxs folder. You should find the following folders there:

For Microsoft Visual C++ 2005 SP1 Redistributable Package (x86):
  • x86_Microsoft.VC80.CRT_[...]_8.0.50727.762_[…];
  • x86_Microsoft.VC80.OpenMP_[...]_8.0.50727.762_[…].
For Microsoft Visual C++ 2005 SP1 Redistributable Package (x64):
  • amd64_Microsoft.VC80.CRT_[...]_8.0.50727.762_[…];
  • amd64_Microsoft.VC80.OpenMP_[...]_8.0.50727.762_[…].
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
IS_Chris  
#10 Posted : Tuesday, January 13, 2009 11:34:34 PM(UTC)
IS_Chris

Rank: Newbie

Groups: Member
Joined: 1/13/2009(UTC)
Posts: 1

I've just started an evaluation of Graphics Mill for .Net 5.0 and I'm getting the same error message, but for a different assembly (Auriga.GraphicsMill.Codecs.AviProcessor). Note that I don't get the message relating to the core library). I don't have VS2005 on this machine, I have VS2008 (with .Net framework 3.5). I don't want to have to install the VC2005 SP1 redistributable just for this purpose -- I don't have any other reason to have xxx2005 components on my web server -- is there any way to get a version of the Graphics Mill libraries built for 2008?


Dmitry  
#11 Posted : Wednesday, January 14, 2009 2:12:24 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

You get this error message for Aurigma.GraphicsMill.Codecs.AviProcessor.dll just because this assembly was loaded first.

Actually Visual C++ 2005 SP1 Redistributable is not part of Visual Studio, it is set of assemblies and dlls required by applications compiled with VC++ 2005 (I have no idea why Microsoft does not redistribute them within updates). You can be sure that installing Visual C++ 2005 SP1 Redistributable does not mean that you install VS2005 or some of its parts.

Unfortunately VS2008 does not help you to solve this issue. You need to install the exact files listed in this forum thread.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
mikro  
#12 Posted : Friday, March 20, 2009 12:15:21 PM(UTC)
mikro

Rank: Newbie

Groups: Member
Joined: 1/15/2008(UTC)
Posts: 4

I receive this same error, but I use click-once deployment for remote installations from VS 2008.

How do you install the Visual C++ 2005 SP1 Redistributable using click onceand VS 2008?
Dmitry  
#13 Posted : Monday, March 23, 2009 8:17:31 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Thanks for the report. I will check it and post results here.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Dmitry  
#14 Posted : Tuesday, March 24, 2009 10:35:39 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

The same problem is discussed here: http://stackoverflow.com/questions/122451/specifying-a-vc-redistributable-version-for-clickonce-prerequisite.

To resolve the issue you need to find Visual Studio 2005 SP1 installed on some machine and copy VC++ 2005 SP1 Redistributible bootstrapper from there to your VS2008. To do it, please, walk through the following steps:
  1. On a machine with VS2005 installed open c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages and copy the vsredist_x86 folder to the machine you are publishing from.
  2. Rename the folder to vsredist_x86_2005.
  3. Inside the folder, edit the \en\package.xml file. Change the <String Name="DisplayName"> tag to Visual C++ 2005 SP1 Runtime Libraries (x86) to differentiate it from the existing 2008 package.
  4. Copy the folder to C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages.
  5. Restart Visual Studio.
Now, when you open the Prerequisites dialog you should see Visual C++ 2005 SP1 Runtime Libraries (x86) package. You need to set this option and publish your application.
If you use x64 version of Graphics Mill you need to do the same with only one difference – bootstrapper should be for 64 bit VC++ 2005 SP1 Redistributable.

In case if you do not have VS2005 SP1 at hand, I attached bootstrappers to this post.

File Attachment(s):
vcredist_x64_2005.zip (3,090kb) downloaded 70 time(s).
vcredist_x86_2005.zip (2,624kb) downloaded 70 time(s).
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
mikro  
#15 Posted : Wednesday, March 25, 2009 1:53:45 AM(UTC)
mikro

Rank: Newbie

Groups: Member
Joined: 1/15/2008(UTC)
Posts: 4

Thank you Dmitry for your very detailed information.

This seems to be exactly what I was looking for.

After using Visual Studio 2008 for several months, I removed the Visual Studio 2005 installation from my computer.

I suppose that the VC++ 2005 Runtime bootstrapper package was also removed when I uninstalled Visual Studio 2005?

So for GraphicsMill V5, will I need to have prerequisites set for both the 2005 AND the 2008 vesions of the VC++ runtimes, or just the 2005 version?

Michael


Dmitry  
#16 Posted : Wednesday, March 25, 2009 4:07:30 AM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello Michael,

Graphics Mill requires VC++ 2005 SP1 Redistributable package only.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
rrchico  
#17 Posted : Sunday, September 20, 2009 11:52:25 AM(UTC)
rrchico

Rank: Newbie

Groups: Member
Joined: 9/20/2009(UTC)
Posts: 2

Hi,

I was trying to use GraphicsMill but unable to do so. I did install the C++ 2005 runtime x64. I'm trying to run this on IIS 7. I also checked the winsxs folder ;

amd64_microsoft.vc80.openmp_1fc8b3b9a1e18e3b_8.0.50727.762_none_338673a60d08dbcc
amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.762_none_c905be8887838ff2

Have I missed something?

here is the stack trace generated;

Could not load file or assembly 'Aurigma.GraphicsMill.Codecs.AdvancedPsd' or one of its dependencies. An attempt was made to load a program with an incorrect format.

=== Pre-bind state information ===
LOG: User = IIS APPPOOL\DefaultAppPool
LOG: DisplayName = Aurigma.GraphicsMill.Codecs.AdvancedPsd
(Partial)
LOG: Appbase = file:///C:/Users/Richard/Documents/Visual Studio 2008/Projects/PASTA/WebApplication1/
LOG: Initial PrivatePath = C:\Users\Richard\Documents\Visual Studio 2008\Projects\PASTA\WebApplication1\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\Richard\Documents\Visual Studio 2008\Projects\PASTA\WebApplication1\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/webapplication1/8581d8c9/6c14da19/Aurigma.GraphicsMill.Codecs.AdvancedPsd.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/webapplication1/8581d8c9/6c14da19/Aurigma.GraphicsMill.Codecs.AdvancedPsd/Aurigma.GraphicsMill.Codecs.AdvancedPsd.DLL.
LOG: Attempting download of new URL file:///C:/Users/Richard/Documents/Visual Studio 2008/Projects/PASTA/WebApplication1/bin/Aurigma.GraphicsMill.Codecs.AdvancedPsd.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.



Stack Trace:


[BadImageFormatException: Could not load file or assembly 'Aurigma.GraphicsMill.Codecs.AdvancedPsd' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190

[ConfigurationErrorsException: Could not load file or assembly 'Aurigma.GraphicsMill.Codecs.AdvancedPsd' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11207304
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232
System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210
System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +191
System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +54
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +295
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +476
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +116
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +175
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +52
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +50
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +425
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +263




Dev. Enviroment:
Windows 7 Ultimate x64
Visual Studio 2008 SP1
Installed Visual C++ 2005 with SP1 x64
rrchico  
#18 Posted : Sunday, September 20, 2009 12:10:26 PM(UTC)
rrchico

Rank: Newbie

Groups: Member
Joined: 9/20/2009(UTC)
Posts: 2

Fixed the problem above by removing the reference of Aurigma.GraphicsMill and Aurigma.GraphicsMill.Codecs.AdvancedPsd on my project. I then also removed the said dll's from the bin directory of my project. I added the reference again and it worked. The reason, it was looking on C:\Program Files (x86) because at first I referenced it to an x86 installation which I uninstalled.
Alex Kon  
#19 Posted : Monday, September 28, 2009 7:15:01 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Administration
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
*** Update for the upcoming Graphics Mill for .NET v5.5

Due to security vulnerability found in ATL (Microsoft Security Bulletin MS09-035) Graphics Mill for .NET v5.5 and higher requires Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update to be installed instead of Microsoft Visual C++ 2005 SP1 Redistributable Package mentioned above.

Also, if you are adding runtime libraries as private assemblies - note that Graphics Mill for .NET v5.5 now references to version 8.0.50727.4053 of VC80.CRT & VC80.OpenMP libraries instead of 8.0.50727.762.

Edited by user Thursday, December 17, 2009 1:51:48 AM(UTC)  | Reason: Not specified

Drastik  
#20 Posted : Wednesday, November 11, 2009 6:04:44 PM(UTC)
Drastik

Rank: Newbie

Groups: Member
Joined: 11/11/2009(UTC)
Posts: 1

Incase anyone at Aurigma will care to know..

I am a potential customer trying to evaluate Graphics Mill 5.5

I have Visual Studio 2008 (isn't 2010 coming out soon?)

Having to find this dependency to a VS 2005 redistributable (and its security update) buried deep in the forums cost me ~2hrs.

I think this is more than what most persons evaluating your software will be willing to go through.

Perhaps, like me, you may also consider it appropriate to update at least the forum post:

http://forums.aurigma.co...usiness-card-editor.aspx

that is referenced by a shortcut in your software with this information.

Even better might be to update your software which already prompts to download and install:

ASPAJAXExtSetup.msi

with prompts for these other dependencies.

I may be wrong, but I think this might possibly help with sales of your product to new users..



Users browsing this topic
2 Pages12>
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.