当我试图在VS中使用F5调试应用程序时,它显示以下异常:
从这个信息中,我只能推断出调试器在执行此操作时崩溃了。
External component has thrown an exception.
以下是堆栈跟踪信息:
描述:在当前 Web 请求执行期间发生未处理的异常。请查看堆栈跟踪以获取有关错误的更多信息以及其在代码中的来源。
异常详细信息:
System.Runtime.InteropServices.SEHException: External component has thrown an exception.`
错误来源:
当前的网页请求执行过程中发生了未处理的异常。可以通过以下异常堆栈跟踪信息确定异常的来源和位置。
堆栈跟踪:
[SEHException (0x80004005): External component has thrown an exception.]
Microsoft.Win32.Win32Native.CreateFile(String lpFileName, Int32 dwDesiredAccess, FileShare dwShareMode, SECURITY_ATTRIBUTES securityAttrs, FileMode dwCreationDisposition, Int32 dwFlagsAndAttributes, IntPtr hTemplateFile) +0
Microsoft.Win32.Win32Native.SafeCreateFile(String lpFileName, Int32 dwDesiredAccess, FileShare dwShareMode, SECURITY_ATTRIBUTES securityAttrs, FileMode dwCreationDisposition, Int32 dwFlagsAndAttributes, IntPtr hTemplateFile) +29
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +936
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +82
System.IO.StreamWriter.CreateFile(String path, Boolean append) +55
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +121
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) +29
System.Web.Compilation.StandardDiskBuildResultCache.SavePreservedSpecialFilesCombinedHash(Int64 hash) +116
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate2(StandardDiskBuildResultCache diskCache) +752
System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(StandardDiskBuildResultCache diskCache) +55
System.Web.Compilation.BuildManager.RegularAppRuntimeModeInitialize() +174
System.Web.Compilation.BuildManager.Initialize() +261
System.Web.Compilation.BuildManager.InitializeBuildManager() +246
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +350
[HttpException (0x80004005): External component has thrown an exception.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9013676
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
从这个信息中,我只能推断出调试器在执行此操作时崩溃了。
Microsoft.Win32.Win32Native.SafeCreateFile()
这里有什么问题,您有什么想法吗?