在win 2003+iis6引用一个c++库,出错
我的.net工程引用了一个MagickNet.dll库(它是c++写的),然后我在Windows server 2003 用vs2005调试运行的很好,但是部署到iis6上就报下面的错误,把网站->属性->服务->选中以iis5隔离模式运行,又运行的很好,另外在xp+iis5上也是能很好的运行(没有2005环境),请大家帮忙,非常感谢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 --------------------编程问答--------------------
补充:.NET技术 , ASP.NET