相关疑难解决方法(0)

无法找到模块'mscorwks.dll'

我尝试使用winDBG来调试转储文件.当我运行.loadby sos mscorwks.dll时

它给了我一个错误信息.无法找到模块'mscorwks.dll'

谁看过这个吗?

.net windows windbg

30
推荐指数
3
解决办法
2万
查看次数

System.DirectoryServices.DirectorySearcher导致"算术运算导致溢出"错误

我收到以下与使用DirectorySearcher.FindOne()或查询AD相关的间歇性错误 FindAll().

System.OverflowException: Arithmetic operation resulted in an overflow.
     at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.GetCurrentResult()
     at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.get_Current()
     at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.System.Collections.IEnumerator.get_Current()
Run Code Online (Sandbox Code Playgroud)

这是在一个Web应用程序中发生的,似乎是在应用程序运行了几个小时后发生的.

这是Microsoft Connect上的文档问题,但看起来它已标记为"不可重现"并已关闭.

我在这里找到的唯一解决方案是定期回收应用程序池,这是一个相当苛刻的解决方法,当用户处于工作中时不可行.

有没有人经历过这个,如果是这样,这是如何解决的?

我曾尝试使用缓存,但这只会延迟不可避免的事情,直到你达到AD调用次数的某个阈值,因为人们已经报告每次调用API时它会泄漏内存.

任何帮助将非常感激.

.net directoryservices memory-leaks active-directory

23
推荐指数
1
解决办法
2099
查看次数

尝试读取转储时"无法加载符号"

我有一个应用程序,有时会在Win XP机器上导致BSOD.试图找到更多信息,我加载了生成的*.dmp文件(来自C:\ Windows\Minidump),但是在执行此操作的大部分读取时收到此消息:

*********************************************************************
* Symbols can not be loaded because symbol path is not initialized. *
*                                                                   *
* The Symbol Path can be set by:                                    *
*   using the _NT_SYMBOL_PATH environment variable.                 *
*   using the -y <symbol_path> argument when starting the debugger. *
*   using .sympath and .sympath+                                    *
*********************************************************************
Run Code Online (Sandbox Code Playgroud)

这意味着什么,我该如何"修复"它?

windows bsod windows-xp crash-dumps

7
推荐指数
3
解决办法
3万
查看次数

直播服务器有时候asp.net应用程序,找不到任何理由?

我的asp.net应用程序有时在实时服务器上关闭.所有用户都面临黄色错误屏幕.当我深入研究问题时,我找到了痕迹.

抛出了类型'System.Web.HttpUnhandledException'的异常.在System.Web.UI的System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint)的System.Web.UI.Page.HandleError(Exception e)处的=====> stact trace ====>位于System.Web.UI.Page.ProcessRequest()的System.Web.UI.Page.ProcessRequest()的.Page.ProcessRequest(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)位于c的ASP.emr_patient_callbacks_patientappointments_aspx.ProcessRequest(HttpContext context)中的System.Web.UI.Page.ProcessRequest(HttpContext context)\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\05f0ecab\db8ea090\App_Web_wgoawcvo.0.cs:System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep中的第0行.在System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean&completedSynchronously)的System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep步骤)执行()

此异常发生在随机而非特定位置或特定点击上.但是当我在IIS上重新启动我的应用程序时,应用程序正常工 但又出现了几个小时相同的问题.

c# asp.net iis web-deployment

5
推荐指数
0
解决办法
373
查看次数