Go Back   Velocity Reviews > Newsgroups > Python
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Python - Re: This application has failed to start because the applicationconfiguration is incorrect

 
Thread Tools Search this Thread
Old 02-17-2009, 10:44 PM   #1
Default Re: This application has failed to start because the applicationconfiguration is incorrect


On 18/02/2009 5:49 AM, Sam Clark wrote:
> I am receiving the message "This application has failed to start because
> the application configuration is incorrect" when I attempt to run a
> compiled Python program on another machine. I have used py2exe on both a
> 2.6.1 and a 2.6.0 version of the .py and .pyw files. Everything works
> great on the machine where Python 2.6 is loaded, but fails on machines
> where I copy the .exe to the machine. I'm a beginner at python
> programming. In fact this is my first packaged program. Any thoughts at
> a beginners level would be helpful.


This will be due to the C runtime library not being installed correctly
on the target machine. Python 2.6 has this problem more than earlier
versions (due to the compiler used to build it) and the best way to
address it isn't really clear yet unless you are willing to have them
install these libraries via another Microsoft supplied installer.
Probably the easiest workaround is to use Python 2.5 in the short term...

Mark


Mark Hammond
  Reply With Quote
Old 02-25-2009, 05:51 PM   #2
Lorenzo
 
Posts: n/a
Default Re: This application has failed to start because the applicationconfiguration is incorrect
On 17 feb, 19:44, Mark Hammond <skippy.hamm...@gmail.com> wrote:
> On 18/02/2009 5:49 AM, Sam Clark wrote:
>
> > I am receiving the message "Thisapplicationhasfailedtostartbecause
> > theapplicationconfiguration is incorrect" when I attempt to run a
> > compiled Python program on another machine. I have used py2exe on both a
> > 2.6.1 and a 2.6.0 version of the .py and .pyw files. Everything works
> > great on the machine where Python 2.6 is loaded, but fails on machines
> > where I copy the .exe to the machine. I'm a beginner at python
> > programming. In fact this is my first packaged program. Any thoughts at
> > a beginners level would be helpful.

>
> This will be due to the C runtime library not being installed correctly
> on the target machine. *


I had the same issue. After looking some "patch" solutions of putting
manually some dlls on the dist folder, I realized that you can fix it
by installing one of these packages, see which one fits your system:
x86
http://www.microsoft.com/downloads/d...displaylang=en

x64
http://www.microsoft.com/downloads/d...displaylang=en

PS: Mark, this could be added to a kind of "Deployment" entry in
py2exe wiki, it would be useful.


Lorenzo
  Reply With Quote
Old 02-26-2009, 12:35 AM   #3
Mark Hammond
 
Posts: n/a
Default Re: This application has failed to start because the applicationconfiguration is incorrect
On 26/02/2009 4:51 AM, Lorenzo wrote:

> PS: Mark, this could be added to a kind of "Deployment" entry in
> py2exe wiki, it would be useful.


IIRC, I've never edited the py2exe wiki (despite appearances to the
contrary sometimes, I don't formally maintain that package!).

But that is the cool thing about Wiki's - *anyone* can add such
information

Cheers,

Mark


Mark Hammond
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading jars for Java Web Start nhdsl Software 0 06-17-2009 02:21 PM
Cisco 2600 - Inbound NAT translation/Port-forwarding not working Greg Hardware 0 11-20-2008 07:33 PM
How to open Web Application pages (ASPX) in Windows application. arameshmca Software 1 02-07-2008 03:18 AM
Server Error in '/Forms' Application. AxleWack General Help Related Topics 0 10-11-2007 01:47 PM
Burn process failed - help! Log file posted for help troubleshooting Michael Mason DVD Video 1 08-16-2004 09:24 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46