Can not find TypeName property of ObjectDataSource???
-
After coverting 2005 Web Site Project to 2005 Web Application Project, I got the following errors on all ObjectDataSource: The type specified in the TypeName property of ObjectDataSource 'odsName' could not be found. Any help is appreciated.
Missing using System.Data; ? Or the DLL? Cheers Al My eMail control My Blog
-
Missing using System.Data; ? Or the DLL? Cheers Al My eMail control My Blog
-
After I converted to 2005 web application project, the App_Code folder was changed to Old_App_Code. My public class for TypeName property of ObjectDataSource is located on this folder.
-
-
Your class's now only in the Old_App_Code folder, or you also keep another copy of the class in the App_Code folder? Do you use the IIS or the built-in server to do testing? I have tried converting a web site with a datasource control and a custom business class in App_Code folder, and it's working after the conversion, perhaps my example is much simpler than yours. Are you sure that the output assembly in the bin folder contains your custom business class?