JoeBo747
asked on
Add Application to Terminal Server
I have installed an application(written in visual studio) on terminal server using the administrator account successfully; I have then copied the shortcut for the application which was installed during the install and adding this to the start folder for additional users. When the additional user clicks on the shortcut from there program list the program fails to load with the following error. The application exists in the add remove programs list, why will the application not run from the other user sessions?
ERROR DETAILS
Following errors were detected during this operation.
* [13/05/2009 11:31:51] System.Deployment.Applicat ion.Deploy mentDownlo adExceptio n (Unknown subtype)
- Downloading http://ts1/JobTrak/my.application did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Applicat ion.System NetDownloa der.Downlo adSingleFi le(Downloa dQueueItem next)
at System.Deployment.Applicat ion.System NetDownloa der.Downlo adAllFiles ()
at System.Deployment.Applicat ion.FileDo wnloader.D ownload(Su bscription State subState)
at System.Deployment.Applicat ion.Downlo adManager. DownloadMa nifestAsRa wFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Applicat ion.Downlo adManager. DownloadDe ploymentMa nifestDire ct(Subscri ptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Applicat ion.Downlo adManager. DownloadDe ploymentMa nifest(Sub scriptionS tore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Applicat ion.Applic ationActiv ator.Proce ssOrFollow Shortcut(S tring shortcutFile, TempFile& deployFile)
at System.Deployment.Applicat ion.Applic ationActiv ator.Perfo rmDeployme ntActivati on(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromE xtension)
at System.Deployment.Applicat ion.Applic ationActiv ator.Activ ateDeploym entWorker( Object state)
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (404) Not Found.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest. GetRespons e()
at System.Deployment.Applicat ion.System NetDownloa der.Downlo adSingleFi le(Downloa dQueueItem next)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
ERROR DETAILS
Following errors were detected during this operation.
* [13/05/2009 11:31:51] System.Deployment.Applicat
- Downloading http://ts1/JobTrak/my.application did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Applicat
at System.Deployment.Applicat
at System.Deployment.Applicat
at System.Deployment.Applicat
at System.Deployment.Applicat
at System.Deployment.Applicat
at System.Deployment.Applicat
at System.Deployment.Applicat
at System.Deployment.Applicat
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (404) Not Found.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.
at System.Deployment.Applicat
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
ASKER
Hi snusgubben:
Thanks for your response, the administrator can start the application and it runs correctly the user when they first click on the application the install dialog appears and the application is installed on their account, everything workscorrectly. When the user logs out and then logs back in the application is no longer there and they must reinstall. The application only remains installed for the duration of the session!
Regards
JoeBo747
Thanks for your response, the administrator can start the application and it runs correctly the user when they first click on the application the install dialog appears and the application is installed on their account, everything workscorrectly. When the user logs out and then logs back in the application is no longer there and they must reinstall. The application only remains installed for the duration of the session!
Regards
JoeBo747
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi snusgubben
Thanks for the information as you might have guessed I do not have a great deal of experience with Terminal Server Deployment and It would appear that the problem I am experiencing is much deeper seated than I originally thought my application is a click once application and my research suggests that this is my main problem. Do you have any experience of dealing with click once applications and terminal server? I have found a blog which may hold the answer at:
http://robindotnet.wordpress.com/2009/04/22/clickonce-installing-multiple-versions-concurrently/
I would value your opinion on the suggested deployment.
Regards
JoeBo747
Thanks for the information as you might have guessed I do not have a great deal of experience with Terminal Server Deployment and It would appear that the problem I am experiencing is much deeper seated than I originally thought my application is a click once application and my research suggests that this is my main problem. Do you have any experience of dealing with click once applications and terminal server? I have found a blog which may hold the answer at:
http://robindotnet.wordpress.com/2009/04/22/clickonce-installing-multiple-versions-concurrently/
I would value your opinion on the suggested deployment.
Regards
JoeBo747
I don't have any experience with ClickOnce app. but a quick google search gave me this: http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic54169.aspx
I'm afraid I can't help you any way in this case due to lack of experience with ClickOnce apps :(
SG
I'm afraid I can't help you any way in this case due to lack of experience with ClickOnce apps :(
SG
ASKER
Hi
Thanks for your support on this issue, it looks as though I have got to convert the deployment from a click once app to an MSI app. This should be fun as I have never built an MSI before and the project includes excel interloper dlls amongst others! Ah well google here we come.
Regards
JoeBo747
Thanks for your support on this issue, it looks as though I have got to convert the deployment from a click once app to an MSI app. This should be fun as I have never built an MSI before and the project includes excel interloper dlls amongst others! Ah well google here we come.
Regards
JoeBo747
Did you set the terminal server in install mode before you installed the program?
either with:
1. "change user /install" and "change user /execute"
2. Installed it from add-remove programs
SG