我正在尝试将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, 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/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, 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/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, 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/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, minorOS: 1, majorSP: 1, minorSP: 0, productType: 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, 03-Oct-2010 07:00:00 GMT; path=/
X-Powered-By: ASP.NET
Date: Fri, 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
答案 0 :(得分:11)
WebPI有时会很糟糕(对我而言)。
我建议您自己下载并安装MSI:
请确保您之前已为VS2010安装了SP1。
答案 1 :(得分:4)
等待超过10分钟完成第2步后,我决定进行谷歌搜索。对于“asp.net mvc 4 installer”谷歌建议“asp.net mvc 4安装程序挂起”。 当我读这个帖子时,安装程序继续执行第3步。所以我建议等待大约半个小时。
答案 2 :(得分:0)
我遇到了这个问题。
webpi好像被卡住了所以我取消了它。我尝试直接运行安装程序:http://download.microsoft.com/download/2/F/6/2F63CCD8-9288-4CC8-B58C-81D109F8F5A3/AspNetMVC4Setup.exe我收到了一个错误:
Install completed (Failure): 'ASP.NET MVC 4 Installer (VS 2010)- Default Locale'
MVC4VS2010_Only : Failed.
DependencyFailed: ASP.NET MVC 4 Language Packs Installer
DependencyFailed: ASP.NET MVC 4 with Language Packs (August 2012)
Verifying successful installation...
ASP.NET MVC 4 Installer (VS 2010)- Default Locale False
ASP.NET MVC 4 Language Packs Installer False
ASP.NET MVC 4 with Language Packs (August 2012) False
Install of Products: FAILURE
所以我决定手动运行安装程序:
http://www.microsoft.com/en-us/download/details.aspx?id=3556
并收到此错误:
0x80070652 - Another installation is already in progress. Complete that installation before proceeding with this install.
虽然有一个指向日志文件的链接但我无法打开它。
查看进程资源管理器(sysinternals),我可以看到正在安装此更新: http://www.microsoft.com/en-us/download/details.aspx?id=3556
所以我希望在安装后我能够再次运行安装程序。会让每个人都知道。