I was getting ready
to post a problem because I've been struggling with this for a couple of
days since I upgraded from IronPython 1.1 to 2.6. Finally just as I was
composing this question it dawned on me to try something else and it worked. So
I thought I should post the solution I found in case others have
this same problem.
Problem:
I've got a DLL I use
for my application that depends on values from the app.config file. When using
IronPython 1.1 I just copied the appropriate app.config into my IP directory and
renamed it ipy.exe.config and everything works as expected. Trying to do the
exact same thing with IronPython 2.6 and then I get an error that says "The
system cannot execute the specified program."
C:\Program
Files\IronPython 2.6>ipy
The system cannot execute the specified
program.
Here is what my
config file looked like. (I removed most of my settings)
Solution:
Remove the xmlns option on the configuration
tag.
<?xml
version="1.0"?>
<configuration>
<appSettings>
<add key="MaxRowcount"
value="500"/>
<add key="ProcessClass"
value="1"/>
</appSettings>
</configuration>
_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com