微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我的网站突然显示IOException,Nopcommerce

如何解决我的网站突然显示IOException,Nopcommerce

我有一个nopcommerce平台上运行的网站。我不熟悉nopcommerce,但已被指派解决此问题。我在ASP.net上确实有经验,这可能会有所帮助。

有一天,该网站刚刚关闭,并按照附件显示了生产服务器中的以下错误。 我们发现,当我们将数据库切换到uat数据库时,它可以正常工作,这可以推断出程序本身(但数据库)可能没有问题。我怀疑生产数据库中的某些数据可能会导致错误,但是我仍然无法完全隔离问题。我们尝试使用许多断点,但发现在通过Application_Start()

后,我们无法进入我们的主.cshtml文件

编辑:这些测试在生产服务器和测试服务器上都进行,两个数据库在这两个服务器上。

我们比较了主题和目录配置设置,但类似。 我们还被告知要删除ASP.NET临时文件夹中的文件,但这也不起作用。 顺便说一下,DB是sql Server。

预先感谢

Server Error in '/' Application.
The file or directory is corrupted and unreadable.
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.IO.IOException: The file or directory is corrupted and unreadable.

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:


[IOException: The file or directory is corrupted and unreadable.
]
   System.IO.__Error.WinIOError(Int32 errorCode,String maybeFullPath) +12841516
   System.IO.FileSystemEnumerableIterator`1.MoveNext() +12933561
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +445
   System.IO.Directory.GetDirectories(String path) +91
   System.Web.Compilation.StandarddiskbuildresultCache.FindSatelliteDirectories() +22
   System.Web.Compilation.BuildManager.RegularappRuntimeModeInitialize() +107
   System.Web.Compilation.BuildManager.Initialize() +251
   System.Web.Compilation.BuildManager.InitializeBuildManager() +227
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags,PolicyLevel policyLevel,Exception appDomainCreationException) +475

[HttpException (0x80004005): The file or directory is corrupted and unreadable.
]
   System.Web.HttpRuntime.FirstRequestinit(HttpContext context) +10075596
   System.Web.HttpRuntime.EnsureFirstRequestinit(HttpContext context) +95
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr,HttpContext context) +254

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。