This is a discussion on a error to run my project contain the MagickNet.dll (Windows server 2003 + ii6.0) within the ASP and ASP.NET Programming forums, part of the Web Development category; I have a error to run my project contain the MagickNet.dll (Windows server 2003 + ii6.0),but it runs ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| I have a error to run my project contain the MagickNet.dll (Windows server 2003 + ii6.0),but it runs very well in windows server 2003 + ii5.0 and win xp +iis5.0, please help me. Server Error in '/child' Application. -------------------------------------------------------------------------------- Exception of type 'System.StackOverflowException' was thrown. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.StackOverflowException: Exception of type 'System.StackOverflowException' was thrown. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [StackOverflowException: Exception of type 'System.StackOverflowException' was thrown.] [ConfigurationErrorsException: Exception of type 'System.StackOverflowException' was thrown.] System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective) +580 System.Web.Configuration.CompilationSection.LoadAl lAssembliesFromAppDomainBinDirectory() +203 System.Web.Configuration.CompilationSection.LoadAs sembly(AssemblyInfo ai) +45 System.Web.Compilation.BuildManager.GetReferencedA ssemblies(CompilationSection compConfig) +193 System.Web.Compilation.WebDirectoryBatchCompiler.. ctor(VirtualDirectory vdir) +274 System.Web.Compilation.BuildManager.BatchCompileWe bDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +37 System.Web.Compilation.BuildManager.BatchCompileWe bDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +441 System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) +77 System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +611 System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +91 System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +122 System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +42 System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +32 System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +62 System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +385 System.Web.MapHandlerExecutionStep.System.Web.Http Application.IExecutionStep.Execute() +139 System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +146 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 |
| Sponsored Links |
| |||
,the following code is very well with windows 2003 + iis 6 when I configs for iis 5.0,it just cen't run well on iis6.0. I am very confused,and can't get method to resolve the problem.code: //convert svg to png public void StartConvertPng(string picPosition, string pngPath, string pngName) { MagickNet.Magick.Init(); MagickNet.Image img = new MagickNet.Image(picPosition); string test = pngPath + pngName; try { img.Write(test); }//debug here it displays System.StackOverflowExceprion{can't evalueate expression because the curren thread is a stack overflow} catch (Exception e) { Console.WriteLine("The process failed: {0}", e.ToString()); } MagickNet.Magick.Term(); } |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem in Numeric value in Windows Server 2003 | S.Vinothkumar | Database Support | 4 | 10-03-2007 02:23 AM |
| Windows 2003 server Domain Controler problem | arjkhanna | Server Management | 14 | 08-17-2007 12:12 PM |
| Can anybody list out the Ten best Windows Server 2003 command-line functions? | kingmaker | Operating Systems | 1 | 07-26-2007 12:09 AM |
| problem with migrating web server windows 2000 to windows 2003 | kingmaker | ASP and ASP.NET Programming | 1 | 07-20-2007 03:39 AM |
| What are the required components of Windows Server 2003 for installing Exchange 2003? | karunagaran | Server Management | 0 | 07-16-2007 11:21 PM |