Abort/Dump in ClickOnce app before my code runs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Just_a_fan@home.net

    Abort/Dump in ClickOnce app before my code runs

    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.Visua lBasic

    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...



    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.invalido perationexcepti on

    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

  • RobinS

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

    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@hom e.netwrote in message
    news:b6nqu31igt i4be31u8p46f95v tartev1v0@4ax.c om...
    >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.Visua lBasic
    >
    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...
    >

    >
    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.invalido perationexcepti on
    >
    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
    >

    Comment

    • Just_a_fan@home.net

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

      It won't trash your system. It just GPFs and goes away. It installs in
      an obfuscated directory and does not mess with anything.

      I was targeting .NET 2.0. How do I force out the install for that?

      Mike

      On Sat, 29 Mar 2008 16:26:31 -0700, in
      microsoft.publi c.dotnet.langua ges.vb "RobinS" <robins@imnotte lling.com>
      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@ho me.netwrote in message
      >news:b6nqu31ig ti4be31u8p46f95 vtartev1v0@4ax. com...
      >>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.Visua lBasic
      >>
      >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/PVM1...on/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.invalido perationexcepti on
      >>
      >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
      >>

      Comment

      • Just_a_fan@home.net

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

        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.publi c.dotnet.langua ges.vb "RobinS" <robins@imnotte lling.com>
        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@ho me.netwrote in message
        >news:b6nqu31ig ti4be31u8p46f95 vtartev1v0@4ax. com...
        >>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.Visua lBasic
        >>
        >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/PVM1...on/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.invalido perationexcepti on
        >>
        >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
        >>

        Comment

        • Just_a_fan@home.net

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

          It is the run after install that is failing.

          A box comes up saying that I can submit the dump and I have the option
          to look at it but no way to copy it off to post anywhere.

          If anyone knows where it is stashed for the upload, I guess I can find
          it there and post.

          Mike

          On Mon, 31 Mar 2008 00:02:27 -0700, in
          microsoft.publi c.dotnet.langua ges.vb "RobinS" <robins@imnotte lling.com>
          wrote:
          >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
          >InitializeComp onent().
          >
          >RobinS.
          >GoldMail.com
          >
          >
          ><Just_a_fan@ho me.netwrote in message
          >news:s8o0v35cc okr79dejk60ans0 0m75jjbjut@4ax. com...
          >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.publ ic.dotnet.langu ages.vb "RobinS" <robins@imnotte lling.com>
          >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.c om
          >>>-------------------------------------
          >>><Just_a_fan@ home.netwrote in message
          >>>news:b6nqu31 igti4be31u8p46f 95vtartev1v0@4a x.com...
          >>>>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.Visua lBasic
          >>>>
          >>>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/PVM1...on/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.invalido perationexcepti on
          >>>>
          >>>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
          >>>>
          >>

          Comment

          • Just_a_fan@home.net

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

            Already posted that I did just that.

            The first statement of the form load is a msgbox. It never gets to it.

            Mike

            On Sun, 30 Mar 2008 23:59:42 -0700, in
            microsoft.publi c.dotnet.langua ges.vb "RobinS" <robins@imnotte lling.com>
            wrote:
            >See below.
            >
            ><Just_a_fan@ho me.netwrote in message
            >news:gtk0v39p5 tl64rgvhfinnia6 o7no29htit@4ax. com...
            >It won't trash your system.
            >
            >And if I sent money to someone in Nigeria, they'd send me some back. This is
            >not personal, I'm just careful about what I click on, and I don't know you.
            >
            >It just GPFs and goes away. It installs in
            >an obfuscated directory and does not mess with anything.
            >
            >
            >So it does install, but it won't run. Have you considered putting statement
            >in to your startup to write one line of text to a file, so you can see if it
            >is getting that far? I've had this problem in the past, but it always
            >occurred because of a bug in my program, in the startup, prior to the forms
            >even being displayed.
            >
            >
            >I was targeting .NET 2.0. How do I force out the install for that?
            >
            >Click on the Prerequisites button in the Publish tab of the project
            >properties. Find ".Net Framework 2.0" and click the checkbox. I think you
            >also need "Windows Installer 3.1". Select "download from vendor website".
            >Click "OK". It's that simple. When the user runs it, if they don't have .Net
            >2.0 installed, it will install it.
            >
            >RobinS.
            >
            >>
            >Mike
            >>
            >On Sat, 29 Mar 2008 16:26:31 -0700, in
            >microsoft.publ ic.dotnet.langu ages.vb "RobinS" <robins@imnotte lling.com>
            >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.c om
            >>>-------------------------------------
            >>><Just_a_fan@ home.netwrote in message
            >>>news:b6nqu31 igti4be31u8p46f 95vtartev1v0@4a x.com...
            >>>>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.Visua lBasic
            >>>>
            >>>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/PVM1...on/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.invalido perationexcepti on
            >>>>
            >>>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
            >>>>
            >>

            Comment

            • Just_a_fan@home.net

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

              I can't get to the code to run anything!

              Wish I could.

              Mike

              On Mon, 31 Mar 2008 00:08:02 -0700, in
              microsoft.publi c.dotnet.langua ges.vb "RobinS" <robins@imnotte lling.com>
              wrote:
              >I tried this in a VM, and the problem is not in your deployment, it is in
              >your application. If you check the installation folder(s), the app is
              >installed.
              >
              >You might try adding some logging to your application, like log4net, or just
              >writing your own statements in the startup to make sure it's running okay.
              >
              >You might also try doing the deployment in release mode, then going to the
              >Release folder and drilling down and running the exe file from there.
              >
              >Does it work if you run it from Visual Studio in debug mode? How about in
              >release mode?
              >
              >RobinS.
              >GoldMail.com
              >
              >
              ><Just_a_fan@ho me.netwrote in message
              >news:gtk0v39p5 tl64rgvhfinnia6 o7no29htit@4ax. com...
              >It won't trash your system. It just GPFs and goes away. It installs in
              >an obfuscated directory and does not mess with anything.
              >>
              >I was targeting .NET 2.0. How do I force out the install for that?
              >>
              >Mike
              >>
              >On Sat, 29 Mar 2008 16:26:31 -0700, in
              >microsoft.publ ic.dotnet.langu ages.vb "RobinS" <robins@imnotte lling.com>
              >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.c om
              >>>-------------------------------------
              >>><Just_a_fan@ home.netwrote in message
              >>>news:b6nqu31 igti4be31u8p46f 95vtartev1v0@4a x.com...
              >>>>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.Visua lBasic
              >>>>
              >>>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/PVM1...on/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.invalido perationexcepti on
              >>>>
              >>>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
              >>>>
              >>

              Comment

              • RobinS

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

                Go to the deployment folder and find the exe file, double-click on it and
                see if it runs. If it doesn't, then your deployment is probably missing some
                crucial file.

                RobinS.
                GoldMail.com


                <Just_a_fan@hom e.netwrote in message
                news:h0f304hfcp 15bfkilr8nqlq4n fl45fc8hq@4ax.c om...
                It is the run after install that is failing.
                >
                A box comes up saying that I can submit the dump and I have the option
                to look at it but no way to copy it off to post anywhere.
                >
                If anyone knows where it is stashed for the upload, I guess I can find
                it there and post.
                >
                Mike
                >
                On Mon, 31 Mar 2008 00:02:27 -0700, in
                microsoft.publi c.dotnet.langua ges.vb "RobinS" <robins@imnotte lling.com>
                wrote:
                >
                >>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
                >>InitializeCom ponent().
                >>
                >>RobinS.
                >>GoldMail.co m
                >>
                >>
                >><Just_a_fan@h ome.netwrote in message
                >>news:s8o0v35c cokr79dejk60ans 00m75jjbjut@4ax .com...
                >>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.pub lic.dotnet.lang uages.vb "RobinS" <robins@imnotte lling.com>
                >>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.co m
                >>>>-------------------------------------
                >>>><Just_a_fan @home.netwrote in message
                >>>>news:b6nqu3 1igti4be31u8p46 f95vtartev1v0@4 ax.com...
                >>>>>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
                >>>>submissio n 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.Visua lBasic
                >>>>>
                >>>>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/PVM1...on/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
                >>>>environment s.
                >>>>>
                >>>>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.invalido perationexcepti on
                >>>>>
                >>>>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
                >>>>>
                >>>
                >

                Comment

                Working...