473,386 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ClickOnce

Repost from dotnet.general (no response), and OT but I hoped somebody
might have a clue...
I have a handful of ClickOnce installs that work fine almost
everywhere... however, on some machines it simply does nothing! These
are regular VS2005 ClickOnce "publish" deployments, signed with a
valid certificate.

The client correctly detects the MIME, prompts the user, downloads the
files, etc - and the system deployment log (temp internet files) is
clean - i.e. no errors or warnings - goes to completion.

If I grab a copy of the deployment folder, remove the .deploy
extensions and run the exe, then everything is fine - it just simply
doesn't run via the manifest. Even Main() {MessageBox...} simply does
nothing. The exe flashes briefly in the process explorer, but is then
gone, with no eventlog / crashdump etc, and no MessageBox.

Any suggestions as to where to look next?

Marc
May 17 '07 #1
4 5762
Just a huge guess: Security policy (caspol)?

"Marc Gravell" <ma**********@gmail.comha scritto nel messaggio
news:eK**************@TK2MSFTNGP06.phx.gbl...
Repost from dotnet.general (no response), and OT but I hoped somebody
might have a clue...
I have a handful of ClickOnce installs that work fine almost
everywhere... however, on some machines it simply does nothing! These
are regular VS2005 ClickOnce "publish" deployments, signed with a
valid certificate.

The client correctly detects the MIME, prompts the user, downloads the
files, etc - and the system deployment log (temp internet files) is
clean - i.e. no errors or warnings - goes to completion.

If I grab a copy of the deployment folder, remove the .deploy
extensions and run the exe, then everything is fine - it just simply
doesn't run via the manifest. Even Main() {MessageBox...} simply does
nothing. The exe flashes briefly in the process explorer, but is then
gone, with no eventlog / crashdump etc, and no MessageBox.

Any suggestions as to where to look next?

Marc
May 17 '07 #2
Possibly, but how to find out since there is no spew? It *should* get
its security from the publication, so I'm not sure ;-(

Marc
May 17 '07 #3
Tried to see if the fusion log shows something.
The following is from
http://msdn2.microsoft.com/en-us/library/aa480721.aspx.
The title is Administering ClickOnce Deployments. At least sounds good.

"
Dealing with Launch Errors

ClickOnce is highly reliable; however, in rare instances the application may
fail to install or launch correctly. When these situations arise, it is
helpful to have a log to diagnose the problem.

Whenever a launch failure occurs, the end user will get an error dialog like
the one shown in Figure 10. If they press the Details. button in that
dialog, they will get a deployment log for the failed deployment. The log
includes information such as the URLs used to launch the application, and
specifically what caused the failure.

Figure 11 shows the error log summary for an installation that failed due to
an authentication issue.

Whenever a user reports that they are having trouble getting a ClickOnce
application to launch, the first troubleshooting step is to get them to copy
the information from the error log and have them send it to you for
analysis. The vast majority of launch failures can be diagnosed from the
information in the deployment logs.

ClickOnce log files for each installation are written to the WinInet cache
(the Temporary Internet Files folder), for both failed and successful
deployments and launches. These files are just written as text files to the
Internet temporary files cache, and you can harvest information from there
directly if you are troubleshooting a persistent problem on a client
machine. These files are unfortunately named with obfuscated file names that
make it fairly difficult to identify which log file belongs to which
application. You will also have to sort them out from the hundreds or
thousands of other files that end up in most users' Internet caches. The
naming convention for these files is the prefix System_Deployment_Log_XXX,
where XXX is the obfuscation. The best way to deal with these is to clear
the cache, reproduce the problem, and then copy the log files out of the
cache for analysis.

Another option is to set a custom log file location. When you choose to do
this, all errors are written to a single file in the location that you
specify, and each activation appends its log entries into the end of the
file. So this approach can give you a more easily analyzed running
commentary of multiple launch attempts.

To set this up, under the registry key:

HK_Current_User\Software\Classes\Software\Microsof t\Windows\CurrentVersion\Deployment

Add a string value named LogFilePath, and set its value to a fully qualified
path to where you want the log entries written (i.e.
C:\temp\ClickOnceErrors.txt). Once you do that, all errors will be written
there. I would use this more as a diagnostic and troubleshooting aide rather
than as a normal configuration. Note that when you set a log file like this,
there is no longer any separation of entries, and the entries cannot be
purged using the normal cleanup process of the internet temporary files
cache.
"
"Marc Gravell" <ma**********@gmail.comha scritto nel messaggio
news:uQ**************@TK2MSFTNGP03.phx.gbl...
Possibly, but how to find out since there is no spew? It *should* get its
security from the publication, so I'm not sure ;-(

Marc
May 17 '07 #4
Yup; but those logs are clean as per OP

Oh well...

Marc

May 17 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: markoueis | last post by:
Is there any way to embed a ClickOnce Application into the browser? I love the way ClickOnce works, but the problem is I would like it to display the windows form in the browser. I could use a...
5
by: Danny Tuppeny | last post by:
I've been playing around with ClickOnce today, and it's all good stuff. Except, that if I change my application to NOT be full trust (which seems to make very little difference to the user prompt,...
3
by: Asaf | last post by:
Hi, After publishing my test application using ClickOnce with VS.NET 2005 I am getting these warnings: Warning: Could not download 'ClickOnce.application' from… Warning: Could not download...
11
by: moondaddy | last post by:
I have a .net 2.0 smarclient app and am trying to deploy it to IIS where users can access it from. I created an application folder in IIS where I'm trying to deployee to. 1) When the...
1
by: moondaddy | last post by:
I have a .net 2.0 winforms app which I'm deploying via clickonce. Unfortunately one of the things that needs to be installed during the clickonce is an MS Access mde application which uses a 3rd...
8
by: Tina | last post by:
While ASP.Net is migrating toward more robust presentation by using things like AJAX I am wondering if ClickOnce will errode a lot of ASP.Net presence in Corporate Applications. I've been reading...
1
by: M O J O | last post by:
Hi, I've have searched google, but can't find a solution to my problem. Om my develloper machine, I use one app.config, but when I deploy, I need to deploy another app.config. The reason...
2
by: Alex Bögli | last post by:
Hi I have a rather advanced deployment scenario and wanted to know, if anyone has an idea how to accomplish that with ClickOnce: We are deploying a 3-tier application with a client connecting...
1
by: Earl | last post by:
Is ClickOnce deployment appropriate for an app where you have to ensure that the user has the correct framework installed (2.0) and also installs the SQLExpress plus scripts in the database? I've...
3
by: =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= | last post by:
Hello, I would like to know the best way to install an clickonce in .net 3.5 (we use LINQ 8-D) published application on terminal server 2003 Do I have to install it on EVERY user that will use...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.