This is the code, i have Windows 7 64x 86x, Office 2010, installed Visual Studio 2010 Tools for Office Runtime and .NET version 4.0.0.0
This is the error code, i changed the log path to my folder to PATH:
PO/SolverStudio_00_09_03_00 20160520/SolverStudio/SolverStudio/SolverStudio.vsto
************** Texto de Exceção **************
System.Deployment.Application.DeploymentDownloadException: Não houve êxito no download de file:///PATH/SolverStudio_00_09_03_00 20160520/SolverStudio/SolverStudio/SolverStudio.vsto. ---> System.Net.WebException: Não foi possível localizar uma parte do caminho 'PATH\SolverStudio_00_09_03_00 20160520\SolverStudio\SolverStudio\SolverStudio.vsto'. ---> System.Net.WebException: Não foi possível localizar uma parte do caminho 'PATH\SolverStudio_00_09_03_00 20160520\SolverStudio\SolverStudio\SolverStudio.vsto'. ---> System.IO.DirectoryNotFoundException: Não foi possível localizar uma parte do caminho 'PATH\SolverStudio_00_09_03_00 20160520\SolverStudio\SolverStudio\SolverStudio.vsto'.
em System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
em System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
em System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
em System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
em System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
em System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
--- Fim do rastreamento de pilha de exceções internas ---
em System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
em System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Fim do rastreamento de pilha de exceções internas ---
em System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
em System.Net.FileWebRequest.GetResponse()
em System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Fim do rastreamento de pilha de exceções internas ---
em Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
em Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
Followed this help tutorial
This link helped to solve
I had to move the folder of installation to the DESKTOP!
Related
The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at CommunityInstaller.DownloadStep.d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.d__24.MoveNext()
Server Error in '/' Application.
Could not find a part of the path 'c:\windows\system32\inetsrv\~\INSA.cfg'.
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.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\windows\system32\inetsrv\~\INSA.cfg'.
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:
[DirectoryNotFoundException: Could not find a part of the path 'c:\windows\system32\inetsrv\~\INSA.cfg'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +271
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1217
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +144
System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) +174
System.IO.StreamReader..ctor(String path) +53
INSA.Web.GBK.GBKManager.GetGBKConnectionString(String fileName) +54
INSA.Web.GBK.GBKManager.CreateGBKConnection(String fileName, Boolean crcProvided) +10
PMS.Global.Application_Start(Object sender, EventArgs e) +71
[HttpException (0x80004005): Could not find a part of the path 'c:\windows\system32\inetsrv\~\INSA.cfg'.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +520
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +176
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +165
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +267
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +341
[HttpException (0x80004005): Could not find a part of the path 'c:\windows\system32\inetsrv\~\INSA.cfg'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +523
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +688
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0
Using Visual Studio ClickOnce for publishing an app. I have a NAS that the app is published to. The folder has read only permission for everybody. We are getting the following error:
PLATFORM VERSION INFO
Windows : 10.0.17134.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.7.3056.0 built by: NET472REL1
clr.dll : 4.7.3394.0 built by: NET472REL1LAST_C
dfdll.dll : 4.7.3056.0 built by: NET472REL1
dfshim.dll : 10.0.17134.1 (WinBuild.160101.0800)
SOURCES
Deployment url : file:///C:/Users/erics/Downloads/xxxxxxxx.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\erics\Downloads\xxxxxxxx.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Users/erics/Downloads/xxxxxxxx.application did not succeed.
+ Could not find file 'C:\Users\erics\Downloads\xxxxxxxx.application'.
+ Could not find file 'C:\Users\erics\Downloads\xxxxxxxx.application'.
+ Could not find file 'C:\Users\erics\Downloads\xxxxxxxx.application'.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [5/6/2019 8:53:47 AM] : Activation of C:\Users\erics\Downloads\xxxxxxxx.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [5/6/2019 8:53:48 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///C:/Users/erics/Downloads/xxxxxxxx.application did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- Could not find file 'C:\Users\erics\Downloads\xxxxxxxx.application'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- Could not find file 'C:\Users\erics\Downloads\xxxxxxxx.application'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Inner Exception ---
System.IO.FileNotFoundException
- Could not find file 'C:\Users\erics\Downloads\xxxxxxxx.application'.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
I have check all my deployment paths and they are correct and reachable.
I have changed the folder permission to read/write and that did not resolve the issue.
I have checked for the presence of xxxxxxxx.application and it is present in the version folder.
I have checked for the absense of any files called out in the manifest. They are all in the version folder.
Any recommendations?
Visual Studio crashed and until the relaunch I am unable to start the application. I got the following error:
Uncaught Error: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0] ---> System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' ou une de ses dépendances. Le fichier spécifié est introuvable.
à System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
à System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
à System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
à System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
à System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
à System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean isDecoratedTargetSecurityTransparent)
à System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
à System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit)
à System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit)
à MS.Internal.XamlSchemaContext.ProcessXmlnsDefinitions(Assembly assembly, String assemblyName)
à MS.Internal.XamlSchemaContext.EnsureManagedAssemblyAttributesLoaded()
--- Fin de la trace de la pile d'exception interne ---
à System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
à MyProject.App.InitializeComponent()
à MyProject.App..ctor()
I can't find any reference to this System.Core 3.5.0.0...
I'm getting the following error when i send a finished program to a client in a ClickOnce deployment setup.
Yet when i try to execute it on my PC, it runs perfectly, i also tried the same program on my laptop and no problems. Yet he has tried to execute this in 5 different PC and get's the same error on each.
He also gets the following error when he click on details.
---------------------------begins:
PLATFORM VERSION INFO Windows :
6.0.6001.65536 (Win32NT) Common Language Runtime : 2.0.50727.3603
System.Deployment.dll : 2.0.50727.3053
(netfxsp.050727-3000) mscorwks.dll :
2.0.50727.3603 (GDR.050727-3600) dfdll.dll : 2.0.50727.3053
(netfxsp.050727-3000) dfshim.dll :
2.0.50727.3053 (netfxsp.050727-3000)
SOURCES Deployment url :
file:///C:/Users/MAIN-HD2/AppData/Local/Temp/7zO48D2.tmp/Desktop%20Manager.application
ERROR SUMMARY Below is a summary of
the errors, details of these errors
are listed later in the log.
* Activation of C:\Users\MAIN-HD2\AppData\Local\Temp\7zO48D2.tmp\Desktop
Manager.application resulted in
exception. Following failure messages
were detected:
+ Downloading file:///C:/Users/MAIN-HD2/AppData/Local/Temp/7zO48D2.tmp/Desktop
Manager.application did not succeed.
+ Could not find file 'C:\Users\MAIN-HD2\AppData\Local\Temp\7zO48D2.tmp\Desktop
Manager.application'.
+ Could not find file 'C:\Users\MAIN-HD2\AppData\Local\Temp\7zO48D2.tmp\Desktop
Manager.application'.
+ Could not find file 'C:\Users\MAIN-HD2\AppData\Local\Temp\7zO48D2.tmp\Desktop
Manager.application'.
COMPONENT STORE TRANSACTION FAILURE
SUMMARY No transaction error was
detected.
WARNINGS There were no warnings during
this operation.
OPERATION PROGRESS STATUS
* [9/9/2010 2:21:17 PM] : Activation of
C:\Users\MAIN-HD2\AppData\Local\Temp\7zO48D2.tmp\Desktop
Manager.application has started.
ERROR DETAILS Following errors were
detected during this operation.
* [9/9/2010 2:21:17 PM] System.Deployment.Application.DeploymentDownloadException
(Unknown subtype)
- Downloading file:///C:/Users/MAIN-HD2/AppData/Local/Temp/7zO48D2.tmp/Desktop
Manager.application did not succeed.
- Source: System.Deployment
- Stack trace: at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem
next) at
System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at
System.Deployment.Application.FileDownloader.Download(SubscriptionState
subState) at
System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri&
sourceUri, String targetPath,
IDownloadNotification notification,
DownloadOptions options,
ServerInformation& serverInformation)
at
System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore
subStore, Uri& sourceUri, TempFile&
tempFile, SubscriptionState& subState,
IDownloadNotification notification,
DownloadOptions options,
ServerInformation& serverInformation)
at
System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore
subStore, Uri& sourceUri, TempFile&
tempFile, SubscriptionState& subState,
IDownloadNotification notification,
DownloadOptions options) 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)
--- Inner Exception --- System.Net.WebException
- Could not find file 'C:\Users\MAIN-HD2\AppData\Local\Temp\7zO48D2.tmp\Desktop
Manager.application'.
- Source: System
- Stack trace: at System.Net.FileWebRequest.EndGetResponse(IAsyncResult
asyncResult) at
System.Net.FileWebRequest.GetResponse()
at
System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem
next)
--- Inner Exception --- System.Net.WebException
- Could not find file 'C:\Users\MAIN-HD2\AppData\Local\Temp\7zO48D2.tmp\Desktop
Manager.application'.
- Source: System
- Stack trace: at System.Net.FileWebResponse..ctor(FileWebRequest
request, Uri uri, FileAccess access,
Boolean asyncHint) at
System.Net.FileWebRequest.GetResponseCallback(Object
state)
--- Inner Exception --- System.IO.FileNotFoundException
- Could not find file 'C:\Users\MAIN-HD2\AppData\Local\Temp\7zO48D2.tmp\Desktop
Manager.application'.
- Source: mscorlib
- Stack trace: at System.IO.__Error.WinIOError(Int32
errorCode, String maybeFullPath) at
System.IO.FileStream.Init(String path,
FileMode mode, FileAccess access,
Int32 rights, Boolean useRights,
FileShare share, Int32 bufferSize,
FileOptions options,
SECURITY_ATTRIBUTES secAttrs, String
msgPath, Boolean bFromProxy) at
System.IO.FileStream..ctor(String
path, FileMode mode, FileAccess
access, FileShare share, Int32
bufferSize, FileOptions options,
String msgPath, Boolean bFromProxy) at
System.IO.FileStream..ctor(String
path, FileMode mode, FileAccess
access, FileShare share, Int32
bufferSize, Boolean useAsync) at
System.Net.FileWebStream..ctor(FileWebRequest
request, String path, FileMode mode,
FileAccess access, FileShare sharing,
Int32 length, Boolean async) at
System.Net.FileWebResponse..ctor(FileWebRequest
request, Uri uri, FileAccess access,
Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS No
transaction information is available.
------------------------ends
Please any help would be greatly appreciated, cause I'm loosing my mind over this.
Thanks.
Just solved this... this error occurs when the pc you are installing a ClickOnce Application doesn't have all requirements to run a .net framework application, and is not correctly connected to the internet. It tries to download the necessary files, but fails.