473,761 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5812
Just a huge guess: Security policy (caspol)?

"Marc Gravell" <ma**********@g mail.comha scritto nel messaggio
news:eK******** ******@TK2MSFTN GP06.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_Deployme nt_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\Class es\Software\Mic rosoft\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\ClickOn ceErrors.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**********@g mail.comha scritto nel messaggio
news:uQ******** ******@TK2MSFTN GP03.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
3181
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 simple embedded dll, but then i lose the trust prompt that ClickOnce offers. Any ideas? Mark
5
5248
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, which scares me!) but to be installed on the start menu, it seems I don't have permission to call CheckForUpdate()! I understand that if I'm not a full trust app, I can't read the filesystem etc., but not being able to update myself seems a bit...
3
4549
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 'ClickOnce_1_0_0_3.application' from… Warning: Could not download 'ClickOnce_1_0_0_3/ClickOnce.exe.config.deploy' from… Warning: Could not download 'ClickOnce_1_0_0_3/ClickOnce.exe.deploy' from…
11
14669
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 application folder was set to 'Allow scripts only', I get an error: Failed to connect to 'http://192.168.0.5/TransAct/' with the following error:
1
2880
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 party control. this 3rd party control is an 'ocx' file. In the old days I would install this Access application using Installsheild which would install and register the ocx file on the target machines. Now in the click once environment, how do I...
8
1815
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 a lot about ClickOnce and it seems compelling particularily since Vista will have the .Net framework included along with the other requirements for ClickOnce deployment. Is there some downside to ClickOnce deployment that I'm now aware of? ...
1
8780
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 is, that on my develloper machine, my app.config sqlconnection is pointing to my (local) database and I have several settings like "Debug=True", but when I deploy (using ClickOnce), I need to use an
2
2740
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 to web services, which then connect to a database. The tiers are all on different nodes and we have around 1000 client users. We currently deploy the web services with Wise and adjust the database (cluster) manually. The clients should be...
1
1801
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 never used the ClickOnce technology before and am debating whether to use a batch script, an InstallShield package or ClickOnce. Any advice is appreciated.
3
5322
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 it ? If so, all the files will be duplicated for every user ? in wich folder ? If not, where will reside the application on the server ? how to make a shortcut for the main "executable" for all the users pointing to that ?
0
9531
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9957
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8780
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5229
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5373
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3881
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3456
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.