views:

141

answers:

2

I'm receiving the following error when deploying a feature containing ASP.NET pages to our development SharePoint servers:

System.InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'odsYears' could not be found.

Our .dll is being deployed to the GAC and our pages are being deployed to the the respective Features directory in the 12 hive. We are not receiving this error on our Sandbox SharePoint server. I disassembled the .dll to be sure the class was being deployed and everything looked ok.

Does anyone have any ideas on why this would not work on one of our SharePoint environments?

Thanks.

A: 

ObjectDataSource is by default disabled in the SafeControls section of the web.config.

Colin
Yup, that was the first error :) After fixing that the error in the question is the one we're receiving. Thanks.
Sean
A: 

Found the error, I needed to add a reference to our .dll in the "assemblies" node of the SharePoint web.config file - in case anyone else comes across this.

Sean