Could not install IdentityServer3.AccessTokenValidation in .netframework 4.61 API - identityserver4

I have a .NetFramework4.61 WebAPI. I am trying install IdentityServer3.AccessTokenValidation & System.IdentityModel.Tokens.Jwt using Nuget but it is giving me the below error. I also try to install using package manager console that too also failed
>Install-Package IdentityServer3.AccessTokenValidation -Version 2.14.0
>Install-Package System.IdentityModel.Tokens.Jwt -Version 6.11.0
How to resolve this issue?
Severity Code Description Project File Line Suppression State
Error Exception 'System.AggregateException' thrown when trying to add source 'http://172.16.20.241:11688/codeengines/nuget/'. Please verify all your online package sources are available.
One or more errors occurred.
Unable to load the service index for source http://172.16.20.241:11688/codeengines/nuget/.
An error occurred while sending the request.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.16.20.241:11688

This seems to be lack of nuget source issue and you need to add the nuget source for nuget.org and then try to install the package
Add a nuget source point to https://api.nuget.org/v3/index.json on visual studio
Install the package again. You can select the package source on package management console on visual studio or specify it in the command as bellow:
PS> Install-Package IdentityServer3.AccessTokenValidation -Version 2.14.0 -Source nuget.org

Related

Can't install MSIX package with powershell

The problem
I am trying to install a .net core 3.1 wpf app onto a windows 2019 server using msix as the method of deployment. The windows server is up to date and should support msix, but will not install any msix package I create using the powershell command Add-AppPackage.
The packages will install on windows 10 machines if you click on the .appinstaller file and use the gui, but they will not install on the same machine if you use powershell.
What I have tried
I've went through this troubleshooting page to no avail.
I have tried different msix packages
I have tried using a local file directory
I have tried running as administrator
Code
This is an example of what I am trying to install:
Running the .appinstaller file will correctly install this uwp app.
However, this will not work:
Add-AppPackage .\TestUwp.appinstaller
Error Message
This is the error message the powershell script outputs:
Add-AppPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened.
error 0x8007000D: Opening the package from location TestUwp.appinstaller failed.
NOTE: For additional information, look for [ActivityId] 742e8080-11e2-0000-5f0b-3374e211d601 in the
Event Log or use the command line Get-AppPackageLog -ActivityID 742e8080-11e2-0000-5f0b-3374e211d601
At line:1 char:1
+ Add-AppPackage .\TestUwp.appinstaller
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (W:\...\.appinstaller:String) [Add-AppxPackage],
FileNotFoundException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPac
kageCommand
PS W:\[file location here]> Get-AppPackageLog -ActivityID 742e8080-11e2-0000-5f0b-3374e211d601
Time ID Message
---- -- -------
4/14/2020 9:17:50 AM 603 Started deployment Add operation on a package with main
parameter TestUwp.appinstaller and Options 0 and 0. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help
diagnosing app deployment issues.
4/14/2020 9:17:50 AM 465 error 0x8007000D: Opening the package from location
TestUwp.appinstaller failed.
4/14/2020 9:17:50 AM 403 error 0x8007000D: Failure to get staging session for:
file:///W:/[file location here]/TestUwp.appinstaller.
4/14/2020 9:17:50 AM 404 AppX Deployment operation failed for package with error
0x80073CF0. The specific error text for this failure is: error
0x8007000D: Opening the package from location
TestUwp.appinstaller failed.
When you use:
Add-AppxPackage .\TestUwp.appinstaller
The path will be mapped to the positional parameter -Path. This parameter is designed to specify the path to the app package. But you are not installing the app directly. You are using an app installer file. To install from that, use:
Add-AppxPackage -AppInstallerFile .\TestUwp.appinstaller
With this command, I was able to install your package successfully.

WPF Installer failed if anti virus installed

I have a WPF installer which is created using WIX, WIX Custom Bootstrapper and Burn. I have used 3.9 version WIX to create and compile the WIX file. I tried to install that installer in my machine which have already installed AVG Antivirus and my installer properly installed in it. Then I have updated the WIX to 3.11 version and compiled the WIX source file then build the WPF installer. Now, I tried to install my installer in same machine which have AVG Antivirus already installed in it. Installer failed to install and exception occurs as follows,
Error 0x800700e8: Failed to wait for child to connect to pipe.
Error 0x800700e8: Failed to connect to elevated child process.
Error 0x800700e8: Failed to actually elevate.
Error 0x800700e8: Failed to elevate.
I have disable the AVG antivirus and tried to install Installer which is build with 3.11. WPF installer installed properly in that mahcine.
Anyone suggest me on how to resolve this and any help would be appreciated?

getting the org.eclipse.equinox.p2.core.ProvisionException while installing UX studio software in eclipse

I am trying to install UX_ Studio software in eclipse from the following URl.
http://developer.salesforce.com/media/commercecloud/uxstudio/4.5
This is my home pc
But I am getting the org.eclipse.equinox.p2.core.ProvisionException
The error is as follows:
Unable to read repository at http://developer.salesforce.com/media/commercecloud/uxstudio/4.5/content.xml.
Unable to read repository at http://developer.salesforce.com/media/commercecloud/uxstudio/4.5/content.xml.
Received fatal alert: protocol_version
I checked the error online and added the following line
open the eclipse.ini file and add the following on a separate line under the -vmargs option.
-Djava.net.preferIPv4Stack=true
But exception is still there
Java 8 needs to install with the software. Other versions of java will not work

Error while installing SQL Server 2014 after uninstall

I have uninstalled all the previous versions of SQL Server from my OS and also renamed the registry as well.
I downloaded ENU\x64\SQLEXPRWT_x64_ENU.exe from here
Now I am trying to install it. I am getting this error.
The following error has occurred:
Error 1935.An error occurred during the installation of assembly 'Microsoft.VC90.CRT,version="9.0.30729.4974",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x80070091.
How to resolve it?

sublime text2 package control cannit find any package for installation

I am using sublime text2 on windows 7 64bit. And I installed package control successfully, then I use ctrl + alt + P and I entered :install package, then I got the error .
Package Control: Error downloading channel.
URL error [Errno 10060] A connection attempt failed
because the connected party did not properly respond after a period of time,
or established connection failed
because connected host has failed to respond downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.
it seems that I cannot access to the server, do I need to set proxy or make some network setting ?
Yes, just set the http_proxy and https_proxy variables in Package Control Settings. The stub is already given. The formats should be as follows,
http://username:password#proxyHost:proxyPort
and
https://username:password#proxyHost:proxyPort
The username:password bit is optional.

Resources