[IronPython] Value can not be null

Praveen Kumar praveen at mahiti.org
Wed Feb 6 11:44:33 CET 2008


Hi
I am new of ironPython for VisualStudio.net 2005



Description of SampleModule1--->

import sys
print>>sys.stderr, "SampleModule: being imported"

Description of SampleModule2-->

# coding: cp1252
print "Hi"

Default.aspx.py------>

import System
from System.Data import *
from System.Web import *
from System.Web.UI import *
from clr import *
import sys
import SampleModule2
print >> sys.stderr, "aspx: module imported OK"

Error-->value canot be null and getting troubleshooting tips
1-use the "new" keyword to create object instance
2-check to determine if the object is null before claaing the method

Now second issue when i import SampleModule1
Its working failrly but nothing is printing on page.


-- 
Praveen Kumar
Mahiti Infotech Pvt. Ltd.
# 33-34, Hennur Cross
Hennur Main Road
Bangalore, India - 560043
Mobile:  +91 9343297314
Phone:  +91 80 4148 5080/1  41150580/1
http://www.mahiti.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080206/fe9a6557/attachment.html>


More information about the Ironpython-users mailing list