Installation fails to download - c#

Recently I'm experiencing issue in downloading ClickOnce installation of an application.
When I enter my credentials and click on log-in, I'm getting below error in a pop-up,
"Application download did not succeed. Check your network connection, or contact administrator or network service provider".
When I click on details below message gets opened in notepad:
PLATFORM VERSION INFO
Windows : 6.0.6002.131072 (Win32NT)
Common Language Runtime : 4.0.30319.18408
System.Deployment.dll : 4.0.30319.34244 built by: FX452RTMGDR
clr.dll : 4.0.30319.18408 built by: FX451RTMGREL
dfdll.dll : 4.0.30319.34244 built by: FX452RTMGDR
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : "url"
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of "url" resulted in exception. Following failure messages were detected:
+ Downloading "url" did not succeed.
+ The remote server returned an error: (401) Unauthorized.
+ The logon attempt failed
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [11-12-2014 20:04:24] : Activation of "url" has started.
ERROR DETAILS
Following errors were detected during this operation.
* [11-12-2014 20:04:25] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading "url" did not succeed.
- Source: System.Deployment
- Stack trace:
""
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (401) Unauthorized.
- Source: System
- Stack trace:
""
--- Inner Exception ---
System.ComponentModel.Win32Exception
- The logon attempt failed
- Source: System
- Stack trace:
""
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Also, we have another application hosted in the same server which is having same ClickOnce installation, which can be downloaded and this application is launched successfully.

Related

Xamarin VS2022 - Error on Deploying to Device

Any suggestions/ideas appreciated!
After successfully starting/restarting Mac and VS2022; Pairing to Mac; and running debug on physical device (physically connected to mac). Getting this error quite frequently (constantly).
have rebooted the Mac and restarted VS, cleaned solution, removed bin/obj. Running most up to date versions (stable releases) of Xamarin, MacOS, Xcode, VS2022 etc.
[xma]: An error occurred while trying to connect to the Broker...
warning : [xma]: The underlying client has been disconnected by the remote host
warning : [xma]: An error occurred on the underlying client while executing an operation. Details: The client has been disconnected while trying to perform the connection
warning : [xma]: There was an error while trying to connect the client build2a1eff0cc622e75ed405b9ae210073ce49bb7c09261084a1788896f1e1a4e3fb22400amit to the Server.
warning : The client has been disconnected while trying to perform the connection
warning : at System.Net.Mqtt.Sdk.MqttClientImpl.d__28.MoveNext() in C:\a\1\s\src\Client\Sdk\MqttClientImpl.cs:line 111
warning : --- End of stack trace from previous location where exception was thrown ---
warning : at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
warning : at System.Net.Mqtt.Sdk.MqttClientImpl.d__28.MoveNext() in C:\a\1\s\src\Client\Sdk\MqttClientImpl.cs:line 139
warning : --- End of stack trace from previous location where exception was thrown ---
warning : at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
warning : at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
warning : at Xamarin.Messaging.Client.MessagingConnection.d__21.MoveNext() in D:\a_work\1\s\src\Xamarin.Messaging.Client\MessagingConnection.cs:line 64
warning : [xma]: An error occurred while trying to connect to the Broker...
error : MessagingException: An error occurred while executing the operation and the connection could not be reestablished
error : ClientDisconnectedException: The client build2a1eff0cc622e75ed405b9ae210073ce49bb7c09261084a1788896f1e1a4e3fb22400amit has been disconnected while waiting a post response to topic xvs/build/execute-task/AstromechControl.iOS/2a1eff0002fMTouch

why asp.net website dont work after publishing?

I made asp.net website, that work well on local (run debug in VS). But after I succesfully publish it (using VS) to a webhosting, the website does not work.
Problems started after I added references to some 3rd party DLLs and using them.
Did I miss something when referencing these DLLs?
Thank you for your time!
Error message is:
Server Error in '/' Application.
Request timed out.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Request timed out.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Request timed out.]
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4075.0

Error While Opening Xbap (wpf Browser Applcation)

I am facing error while opening xbap in browser.
PLATFORM VERSION INFO
Windows : 6.3.9600.0 (Win32NT)
Common Language Runtime : 4.0.30319.34014
System.Deployment.dll : 4.0.30319.34243 built by: FX452RTMGDR
clr.dll : 4.0.30319.34014 built by: FX45W81RTMGDR
dfdll.dll : 4.0.30319.34243 built by: FX452RTMGDR
dfshim.dll : 6.3.9600.16384 (winblue_rtm.130821-1623)
APPLICATION SUMMARY
* Online only application.
* Trust url parameter is set. * Browser-hosted application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* An exception occurred while determining platform requirements. Following failure messages were detected:
+ Unable to install or run the application. The application requires that assembly DPFPVerNET Version 1.6.1.0 be installed in the Global Assembly Cache (GAC) first.
* An exception occurred while downloading the application. Following failure messages were detected:
+ The DeterminePlatformRequirements method failed. The application cannot be committed.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
No phase information is available.
ERROR DETAILS
Following errors were detected during this operation.
* [9/28/2015 5:21:16 PM] System.Deployment.Application.DependentPlatformMissingException (Unknown subtype)
- Unable to install or run the application. The application requires that assembly DPFPVerNET Version 1.6.1.0 be installed in the Global Assembly Cache (GAC) first.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.PlatformDetector.VerifyPlatformDependencies(AssemblyManifest appManifest, AssemblyManifest deployManifest, String tempDir)
at System.Deployment.Application.DeploymentManager.DeterminePlatformRequirementsCore(Boolean blocking)
at System.Deployment.Application.DeploymentManager.DeterminePlatformRequirements()
at System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements(Boolean grantApplicationTrust)
at System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements()
at MS.Internal.AppModel.XappLauncherApp.AssertApplicationRequirementsAsync(Object unused)
* [9/28/2015 5:21:16 PM] System.Deployment.Application.DeploymentException (Unknown subtype)
- The DeterminePlatformRequirements method failed. The application cannot be committed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DeploymentManager.WaitForAssertApplicationRequirements()
at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
By running run time environment of finger print device on client PC, you can over come this error!

Installation problems of C# deployment

I have a program I deployed using ClickOnce deployment and then installed on my machine. I tried running it, and it gave me the following error:
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfdll.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)
SOURCES
Deployment url : file:///C:/../MyProg.appref-ms%7C
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\..\MyProg.appref-ms| resulted in exception. Following failure messages were detected:
+ The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [3/30/09 2:45:10 PM] : Activation of C:\..\MyProg.appref-ms| has started.
ERROR DETAILS
Following errors were detected during this operation.
* [3/30/09 2:45:16 PM] System.Runtime.InteropServices.COMException
- The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
at System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
at System.Deployment.Application.ComponentStore.GetAssemblyManifest(DefinitionIdentity asmId)
at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
at System.Deployment.Application.SubscriptionState.Validate()
at System.Deployment.Application.SubscriptionState.get_IsInstalled()
at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
I cannot uninstall the program, but I can't see why (a dialog pops up for a second and disappears before I can read it), and I can't reinstall the application until I have uninstalled the old version.
What might the problem is, and what I can do about it?
Previous versions were deployed using Visual Studio 2008. This version was deployed using Visual C# Express Edition. There is a dependency for the MySQL Connection package. I have not customized any of the settings when publishing, beyond the location of the directory and the version number (non-duplicate version number).
Your application store may be messed up. You can try deleting this key (it will all remove any currently installed Click-Once applications):
HKEY_CURRENT_USER\Software\Classes\SOFTWARE\Microsoft\Windows\CurrentVersion\Deployment\SideBySide
As a note, if your application 'works' besides that error or on other machines, then this is likely your issue.

Microsoft AdMediation Control crashes

I use the AdMediation Control (v 2.0) from Microsoft for my Windows 8.1 Store Application. I added "Microsoft Advertising" via "Connected Service...".
I added the Id and the Name to the AdMediatorControl and configured the "Connected Service".
When I now start my application and the ad should load, I get this error, after I enabled native Debugging in the Project:
Exception thrown at 0x00007FFD4E38A1C8 in ClientWindowsUI.Windows.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x000000FF7D4FF070. HRESULT:0x80070002 The System cannot find the mentioned file
WinRT information: The System cannot find the mentioned file
Stack trace:
[External Code]
UniversalXamlAdControl.Windows.dll!00007ffd0d292b96()
UniversalXamlAdControl.Windows.dll!00007ffd0d2d43d1()
[External Code]
If there is a handler for this exception, the program may be safely continued.
Remark to quote: I translated the German Message "Das System kann die angegebene Datei nicht finden" to "The System cannot find the mentioned file"
Has anybody an idea what can be the Problem?

Categories