From: Sebastian Gurgul Sebastian on
Hi,

We observe exactly the same problem after installing recent Windows Updates.
The problem is that we are using VS2005.

We develop ClickOnce application for a long time and we have a stable
deployment infrastructure which was not change since few months. Recently we
observe the below mentioned exception related to different deployment
location. We need to pass session ID through application URL to implement
stateful web services.

We suspect the update .NET 2.0 Service Pack 1 (kb110806). Before installing
it everything works fine.

Exception:
Following errors were detected during this operation.
* [2007-12-19 15:34:28] System.Deployment.Application.DeploymentException
(DeploymentUriDifferent)
- You cannot start application e-Office Document Management from this
location because it is already installed from a different location.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.ApplicationActivator.CheckDeploymentProviderValidity(ActivationDescription actDesc, SubscriptionState subState)
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut, String textualSubId, String
deploymentProviderUrlFromExtension)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.DeploymentException (DeploymentUriDifferent)
- You cannot start application e-Office Document Management from location
http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=51EB71D2A7BB7D0986C98CB3A3F69F15
it is already installed from location
http://siphon/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?sid=92031461C8D3C4793FD42AEB84C6CC15&ws=http%3A%2F%2Fsiphon%2FeOffice%2FDocumentManagement%2FService%2FDMService.asmx.
You can start it from location
http://siphon/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?sid=92031461C8D3C4793FD42AEB84C6CC15&ws=http%3A%2F%2Fsiphon%2FeOffice%2FDocumentManagement%2FService%2FDMService.asmx
or you can uninstall it and reinstall it from location
http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=51EB71D2A7BB7D0986C98CB3A3F69F15.
If you reinstall the application, be aware that you might lose any
customizations that you made to the application.
- Source:
- Stack trace:


"Linda Liu[MSFT]" wrote:

> Hi Justin,
>
> I performed a test on your sample application and did reproduce the problem
> on my side.
>
> I install the ClickOnce application via a URL without any query string and
> then try to launch the installed application via a URL with a query string.
> At this time I get the same exception as you got.
>
> Since that you create and deploy the application using VS2008 Beta2, it
> seems that this problem is related to this version of VS. This problem
> doesn't exist in VS2005, so I suggest that you use VS2005 to create and
> deploy the application.
>
> Since we don't support VS2008 Beta, you may submit a bug report in the
> Microsoft connect web stie via the following link:
>
> http://connect.microsoft.com/VisualStudio/Feedback
>
> Thank you for understanding and support for Microsoft!
>
> If you have any question, please feel free to let me know.
>
> Sincerely,
> Linda Liu
> Microsoft Online Community Support
>
>
From: Sebastian Gurgul on
Of course even if the URLs are exactly the same (with the exception of SID
parameter value) the problem still occurs - see log below. The previous log
was not the best due to the different order of the parameters and host
name/ip.

S.Gurgul

OPERATION PROGRESS STATUS
* [2007-12-19 16:10:59] : Activation of
http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=73094F08BC5A36630E393CD5A0608E37 has started.
* [2007-12-19 16:10:59] : Processing of deployment manifest has
successfully completed.

ERROR DETAILS
Following errors were detected during this operation.
* [2007-12-19 16:10:59] System.Deployment.Application.DeploymentException
(DeploymentUriDifferent)
- You cannot start application e-Office Document Management from this
location because it is already installed from a different location.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.ApplicationActivator.CheckDeploymentProviderValidity(ActivationDescription actDesc, SubscriptionState subState)
at
System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut, String textualSubId, String
deploymentProviderUrlFromExtension)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.DeploymentException (DeploymentUriDifferent)
- You cannot start application e-Office Document Management from location
http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=73094F08BC5A36630E393CD5A0608E37
it is already installed from location
http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=7FF582994463E709DD17A8844AF90B66.
You can start it from location
http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=7FF582994463E709DD17A8844AF90B66
or you can uninstall it and reinstall it from location
http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=73094F08BC5A36630E393CD5A0608E37.
If you reinstall the application, be aware that you might lose any
customizations that you made to the application.

"Sebastian Gurgul" wrote:

> Hi,
>
> We observe exactly the same problem after installing recent Windows Updates.
> The problem is that we are using VS2005.
>
> We develop ClickOnce application for a long time and we have a stable
> deployment infrastructure which was not change since few months. Recently we
> observe the below mentioned exception related to different deployment
> location. We need to pass session ID through application URL to implement
> stateful web services.
>
> We suspect the update .NET 2.0 Service Pack 1 (kb110806). Before installing
> it everything works fine.
>
> Exception:
> Following errors were detected during this operation.
> * [2007-12-19 15:34:28] System.Deployment.Application.DeploymentException
> (DeploymentUriDifferent)
> - You cannot start application e-Office Document Management from this
> location because it is already installed from a different location.
> - Source: System.Deployment
> - Stack trace:
> at
> System.Deployment.Application.ApplicationActivator.CheckDeploymentProviderValidity(ActivationDescription actDesc, SubscriptionState subState)
> at
> System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri
> activationUri, Boolean isShortcut, String textualSubId, String
> deploymentProviderUrlFromExtension)
> at
> System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
> --- Inner Exception ---
> System.Deployment.Application.DeploymentException (DeploymentUriDifferent)
> - You cannot start application e-Office Document Management from location
> http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=51EB71D2A7BB7D0986C98CB3A3F69F15
> it is already installed from location
> http://siphon/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?sid=92031461C8D3C4793FD42AEB84C6CC15&ws=http%3A%2F%2Fsiphon%2FeOffice%2FDocumentManagement%2FService%2FDMService.asmx.
> You can start it from location
> http://siphon/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?sid=92031461C8D3C4793FD42AEB84C6CC15&ws=http%3A%2F%2Fsiphon%2FeOffice%2FDocumentManagement%2FService%2FDMService.asmx
> or you can uninstall it and reinstall it from location
> http://10.10.10.56/eOffice/DocumentManagement/Client/EOffice.DocumentManagement.Client.application?ws=http%3A%2F%2F10.10.10.56%2FeOffice%2FService%2FEOfficeService.asmx&sid=51EB71D2A7BB7D0986C98CB3A3F69F15.
> If you reinstall the application, be aware that you might lose any
> customizations that you made to the application.
> - Source:
> - Stack trace:
>
>
> "Linda Liu[MSFT]" wrote:
>
> > Hi Justin,
> >
> > I performed a test on your sample application and did reproduce the problem
> > on my side.
> >
> > I install the ClickOnce application via a URL without any query string and
> > then try to launch the installed application via a URL with a query string.
> > At this time I get the same exception as you got.
> >
> > Since that you create and deploy the application using VS2008 Beta2, it
> > seems that this problem is related to this version of VS. This problem
> > doesn't exist in VS2005, so I suggest that you use VS2005 to create and
> > deploy the application.
> >
> > Since we don't support VS2008 Beta, you may submit a bug report in the
> > Microsoft connect web stie via the following link:
> >
> > http://connect.microsoft.com/VisualStudio/Feedback
> >
> > Thank you for understanding and support for Microsoft!
> >
> > If you have any question, please feel free to let me know.
> >
> > Sincerely,
> > Linda Liu
> > Microsoft Online Community Support
> >
> >