Tag: web deployment project

Visual Studio 2010 – Web部署超时 – 该怎么办?

我的MVC2 Web项目使用VS 2010“Web部署”function进行部署。 它过去运行正常,但现在它更经常超时与此错误消息: Web deployment task failed.((10/11/2010 1:01:59 am) An error occurred when the request was processed on the remote computer.) (10/11/2010 1:01:59 am) An error occurred when the request was processed on the remote computer. The remote host closed the connection. The error code is 0x800704CD. 搜索错误代码0x800704CD不会返回任何有用的信息。 有没有办法增加超时时间,或者我应该寻找替代方法而忘记Web部署?

ASP.NET损坏程序集“无法加载文件或程序集App_Web_ *”

我已经阅读了同一个问题上发布的许多其他问题,但我仍然不明白原因以及如何防止它发生。 就我而言,这发生在生产服务器上。 我得到了其他问题中描述的相同错误,我通过将程序集重新复制到bin目录来解决它。 它们甚至不是重新编译的文件,它们与之前的文件相同 – 再次复制,然后它开始工作没有问题。 奇怪的是,我正在使用Web部署项目将所有程序集文件重命名为基于文件夹的dll。 所以folder.dll和folder.subfolder.dll而不是App_Web_jt8nxllz.dll。 然而,该错误仍然命名原始的App_Web_jt8nxllz.dll文件。 删除C:\WINDOWS\Microsoft.NET\Framework[64]\v…\Temporary ASP.NET Files夹的内容工作正常,但有谁知道如何防止此错误发生? 此外,当它在生产服务器上发生时,关闭IIS或重新启动它实际上并不可行。 也许自动清理调度程序上的Temp文件夹? 这里真正的问题是什么? 有什么特别的东西会导致这种情况发生吗? 该网站将毫无问题地嗡嗡作响,然后突然间,整个文件夹停止工作并产生此错误。 Could not load file or assembly ‘App_Web_jt8nxllz, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified. Exception type ‘System.IO.FileNotFoundException’ was caught. Source: App_Web_whv5zsvd Target Site: Void __BuildControlTree(ASP.artists_controls_artistheader_ascx) Stack Trace: at ASP.artists_controls_artistheader_ascx.__BuildControlTree(artists_controls_artistheader_ascx __ctrl) […]