Wednesday, March 28, 2012

Installation problem

Hi

I'm using VS 2005 on Vista Business. I installed AJAX Extentions ans Toolkit. When I create a new AJAX enabled website everything is fine. But when I use some of the demos I get hundreds of errors - as if the AJAX extentions were disabled. In case of the ToDoList-CS demo website for instance I get the following errors.

Error 1 Element 'ScriptManager' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 3 6 C:\...\ToDoList-CS\
Error 2 Element 'UpdateProgress' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 11 10 C:\...\ToDoList-CS\
Error 3 Validation (XHTML 1.0 Transitional): Element 'progresstemplate' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 12 10 C:\...\ToDoList-CS\
Error 4 Validation (XHTML 1.0 Transitional): Element 'img' is missing required attribute 'alt'. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 14 14 C:\...\ToDoList-CS\
Error 5 Element 'UpdatePanel' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 23 10 C:\...\ToDoList-CS\
Error 6 Validation (XHTML 1.0 Transitional): Element 'contenttemplate' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 24 10 C:\...\ToDoList-CS\
Error 7 Element 'GridView' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 25 14 C:\...\ToDoList-CS\
Error 8 Validation (XHTML 1.0 Transitional): Element 'columns' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 33 11 C:\...\ToDoList-CS\
Error 9 Element 'CommandField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 34 18 C:\...\ToDoList-CS\
Error 10 Element 'BoundField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 35 18 C:\...\ToDoList-CS\
Error 11 Element 'BoundField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 37 18 C:\...\ToDoList-CS\
Error 12 Element 'CheckBoxField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 38 18 C:\...\ToDoList-CS\
Error 13 Validation (XHTML 1.0 Transitional): Element 'triggers' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 42 10 C:\...\ToDoList-CS\
Error 14 Element 'AsyncPostBackTrigger' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 43 14 C:\...\ToDoList-CS\
Error 15 Element 'UpdatePanel' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 52 9 C:\...\ToDoList-CS\
Error 16 Validation (XHTML 1.0 Transitional): Element 'contenttemplate' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 53 6 C:\...\ToDoList-CS\
Error 17 Element 'DetailsView' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 54 14 C:\...\ToDoList-CS\
Error 18 Validation (XHTML 1.0 Transitional): Element 'fields' is not supported. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 61 10 C:\...\ToDoList-CS\
Error 19 Element 'BoundField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 62 18 C:\...\ToDoList-CS\
Error 20 Element 'BoundField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 64 18 C:\...\ToDoList-CS\
Error 21 Element 'CheckBoxField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 65 18 C:\...\ToDoList-CS\
Error 22 Element 'CommandField' is not a known element. This can occur if there is a compilation error in the Web site. C:\Users\Igor\Desktop\ToDoList-CS\ToDoList-CS\Default.aspx 66 18 C:\...\ToDoList-CS\

Why is that? I followed the tips from ASP.NET AJAX Control Toolkit: Installation and getting started onhttp://ajax.asp.net/ during installation.

so when you downloaded the toolkit zip folder. you loaded the poject then compiled and ran it, getting the demo page and all that? and then you added the dll to the toolbox area?


I don't fully understand. I did everything as shown on the webcast.

I installed (at least I think so) everything required to be able to create AJAX enabled web sites. At present, when I open VS and create a new website I can easily add (both AJAX extentions and AJAX Toolkit tas in the tolbox menu are visible) AJAX extentions, updatepanels etc. I can also build those pages easily - with no errors.

But when I open VS and choose to open an exisitng website and point to one of the folders downloaded from asp.net site VS display errors, like these above.

Maybe I'm doing something incorrectly.

Both the ajax extentions and toolkit installed are the latest available.


that is odd, maybe there is a linking issue with finding the controll toolkit. Are there any other erros that you get that arnt like the ones you showed before?

also if you have somethign like this in your code

<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

make sure the tagPrefix is the same as what is used in your code to create controls, so make sure you page uses

<asp:Textbox ID="text1" runat="server"/>

for example. They must match that add line, but because this is a demo from online it should be right

No comments:

Post a Comment