Re: Re: Abort/Dump in ClickOnce app before my code runs



What do you mean "it is not selectable, just viewable" ? You mean you *are* getting some kind of log file or message? What does the file dialog look like?

If the ClickOnce deployment was failing, you would get a dialog box saying it failed, and why, and pointing to a tmp file with a log of the deployment. So I don't think the problem is your deployment, I think it's your program. Write out one line of text in the startup of your program to a file, and see if it works. If it does, then it's not the deployment.

In C#, you can do this in the Program.cs file. In VB, assuming you're starting with a form, I would probably put it before the call to InitializeComponent().

RobinS.
GoldMail.com


<Just_a_fan@xxxxxxxx> wrote in message news:s8o0v35ccokr79dejk60ans00m75jjbjut@xxxxxxxxxx
Would be glad to post the dump if M$ would let me get hold it. So far,
I can't find any way to get it.

It is not selectable, just viewable. Is it saved somewhere I can find?
Mike

On Sat, 29 Mar 2008 16:26:31 -0700, in
microsoft.public.dotnet.languages.vb "RobinS" <robins@xxxxxxxxxxxxxxxx>
wrote:

Well, I'm not going to try your deployment because I like my computer just
the way it is. How about if you post the dump you're getting?

Also, it doesn't look like you have any prerequisites. Are you 100% sure
that the computers it does not install on actually have whatever version of
the .Net Framework you are targeting with your application? You can add the
framework as a prerequisite; if it is already installed, it will skip it,
otherwise it will install it.

RobinS.
GoldMail.com
-------------------------------------
<Just_a_fan@xxxxxxxx> wrote in message
news:b6nqu31igti4be31u8p46f95vtartev1v0@xxxxxxxxxx
I have a program which runs fine here (created in VB9). I publish it to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submission window to pop up. It seems something is missing.

This program was converted from a VB6 original piece. Unfortunately, I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and they
are OK. They were converted from .NET 2003 or 2005.

I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.

I commented this line. It did not change the problem and does not cause
any errors: 'Imports VB = Microsoft.VisualBasic

Just in case someone wants to see this error up close and personal, here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...

http://www.iliketheinternet.com/PVM1010-Companion/publish.htm

I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.

I cannot figure out (since M$ won't tell me) what is missing. I expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environments.

Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.

Error signature
Event Type: clr20r3
it says it is a system.invalidoperationexception

I have values for P1 through P7 including the program name twice and the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.

WHAT invalid op?

This is VERY repeatable.

Is there anything I can do to find out what the real problem is?

Mike



.


Loading