问题描述
我有一个在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 (将#修改为@)