为什么 App_Offline 一旦开始加载 dll 就无法工作?
有人可以帮我解决这个问题吗?在生产站点上,app_offline.htm 仅在您开始上传 dll 之前有效。一旦您开始上传 dll,它就会抛出以下错误“无法加载文件或程序集“SubSonic”或其依赖项之一。 该进程无法访问该文件,因为该文件正在被另一个进程使用。 现在这清楚地表明 IIS 仍在尝试为 aspx 页面提供服务?我在这里缺少什么吗?任何帮助将不胜感激。我花了几个小时谷歌搜索但无济于事。 提前致谢。 马尼沙
Could anyone please help me with this. On the production site app_offline.htm works only till you start uploading dlls. As soon as you start uploading dlls it throws following error"Could not load file or assembly 'SubSonic' or one of its dependencies.
The process cannot access the file because it is being used by another process.
Now this clearly shows that IIS is still trying to serve the aspx page?? Is there anything I am missing here?? Any help would be appreciated. I have spent hours googling but to no avail.
Thanks in advance.
Manisha
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我听说有人在使用 app_offline.htm 时遇到问题,如果文件中没有足够的内容。
用几百 kb 的 Lorem Ipsum 文本填充它,看看是否有帮助。
I have heard of people having problems with app_offline.htm if it did not have enough content in the file.
Fill it with a couple hundred kb's of Lorem Ipsum text and see if that helps.
好吧,这可能不是您的问题,但如果这是第一次发生,您可能需要重新启动计算机。有时,进程会因 .dll 上的锁定而终止,因此在解锁之前您无法再使用它(因此需要重新启动操作系统)。
另一个可能的问题是 .dll 或其依赖的 .dll 不在您的路径或正确的文件夹中。
首先看看这两个。
Ok this might not be your problem, but if it's the first time it happened you might want to restart your machine. Sometimes a process dies with a lock on a .dll, thus you can no longer use it until unlocked (thus need a restart of the OS).
The other possible problem is that the .dll, or its dependent .dll's, aren't in your path or the correct folder.
Give both of these a look first.