views:

69

answers:

1

I'm using Visual Studio 2008 Professional SP1, and I have an asp.net with IronPython 2.6.911.0 website

I added a funciones.dll file to the bin folder of the simplest aspx.py file possible (just created). I added "import funciones" to the codefile and I got this. "unhanddled exception of type 'System.StackOverflowException' in mscorlib.dll" and the disassembler stops in "System.Reflection.CustomAttribute.CreateCaObject" 00000040 mov edx,eax

I simplified the code of "funciones.dll" to this to see if there was a problem with it, and Im still getting it.

import clr
clr.AddReference('System.Data')
from System.Data import *
clr.AddReference('System')
import System
clr.AddReference('System.Web')
import System.Web

def escribircontroles(objeto):
    pass
A: 

Aparently the problem was related to the version of IronPython with which was compiled funciones.py along with a different version of the IronPython dlls in the bin folder

Pablo