views:

50

answers:

0

I am trying to upgrade a site from MOSS 2007 to SP 2010, but there is a document library which uses the CreateWebPage.aspx to create the pages in MOSS 2007. However, when I try to add an item to the library in 2010 version, I get a NullReferenceException, I opened the code of CreateWebPage.aspx in _layouts folder on the 2007 machine and then on the 2010 machine. Turns out that both show different layout and different controls; this is why I am getting some problem when I try to add an item to the document library. Any suggestions how can I solve this issue? Should i create a custom CreateWebPage.aspx and use it for this document library?