ClickOnce on Terminal Server

  • Thread starter Thread starter kjellkp
  • Start date Start date
K

kjellkp

Hi,

I have a ClickOnceapp. I try to run this (via URL) from a Terminal
Server (win 2000). The TS are using redirected Start menu, desktop and
profiles. The ClickOnceApp are setup to work offline as well as online
(will create icon on the start menu). When a install det ClickOnceapp
from an URL I got problems as follows:

1. If the TS-user have rights to write on the shared startmenu the
application will work when installed from URL (only when installed).
The "application reference" icon on start menu points to \\servername
\shared-startmenu\...... When I run from start menu I got "Shortcut
activation over network is not allowed". I belive this is the nature
of ClickOnce and can not be resolved with configuration ??

2. If the user have no rights to write to the shared startmenu I got
an UnauthorizedAccessException, because it is denied to write.

I've seen some sugestions to resolve this. I've tried a few with bad
results.

1. Put the icon on a "Local Drive". This will work but when two
concurrent users try to run it I get a crash on the second user (send
report to Microsoft etc). It only allow one user at the time.

2. If I use "The application is available online only" when I deploy,
without creation of an icon on the Start Menu I still got the problem
with concurrent users (both run from URL). This problem I have no idea
why arise.

My question is: Have anyone became running a ClickOnceApp under
Terminal Server under these circumstances.

Best Regads,
Kjell Pettersen
 
Hi,

I have aClickOnceapp. I try to run this (via URL) from a Terminal
Server (win 2000). The TS are using redirected Start menu, desktop and
profiles. TheClickOnceAppare setup to work offline as well as online
(will create icon on the start menu). When a install detClickOnceapp
from an URL I got problems as follows:

1. If the TS-user have rights to write on the shared startmenu the
application will work when installed from URL (only when installed).
The "application reference" icon on start menu points to \\servername
\shared-startmenu\...... When I run from start menu I got "Shortcut
activation over network is not allowed". I belive this is the nature
of ClickOnce and can not be resolved with configuration ??

2. If the user have no rights to write to the shared startmenu I got
an UnauthorizedAccessException, because it is denied to write.

I've seen some sugestions to resolve this. I've tried a few with bad
results.

1. Put the icon on a "Local Drive". This will work but when two
concurrent users try to run it I get a crash on the second user (send
report to Microsoft etc). It only allow one user at the time.

2. If I use "The application is available online only" when I deploy,
without creation of an icon on the Start Menu I still got the problem
with concurrent users (both run from URL). This problem I have no idea
why arise.

My question is: Have anyone became running aClickOnceAppunder
Terminal Server under these circumstances.

Best Regads,
Kjell Pettersen

I found out why my application crash. It was an program error.

Now it is solved to run on terminal services, but I had to give the
user "modify" rights to the start menu. One thing still couses a
problem. Every user creates its own entry in the start menu, but I
hope I can delete them in my clickonceapp.
 
Back
Top