ObjectDataSource cannot find type when deployed to SharePoint

Posted by Sean on Stack Overflow See other posts from Stack Overflow or by Sean
Published on 2010-05-01T21:30:16Z Indexed on 2010/05/01 21:37 UTC
Read the original article Hit count: 268

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.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sharepoint