I am getting a few errors, I have not changed my web.config file, but I get an error with a few elements in my site:
asp:Panel
ContentTemplate
ProgressTemplate
SqlDataSource
All of these are getting errors, and do not work on screen, worked fine this morning.
What part of the web.config initializes these items?
Warning 159 The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: AjaxControlToolkit, Version=4.1.60919.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e.
The dependencies are: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35;
System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Configuration,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Drawing, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Core, Vers.... You should either ensure
that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.
Of course I am using 3.5, and the downloaded version of Toolkit is ASP.NET 3.5. I don't know where these specs are coming from.
"Success is the Sum of Small Efforts, Repeated Day in and Day Out - Without Ceasing!"
Currently Learning: ASP, SQL, CSS, JavaScript, AJAX, XML, XSLT, C# So please be patient with me! Thanks
Make sure you have not updated all assemblies ,try changing target framework to 4.0 it may help you
Beware of bugs in the above code; I have only proved it correct, not tried it.
-------------------------------------------------------
Contact-Info:Adils.kiet@gmail.com
The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure
According to the description, it seems like that the version of AjaxControlToolkit is higher than the .NET Framework.
Form the description above, the version of AjaxControlToolkit is 4.1.60919.0. However, ther version of the .NET Framework is 3.5. In order to resolve your issue, please download it from this link:
Bobby-Z
Contributor
2838 Points
1120 Posts
ELEMENT ASP:CONTROL is not a known element, an error occured or web.config.file is missing
Jan 11, 2013 03:03 PM|LINK
I am getting a few errors, I have not changed my web.config file, but I get an error with a few elements in my site:
asp:Panel
ContentTemplate
ProgressTemplate
SqlDataSource
All of these are getting errors, and do not work on screen, worked fine this morning.
What part of the web.config initializes these items?
Warning 159 The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: AjaxControlToolkit, Version=4.1.60919.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e. The dependencies are: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; System.Core, Vers.... You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly.
Of course I am using 3.5, and the downloaded version of Toolkit is ASP.NET 3.5. I don't know where these specs are coming from.
Currently Learning: ASP, SQL, CSS, JavaScript, AJAX, XML, XSLT, C# So please be patient with me! Thanks
Bobby-Z
Contributor
2838 Points
1120 Posts
Re: ELEMENT ASP:CONTROL is not a known element, an error occured or web.config.file is missing
Jan 17, 2013 01:38 AM|LINK
http://blog.tentaclesoftware.com/archive/2010/07/21/95.aspx
Currently Learning: ASP, SQL, CSS, JavaScript, AJAX, XML, XSLT, C# So please be patient with me! Thanks
Jugg3rNaut
Member
474 Points
109 Posts
Re: ELEMENT ASP:CONTROL is not a known element, an error occured or web.config.file is missing
Jan 17, 2013 03:12 AM|LINK
Make sure you have not updated all assemblies ,try changing target framework to 4.0 it may help you
-------------------------------------------------------
Contact-Info:Adils.kiet@gmail.com
Catherine Sh...
All-Star
23382 Points
2490 Posts
Microsoft
Re: ELEMENT ASP:CONTROL is not a known element, an error occured or web.config.file is missing
Jan 18, 2013 07:22 AM|LINK
Hi,
According to the description, it seems like that the version of AjaxControlToolkit is higher than the .NET Framework.
Form the description above, the version of AjaxControlToolkit is 4.1.60919.0. However, ther version of the .NET Framework is 3.5. In order to resolve your issue, please download it from this link:
http://ajaxcontroltoolkit.codeplex.com/releases/view/90063
Best wishes,
Feedback to us
Develop and promote your apps in Windows Store