Hi all,
I'm having a problem with a dynamic data website I uploaded to my hosting account. I had to upload several .NET reference dlls to the bin folder. The website works ok until it accesses a webform with a DynamicData control, and throws this error:
Could not load type 'System.Web.DynamicData.IDynamicDataSource' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
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.TypeLoadException: Could not load type 'System.Web.DynamicData.IDynamicDataSource' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:
Line 5:
Line 6: <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Line 7: <asp:DynamicDataManager ID="DynamicDataManager1" runat="server" AutoLoadForeignKeys="true" />
Line 8:
Line 9: <h2><%= table.DisplayName%></h2>
How can I fix this?
Dynamic DataASP.NET Dynamic DataDynamic Data Website WizardASP.NET Dynamic Data Website WizardDynamicDataDynamic Data WebApplicationProjectDynamic Data HTMLEncoding FieldTemplates
Dynamic Data only works on machines that have Framework 3.5 SP1 installed. Maybe your hoster doesn't have SP1? Note that you should not have any of the System.Web.* DLL's in your app's bin folder.
David
Marked as answer by ricka6 on Sep 12, 2008 04:54 AM
Hi, your hosting server should have ASP.NET 3.5 SP1 installed. Dynamic Data will not run out of the bin folder. You will have to contact your hosting provider for support.
Is VS 2008 SP1 different from .Net 3.5 SP1? Right now I am facing the same issue... I am getting same message as well as the build errors such as "getTable is not a member of system.web.UI.webcontrols.linqdatasource".
Cbeckford_JM
0 Points
1 Post
Problem with Dynamic Data Website
Sep 10, 2008 08:16 PM|LINK
Hi all,
I'm having a problem with a dynamic data website I uploaded to my hosting account. I had to upload several .NET reference dlls to the bin folder. The website works ok until it accesses a webform with a DynamicData control, and throws this error:
Could not load type 'System.Web.DynamicData.IDynamicDataSource' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
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.TypeLoadException: Could not load type 'System.Web.DynamicData.IDynamicDataSource' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:
How can I fix this?
Dynamic Data ASP.NET Dynamic Data Dynamic Data Website Wizard ASP.NET Dynamic Data Website Wizard DynamicData Dynamic Data WebApplicationProject Dynamic Data HTMLEncoding FieldTemplates
davidebb
Contributor
7006 Points
1366 Posts
Microsoft
Re: Problem with Dynamic Data Website
Sep 10, 2008 08:51 PM|LINK
Dynamic Data only works on machines that have Framework 3.5 SP1 installed. Maybe your hoster doesn't have SP1? Note that you should not have any of the System.Web.* DLL's in your app's bin folder.
David
marcind
Contributor
3344 Points
609 Posts
Microsoft
Re: Problem with Dynamic Data Website
Sep 10, 2008 08:52 PM|LINK
Hi, your hosting server should have ASP.NET 3.5 SP1 installed. Dynamic Data will not run out of the bin folder. You will have to contact your hosting provider for support.
ASP.NET Team
@marcind
Blog
jhallal
Participant
1547 Points
299 Posts
Re: Problem with Dynamic Data Website
Jul 01, 2010 01:38 PM|LINK
i have installed .net framewrok 3.5 SP1 but i'm still facing the same issue, any suggestion?
Jamil
I would love to change the world, but they won't give me the source code.
sjnaughton
All-Star
27391 Points
5485 Posts
MVP
Re: Problem with Dynamic Data Website
Jul 02, 2010 11:37 AM|LINK
Have you installed VS2008 SP1?
Dynamic Data
Always seeking an elegant solution.
padkavi
Member
20 Points
15 Posts
Re: Problem with Dynamic Data Website
Sep 22, 2011 02:45 PM|LINK
Hi Steve,
Is VS 2008 SP1 different from .Net 3.5 SP1? Right now I am facing the same issue... I am getting same message as well as the build errors such as "getTable is not a member of system.web.UI.webcontrols.linqdatasource".
Appreciate your help and support.
sjnaughton
All-Star
27391 Points
5485 Posts
MVP
Re: Problem with Dynamic Data Website
Sep 23, 2011 09:20 AM|LINK
you get .Net 3.5 SP1 with VS2008 SP1 but not the other way around so if you installed the Service pack for .Net you wont get the new bits for VS2008
Always seeking an elegant solution.