Results 1 to 24 of 24

Thread: My exe wont run

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2007
    Posts
    134

    My exe wont run

    I have just saved my program as an exe file. When I try to open this I get the following error.


    Any ideas?
    Attached Images Attached Images  

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Nov 2007
    Posts
    134

    Re: My exe wont run

    Activation context generation failed for "C:\Users\s\Desktop\Main Program\ImageScope.exe".Error in manifest or policy file "C:\Users\s\Desktop\Main Program\ImageScope.exe" on line 19. Invalid Xml syntax.

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: My exe wont run

    There is an XML syntax error in the application manifest or in assembly manifests of dependencies.

    Usually it will actually be a low-level XML problem like a missing closing tag, but it can also be related to XML element name vs. namespace conflicts.

    I think it is also saying this is an embedded manifest resource that is incorrect.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Nov 2007
    Posts
    134

    Re: My exe wont run

    Thanks for the reply. If it is because of a missed closing tag wouldn't I receive an error when running my program through visual basic? Also, I don't understand what you mean by XML element name vs. namespace conflicts, could you explain a little more please.

    Thanks a lot

  5. #5
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: My exe wont run

    Can we please see the Event Log File???
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  6. #6
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: My exe wont run

    Quote Originally Posted by ThEiMp View Post
    Can we please see the Event Log File???
    Wasn't that post#2?

  7. #7
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: My exe wont run

    Quote Originally Posted by YEAYA View Post
    Thanks for the reply. If it is because of a missed closing tag wouldn't I receive an error when running my program through visual basic?
    No. Running in the IDE handles tons of things diffrently.

    Quote Originally Posted by YEAYA View Post
    Also, I don't understand what you mean by XML element name vs. namespace conflicts, could you explain a little more please.
    Big topic and nothing we can cover here in a few words.

    XML tag names can be qualified by namespaces defined in schemas. Manifests use tags defined in several schemas, and getting these wrong can result in SxS failures.

    Where did you get this manifest from? What is wrong in line 19?

  8. #8
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: My exe wont run

    Quote Originally Posted by dilettante View Post
    Wasn't that post#2?
    Yes, but not all of it. I wish to see the whole Debug.Print file as well. There could be a conflict with the Run-Time Files, as well. And where they have been placed on the system.

    Question: Is this the deploy machine or the author machine???
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  9. #9
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: My exe wont run

    Quote Originally Posted by ThEiMp View Post
    Yes, but not all of it. I wish to see the whole Debug.Print file as well. There could be a conflict with the Run-Time Files, as well. And where they have been placed on the system.
    What Debug.Print files? Why assume he's doing any? And besides the program never gets that far, it never runs.

    This has nothing to do with runtime files that I can imagine, and the event log clearly says there is an XML syntax error. This happens very early in CreateProcess before the runtime would even begin to be invoked.

  10. #10
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: My exe wont run

    Can you post the XML project source code. And please really try to comment your work, as it will take along time to read and interprete if you haven't done so...
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  11. #11
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: My exe wont run

    My guess would be that the manifest is the only XML he's dealing with, and that's exactly where the syntax error is.

    Your program logic never sees or touches that XML. It is configuration data about your program that Windows uses to start the program. It's all part of how things changed in Windows starting with XP. Most VBers ignore it and rely on appcompat to let their programs keep running.

    So he probably doesn't have any "XML project" at all.

    If anything, we need to see his manifest.

  12. #12
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: My exe wont run

    I would also start by: Looking at the contents of his VBP file, that works as his project file...
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  13. #13
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: My exe wont run

    [Tearing hair out.]

    No, it is unrelated to anything in the .VBP file. It is a SxS manifest syntax error.

  14. #14
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: My exe wont run

    I have some problems with my VBPs that they expire, after a few saves of the project files. I just thought that he/she had the same problem, as me. As we are using the same programming language.

    -- Just drawing paraellels, here. Sorry for the mix up!!
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  15. #15
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: My exe wont run

    Does the project run as excepted in the Visual Basic 6 IDE?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  16. #16
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: My exe wont run

    Quote Originally Posted by Nightwalker83 View Post
    Does the project run as excepted in the Visual Basic 6 IDE?
    It would seem so. See posts #1 and #2.

    The logged message clearly points to the problem.

  17. #17
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: My exe wont run

    Quote Originally Posted by dilettante View Post
    It would seem so. See posts #1 and #2.

    The logged message clearly points to the problem.
    ah ok! I did some searching on the internet and found this. Hopefully, the article has some usefully information for the original poster.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  18. #18
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: My exe wont run

    Quote Originally Posted by Nightwalker83 View Post
    ah ok! I did some searching on the internet and found this. Hopefully, the article has some usefully information for the original poster.
    Yes, but I doubt the OP is using MMM.

    In any case the MMM bug has been fixed, though the new version hasn't been posted yet. Most people aren't using buggy libraries like that ZLibTool control. If they can't get the strings right in their typelib info no telling what else more serious might be broken. Sad, just sad.


    Ahh, the new MMM has been posted.
    Last edited by dilettante; Apr 14th, 2011 at 12:20 PM.

  19. #19

    Thread Starter
    Addicted Member
    Join Date
    Nov 2007
    Posts
    134

    Re: My exe wont run

    Hi every, sorry I have been away for a few days. Thanks for all your replies and insights.

    Quote Originally Posted by ThEiMp View Post
    Question: Is this the deploy machine or the author machine???
    I am using the same machine I programmed it on

    Quote Originally Posted by Nightwalker83 View Post
    Does the project run as excepted in the Visual Basic 6 IDE?
    Yes it works fine when I run it within Visual Basic.


    As far as the manifest and XML logs you are mentioning I am unsure on how to gather these, so if you think they would help please guide me on this.

    I have uploaded the project, hopefully it will help in finding the problem:

    http://www.angelfire.com/me5/sljackson/FileFinder.rar

    Thanks again for your help
    Last edited by YEAYA; Apr 18th, 2011 at 08:08 AM.

  20. #20
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: My exe wont run

    Quote Originally Posted by YEAYA View Post
    I have attached the project, hopefully it will help in finding the problem.
    It seems you forgot to attach the project to your post.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  21. #21

    Thread Starter
    Addicted Member
    Join Date
    Nov 2007
    Posts
    134

    Re: My exe wont run

    Quote Originally Posted by Nightwalker83 View Post
    It seems you forgot to attach the project to your post.
    Sorry about that, the file was too large to be uploaded on the forum, however I have uploaded it here:

    http://www.angelfire.com/me5/sljackson/FileFinder.rar

  22. #22
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: My exe wont run

    Quote Originally Posted by YEAYA View Post
    Sorry about that, the file was too large to be uploaded on the forum, however I have uploaded it here:
    I receive a 404 error:

    We couldn't find the page you requested. Please check the URL and try again.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  23. #23
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: My exe wont run

    It should work just fine when you run it through Run-Time Process. But the thing is in Compile-Time Process, is very different, in deed. I have found that to be, just so...
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  24. #24

    Thread Starter
    Addicted Member
    Join Date
    Nov 2007
    Posts
    134

    Re: My exe wont run

    There seemed to be a problem with the link I provided, here is another one:

    https://rapidshare.com/files/461489832/FileFinder.zip

    Any help on this would be greatly appreciated! Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width