Problems creating a Network Dataset after upgrading to ArcGIS version 10

Discussion created by reneecammarere on Feb 23, 2011
Latest reply on Nov 2, 2011 by jhansi131
Recently we upgraded to version 10.  I was following the example at to create a shapefile-based Network Dataset.  Everything ran fine until we did the upgrade.  Once it got to the line "INetworkDataset networkDataset = (INetworkDataset)datasetContainer2.CreateDataset(deDataset);"  then I got an error message "COMException was unhandled". 
Did anything change between versions 9.3 and 10 that would cause this code to not work anymore?

My zip file would not upload because it was too large.  If you need to see the code, I can e-mail it to you.