Control of type 'VariationDataSource' is a non-visual control and does not support setting the Visible property
The below has been reposted because the original post is not viewable from the forum listing since it was moved to the Admin forum. A search for "VariationDataSource" in the admin forum returns no results. We have created a Sharepoint 2007 site that runs fine with windows authentication and asp.net impersonation enabled in IIS. However, when these are disabled and anonymous is enabled in IIS and with anonymous turned on in Sharepoint, we get this error message: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NotSupportedException: Control of type 'VariationDataSource' is a non-visual control and does not support setting the Visible property. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [NotSupportedException: Control of type 'VariationDataSource' is a non-visual control and does not support setting the Visible property.] System.Web.UI.HierarchicalDataSourceControl.set_Visible(Boolean value) +104 Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.disableConsoleDataSourcesRecursive(ControlCollection controls) +105 Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.disableConsoleDataSourcesRecursive(ControlCollection controls) +260 Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer.OnLoad(EventArgs e) +112 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Control.LoadRecursive() +141 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627 Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016 I have also tried by turning off Integrated Windows authentication in Central Admin. Still no joy. Googling this error returns no results. Need help with this. Also, note that the stack trace does not include any of our custom code. Control of type 'VariationDataSource' is a non-visual control and does not support setting the Visible property.
April 26th, 2010 7:23pm

I get an error when going to the link above. I have not been able to find any answer to this error. Please help!
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2010 5:01pm

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

Other recent topics Other recent topics