Error on installing .Net Core - installation

Trying to install .Net Core over VS Community 2015 update 3. I am stuck with the following error. Tried downloading and copying the msi file (AspNetCoreLocalFeed_.msi) manually but the destination folder as seen in the log file is being created dynamically so it doesn't work. Also attempted to install it manually. Nothing works.
Went through various threads on different websites on the installation errors but couldn't locate an answer for any similar issue. Any help is greatly appreciated.
[23F8:2DD8][2016-11-08T22:02:58]w343: Prompt for source of package: AspNetCoreLocalFeed, payload: AspNetCoreLocalFeed, path: C:\Users\Faisal\Downloads\packages\AspNetCoreLocalFeed_.msi
[23F8:2DD8][2016-11-08T22:02:58]i338: Acquiring package: AspNetCoreLocalFeed, payload: AspNetCoreLocalFeed, download from: https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi
[0190:0850][2016-11-08T22:05:07]e000: Error 0x80070490: Process returned error: 0x490
[0190:0850][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to execute EXE package.
[23F8:3008][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to configure per-machine EXE package.
[23F8:3008][2016-11-08T22:05:07]i319: Applied execute package: DotNetCLI_x64, result: 0x80070490, restart: None
[23F8:3008][2016-11-08T22:05:07]e000: Error 0x80070490: Failed to execute EXE package.
[0190:0850][2016-11-08T22:05:07]i351: Removing cached package: DotNetCLI_x64, from path: C:\ProgramData\Package Cache\8B4ACC662D4A8759AB418CA5F92FE4721D21B190\
[23F8:2DD8][2016-11-08T22:05:07]e000: Error 0x80070642: Failed attempt to download URL: 'https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi' to: 'C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed'
[23F8:2DD8][2016-11-08T22:05:07]e000: Error 0x80070642: Failed to acquire payload from: 'https://download.microsoft.com/download/5/5/7/557D02A5-C3D0-4EF6-A570-4F75CD0DA5BF/packages/AspNetCoreLocalFeed_.msi' to working path: 'C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed'
[23F8:2DD8][2016-11-08T22:05:07]e313: Failed to acquire payload: AspNetCoreLocalFeed to working path: C:\Users\Faisal\AppData\Local\Temp\{B803D3CE-B0AC-4779-8D29-E1D7B9070031}\AspNetCoreLocalFeed, error: 0x80070642.

Just to give an update in case it helps someone. Installation succeeded after reinstalling Visual Studio.

Related

WIX-Installer : Digitally signed Bootstapper exe failing to install

I am unable to proceed with the installation using digitally signed WIX installer bootstrapped exe.
Below is log extract highlighting the issue.
[39B8:26D4][2017-09-04T20:03:31]i371: Updating registry key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{c6dca553-993e-473c-be4b-8ffa184cd19f}, resume: Active, restart initiated: No, disable resume: No
[3904:3A84][2017-09-04T20:03:31]i336: Acquiring container: WixAttachedContainer, copy from: F:\Digital Signature\MyApp.exe
[3904:3A84][2017-09-04T20:03:31]i000: Setting string variable 'WixBundleLastUsedSource' to value 'F:\Digital Signature\'
[3904:19F4][2017-09-04T20:03:31]e000: Error 0x80070001: Failed to extract all files from container, erf: 1:2:0
[3904:3A84][2017-09-04T20:03:31]e000: Error 0x80070001: Failed to wait for operation complete.
[3904:3A84][2017-09-04T20:03:31]e000: Error 0x80070001: Failed to open container.
[3904:3A84][2017-09-04T20:03:31]e000: Error 0x80070001: Failed to open container: WixAttachedContainer.
[3904:3A84][2017-09-04T20:03:31]e312: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\Admin\AppData\Local\Temp{18826196-247C-4057-B849-948AF1A2A7E5}\14B0A9896E9807C47A99BA7BF6B295B54ACE22FD, error: 0x80070001.
[3904:39A4][2017-09-04T20:03:31]e000: Error 0x80070001: Failed while caching, aborting execution.
[39B8:26D4][2017-09-04T20:03:31]i372: Registry key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{c6dca553-993e-473c-be4b-8ffa184cd19f}, resume: None, restart: None, disable resume: No
[39B8:26D4][2017-09-04T20:03:31]i330: Removed bundle dependency provider: {c6dca553-993e-473c-be4b-8ffa184cd19f}
[39B8:26D4][2017-09-04T20:03:31]i352: Removing cached bundle: {c6dca553-993e-473c-be4b-8ffa184cd19f}, from path: C:\ProgramData\Package Cache{c6dca553-993e-473c-be4b-8ffa184cd19f}\
I am able to install with WIX non-signed boot strapping exe.
What is the problem with digitally signed bootstrapper?
Please let me know if anyone had similar issue and solution to address it.

Haskell on Windows - Stack fails to fetch package index

I'm trying to install Haskell on Windows. Downloaded the installer and just clicked through everything, then tried to use Stack to install a package, ran it from a temporary folder in which everything has write access:
C:\t>stack install hfmt
Using latest snapshot resolver: lts-8.3
Writing implicit global project config file to: C:\sr\global-project\stack.yaml
Note: You can change the snapshot via the resolver field there.
Downloaded lts-8.3 build plan.
Fetching package index ...=.git""=="gui" was unexpected at this time.
C:\sr\indices\Hackage\git-update\all-cabal-hashes>#if ""--git-dir=.git""=="gui" #goto gui
Process exited with ExitFailure 255: C:\Program Files (x86)\Git\cmd\git.CMD --git-dir=.git fetch --tags
Failed to fetch package index, retrying.
removeDirectoryRecursive: permission denied (Access is denied.)
What's going wrong, and how can I fix it? Or should I forget about Stack and just use Cabal instead?
Tried rerunning the command as administrator. This time the response was instant:
C:\t>stack install hfmt
Fetching package index ...=.git""=="gui" was unexpected at this time.
C:\sr\indices\Hackage\git-update\all-cabal-hashes>#if ""--git-dir=.git""=="gui" #goto gui
Process exited with ExitFailure 255: C:\Program Files (x86)\Git\cmd\git.CMD --git-dir=.git fetch --tags
Failed to fetch package index, retrying.
removeDirectoryRecursive: permission denied (Access is denied.)

Ionic build android failed with 403 Http respose from Gradle, JAVA_HOME not valid

I am using Windows 7X64 machine and trying to build Andriod application using cordova/ionic CLI v1.5.5. I am getting this error that I couldn't solve.
"You may not have the required environment or OS to build this project"
with commands ionic build android and cordova build android. The command ionic platform add android was successful. I am working with Android sdk (API 22) using the Android SDK Manager. I also made sure that PATH variable is correctly set.
Full transcript of process is:
C:\Users\ddevkota\Desktop\freshIonic>ionic build android
Running command: "C:\Program Files\nodejs\node.exe" C:\Users\ddevkota\Desktop\fr
eshIonic\hooks\after_prepare\010_add_platform_class.js C:\Users\ddevkota\Desktop
\freshIonic
add to body class: platform-android
Running command: cmd "/s /c "C:\Users\ddevkota\Desktop\freshIonic\platforms\andr
oid\cordova\build.bat""
ANDROID_HOME=C:\Users\ddevkota\AppData\Local\Android\sdk
JAVA_HOME=C:\Progra~1\Java\jdk1.7.0_15
Running: C:\Users\ddevkota\Desktop\freshIonic\platforms\android\gradlew cdvBuild
Debug -b C:\Users\ddevkota\Desktop\freshIonic\platforms\android\build.gradle -Do
rg.gradle.daemon=true
Downloading http://services.gradle.org/distributions/gradle-2.2.1-all.zip
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Serv
er returned HTTP response code: 403 for URL: http://services.gradle.org/distribu
tions/gradle-2.2.1-all.zip
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAcc
essManager.java:78)
at org.gradle.wrapper.Install.createDist(Install.java:47)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL:
http://services.gradle.org/distributions/gradle-2.2.1-all.zip
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1625)
at org.gradle.wrapper.Download.downloadInternal(Download.java:59)
at org.gradle.wrapper.Download.download(Download.java:45)
at org.gradle.wrapper.Install$1.call(Install.java:60)
at org.gradle.wrapper.Install$1.call(Install.java:47)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAcc
essManager.java:65)
... 3 more
C:\Users\ddevkota\Desktop\freshIonic\platforms\android\cordova\node_modules\q\q.
js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "C:\Users\ddevkota\Desktop\freshI
onic\platforms\android\gradlew cdvBuildDebug -b C:\Users\ddevkota\Desktop\freshI
onic\platforms\android\build.gradle -Dorg.gradle.daemon=true"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 1
at ChildProcess.whenDone (C:\Users\ddevkota\AppData\Roaming\npm\node_modules
\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:134:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
Thanks for help in advance.
NOTE: This turns out to be a permission issue in client (403). I connected my machine to different network and it started working. All build process. If you wanna do it manually here is how far I got.
Solution for not Valid JAVA_HOME
After spending days and uninstalling all versions of java, reinstalling only one version and setting up Environment VariableJAVA_HOME as C:\Program Files\Java\jdk1.7.0_15 I solved the problem.
However there was another issue of ionic build android error when downloading gradle.
This was solved as I added gradle to my project offline.
Solution for not Gradle 403 Http response
Do the following:
After downloading gradle from issued link (here is https://services.gradle.org/distributions/gradle-2.2.1-all.zip) paste it in somewhere likes myApp\platforms\android\gradle\gradle-2.2.1-all.zip and in build.js from myApp\platforms\android\cordova\lib\build.js find this:
var distributionUrl = 'distributionUrl=https://services.gradle.org/distributions/gradle-2.2.1-all.zip';
And replace it with your own file's location:
var distributionUrl = 'distributionUrl=../gradle-2.2.1-all.zip';
Still working on build and will keep on posting the solution. A thread about other issues is created in ionic forum and it is here.
Solution for not Gradle 403 Http response
find distributionUrl variable in:
myapp\platforms\android\cordova\lib\builders\GradleBuilder.js
change http value to https in this line:
var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip';

Deployment error: windows.licensing failed to start WSService

I get the following error when I try to deploy a windows store app:
Error : DEP0700 : Registration of the app failed. error 0xC0020017:
windows.licensing failed to start WSService while installing
My developer license is valid. I changed the package name, still the error persists.
This problem occurs with old and completely new projects.
Does anyone have an idea how to solve this?
Registration of app failed error usually occurs when you try to re-deploy an app with the same package ID from visual studio if it is already installed by a different user.
Solution is to change the Package Identity
Open the manifest
Go to the package tab
Modify the identity

Unable to connect to Visual Studio Local Host Webserver

I got this error when I tried to run(F5) my project solution using Visual Studio,then I did the following steps.......
I just did copy from other server which have visual studio installed then paste it in my local(c:\windows\microsoft.net\framework\v2.0.50727) webdev.webserver.exe then I tried to run
In Cmd Prompt:
c:\windows\microsoft.net\framework\v2.0.50727\WebDev.WebServer /?.
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727--->aspnet_regiis -i
then iisrest
Result:
nothing is worked.Still I got Same Error...
Error:
How ever when I tried to run aspnet_regiis -i I got some error like
set up has detected some error and ask me to check log file ...from log file I got some failure status like:
C:\Inetpub\wwwroot\wss\VirtualDirectories\47223\aspnet_client
2012-06-29 12:58:20 Failure Creating directory: C:\Inetpub\wwwroot\wss\VirtualDirectories\47223\aspnet_client: CreateDirectoryInternal failed with HRESULT 80070003: 'The system cannot find the path specified. '
2012-06-29 12:58:20 Failure Creating list of client site scripts dirs: CreateSiteClientScriptDir failed with HRESULT 80070003: 'The system cannot find the path specified. '
Could you please instruct me on this......
Thank you
After all above attemps I just repair my .Net Framework 2.0 and restart the system.Now its working so Good.Thanks

Resources