我正在尝试安装MVC 4到我的桌面.我是办公室里唯一有这个问题的人,即使我们都有相同的软件相同的机器.我不知道问题是什么.安装打印日志文件,但我不知道这是什么意思.如果有人有答案,我会很感激.这是日志文件:
DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9810537 DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9810537 responded with 302 DownloadManager Information: 0 : Response headers: HTTP/1.1 302 Found Cache-Control: private Content-Length: 175 Content-Type: text/html; charset=utf-8 Expires: Fri,17 Aug 2012 17:13:22 GMT Location: https://www.microsoft.com/web/webpi/4.0/webproductlist.xml Server: Microsoft-IIS/7.5 X-AspNet-Version: 2.0.50727 Set-Cookie: MC1=GUID=c6f89ed006465f41bf8ce6e310c073fb&HASH=d09e&LV=20128&V=3; domain=microsoft.com; expires=Sun,03-Oct-2010 07:00:00 GMT; path=/ X-Powered-By: ASP.NET Date: Fri,17 Aug 2012 17:14:22 GMT DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/webproductlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Cache-Control: max-age=900 Accept-Ranges: bytes ETag: "d77eb3a9227bcd1:0" Server: Microsoft-IIS/7.5 P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" X-Powered-By: ASP.NET X-Powered-By: ARR/2.5 X-Powered-By: ASP.NET Date: Fri,17 Aug 2012 17:14:21 GMT DownloadManager Information: 0 : Remote file has not changed,using local cached file: C:\Users\ppprog6202\AppData\Local\Microsoft\Web Platform Installer\-477760839.xml.temp DownloadManager Warning: 0 : Could not resolve keyword ID Sharepoint DownloadManager Warning: 0 : Could not resolve keyword ID Office DownloadManager Warning: 0 : Could not resolve keyword ID Sharepoint DownloadManager Warning: 0 : Could not resolve keyword ID Office DownloadManager Warning: 0 : Could not resolve keyword ID sql DownloadManager Warning: 0 : Could not resolve keyword ID sql DownloadManager Warning: 0 : Could not resolve keyword ID WIF DownloadManager Warning: 0 : Could not resolve keyword ID identity DownloadManager Warning: 0 : Could not resolve keyword ID federation DownloadManager Warning: 0 : Could not resolve keyword ID claims DownloadManager Warning: 0 : Could not resolve keyword ID authentication DownloadManager Information: 0 : Filtering by majorOS: 6,minorOS: 1,majorSP: 1,minorSP: 0,productType: 6,architecture: x64 DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/webapplicationlist.xml DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/webapplicationlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Cache-Control: max-age=900 Accept-Ranges: bytes ETag: "43da3ca8137bcd1:0" Server: Microsoft-IIS/7.5 P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" X-Powered-By: ASP.NET X-Powered-By: ARR/2.5 X-Powered-By: ASP.NET Date: Fri,17 Aug 2012 17:14:22 GMT DownloadManager Information: 0 : Remote file has not changed,using local cached file: C:\Users\ppprog6202\AppData\Local\Microsoft\Web Platform Installer\251486345.xml.temp DownloadManager Warning: 0 : Could not resolve keyword ID Katalready DownloadManager Warning: 0 : Could not resolve keyword ID Katalready DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID Katalready DownloadManager Warning: 0 : Could not resolve keyword ID ApplicationSpotlight DownloadManager Warning: 0 : Could not resolve keyword ID Katalready DownloadManager Information: 0 : Filtering by majorOS: 6,architecture: x64 DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/mediaproductlist.xml DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/mediaproductlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Date: Fri,17 Aug 2012 17:14:22 GMT Etag: "1b51c01e6f4ecd1:0" Cache-Control: max-age=900 DownloadManager Information: 0 : Remote file has not changed,using local cached file: C:\Users\ppprog6202\AppData\Local\Microsoft\Web Platform Installer\598799360.xml.temp DownloadManager Information: 0 : Filtering by majorOS: 6,architecture: x64 DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/toolsproductlist.xml DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/toolsproductlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Date: Fri,17 Aug 2012 17:14:22 GMT Etag: "4e6536ff8276cd1:0" Cache-Control: max-age=900 DownloadManager Information: 0 : Remote file has not changed,using local cached file: C:\Users\ppprog6202\AppData\Local\Microsoft\Web Platform Installer\672503665.xml.temp DownloadManager Information: 0 : Filtering by majorOS: 6,architecture: x64 DownloadManager Information: 0 : Loading product xml from: https://www.microsoft.com/web/webpi/4.0/enterpriseproductlist.xml DownloadManager Information: 0 : https://www.microsoft.com/web/webpi/4.0/enterpriseproductlist.xml responded with 304 DownloadManager Information: 0 : Response headers: HTTP/1.1 304 Not Modified Date: Fri,17 Aug 2012 17:14:22 GMT Etag: "a68a64382f88cc1:0" Cache-Control: max-age=900 DownloadManager Information: 0 : Remote file has not changed,using local cached file: C:\Users\ppprog6202\AppData\Local\Microsoft\Web Platform Installer\1505006577.xml.temp DownloadManager Information: 0 : Filtering by majorOS: 6,architecture: x64 DownloadManager Information: 0 : Getting ratings file from http://go.microsoft.com/?linkid=9752395 DownloadManager Information: 0 : http://go.microsoft.com/?linkid=9752395 responded with 302 DownloadManager Information: 0 : Response headers: HTTP/1.1 302 Found Cache-Control: private Content-Length: 203 Content-Type: text/html; charset=utf-8 Expires: Fri,17 Aug 2012 17:13:24 GMT Location: http://www.microsoft.com/web/handlers /WebPI.ashx?command=getatomFeedwithavgratingquery Server: Microsoft-IIS/7.5 X-AspNet-Version: 2.0.50727 Set-Cookie: MC1=GUID=5dcd22f7d0af19428d827c6bc0604293&HASH=f722&LV=20128&V=3; domain=microsoft.com; expires=Sun,17 Aug 2012 17:14:24 GMT DownloadManager Information: 0 : Contextual entry products: MVC4VS2010 DownloadManager Information: 0 : Adding product ASP.NET MVC 4 (VS 2010) (MVC4VS2010) to cart DownloadManager Information: 0 : Contextual navigation to product 'MVC4VS2010' DownloadManager Information: 0 : Ratings file loaded successfully DownloadManager Information: 0 : Adding product 'MVC4VS2010' DownloadManager Information: 0 : Adding dependency product 'MVC4VS2010_Only DownloadManager Information: 0 : Setting current install to 1 DownloadManager Information: 0 : Starting install sequence DownloadManager Information: 0 : Downloading file 'http://download.microsoft.com/download/2/F/6/2F63CCD8-9288-4CC8-B58C-81D109F8F5A3/AspNetMVC4Setup.exe' to: C:\Users\ppprog6202\AppData\Local\Temp\tmp6948.tmp DownloadManager Information: 0 : Content-disposition header: attachment DownloadManager Information: 0 : File 'C:\Users\ppprog6202\AppData\Local\Microsoft\Web Platform Installer\installers\MVC4VS2010_Only\F46B534A9D488ABEC38EFB67571F52B4A6FC43E3\AspNetMVC4Setup.exe' already exists,deleting old copy of the file DownloadManager Information: 0 : Moving downloaded file 'C:\Users\ppprog6202\AppData\Local\Temp\tmp6948.tmp' to: C:\Users\ppprog6202\AppData\Local\Microsoft\Web Platform Installer\installers\MVC4VS2010_Only\F46B534A9D488ABEC38EFB67571F52B4A6FC43E3\AspNetMVC4Setup.exe DownloadManager Information: 0 : Starting EXE command for product 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale'. Commandline is: 'C:\Users\ppprog6202\AppData\Local\Microsoft\Web Platform Installer\installers\MVC4VS2010_Only\F46B534A9D488ABEC38EFB67571F52B4A6FC43E3\AspNetMVC4Setup.exe /q /log C:\Users\PPPROG~1\AppData\Local\Temp\MVC4VS2010_Only_install.htm'. Process Id: 3676 DownloadManager Information: 0 : Install exit code for product 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale' is -2147023254 DownloadManager Error: 0 : Install return code for product 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale' is Failure DownloadManager Warning: 0 : Dependency Failed for product 'ASP.NET MVC 4 (VS 2010)'. Skipping install DownloadManager Information: 0 : Product ASP.NET MVC 4 Installer (VS 2010)- Default Locale done install completed DownloadManager Information: 0 : Increasing current install to 2 DownloadManager Information: 0 : Product ASP.NET MVC 4 (VS 2010) had a dependency fail. Increasing install product to 3
解决方法
WebPI可能会吸引(对我来说).
我建议你自己下载并安装MSI:
> ASP.NET MVC 4 for Visual Studio 2010 SP1 and Visual Web Developer 2010 SP1
确保您已安装SP1 for VS2010之前.