The type specified in the TypeName property of ObjectDataSource 'TransversalFunctionDataSource' could not be found.
Hi All, We have a custom settings page called XYZ.aspx. it works fine on web application A, but it doesn't work on web application B. This is the error message on B: "The type specified in the TypeName property of ObjectDataSource 'TransversalFunctionDataSource' could not be found. " I've tried copying the web.config file from A to B, but it doesn't work. Sorry, I'm not a developer so please be specific when giving tips. Any help would be much appreciated. Thanks. TiffBlueVivian Tran
May 25th, 2011 4:13pm

Hi tiffblue, For this issue, you need to add reference to the assembly in web.config like this(where MyAssemblyName is the name of the assembly of your Web Part): <system.web> <compilation> <assemblies> <add assembly="MyAssemblyName, Version=XYZ, Culture=neutral, PublicKeyToken=XYZ" /> </assemblies> </compilation> </system.web> For more reference, you can go through this article: http://insomniacgeek.com/how-to-fix-the-the-type-specified-in-the-typename-property-of-objectdatasource-could-not-be-found-error-in-a-sharepoint-custom-solution/ Thanks & Regards, Peng Lei
Free Windows Admin Tool Kit Click here and download it now
May 26th, 2011 3:36am

Thank you Peng for your help! I had put my assembly in the SafeControl section in Web.config, and in the <assemlbies> list of the <compiliaton> section but its not not working. Any ideas what I need to check on next? Thanks, Tiffblue Vivian Tran
May 31st, 2011 10:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics