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