Click here to Skip to main content
15,905,144 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Get Client side printer list Pin
shreekar9-Jul-10 6:59
shreekar9-Jul-10 6:59 
Questiongridview rowupdating Pin
sudheesh kumar s9-Jul-10 0:49
sudheesh kumar s9-Jul-10 0:49 
AnswerRe: gridview rowupdating Pin
adkalavadia9-Jul-10 3:19
adkalavadia9-Jul-10 3:19 
QuestionHow to set login url programmatically for Forms Authentication ? Pin
Nadia Monalisa8-Jul-10 19:11
Nadia Monalisa8-Jul-10 19:11 
QuestionCSS question about text trimming Pin
_iobuf8-Jul-10 14:24
_iobuf8-Jul-10 14:24 
AnswerRe: CSS question about text trimming Pin
Anurag Gandhi8-Jul-10 20:59
professionalAnurag Gandhi8-Jul-10 20:59 
QuestionGeneral Approach to DropDownLists Pin
BugMeNotFTW8-Jul-10 4:00
BugMeNotFTW8-Jul-10 4:00 
AnswerRe: General Approach to DropDownLists Pin
David Mujica8-Jul-10 4:14
David Mujica8-Jul-10 4:14 
AnswerRe: General Approach to DropDownLists Pin
shreekar9-Jul-10 6:39
shreekar9-Jul-10 6:39 
QuestionHow to replace a a number in doc file with an image using windows application Pin
raghvendrapanda8-Jul-10 3:48
raghvendrapanda8-Jul-10 3:48 
AnswerRe: How to replace a a number in doc file with an image using windows application Pin
Eddy Vluggen8-Jul-10 4:16
professionalEddy Vluggen8-Jul-10 4:16 
QuestionMicrosoft JScript runtime error: Object required Pin
Haider M Rizvi8-Jul-10 3:07
Haider M Rizvi8-Jul-10 3:07 
AnswerRe: Microsoft JScript runtime error: Object required Pin
Vengatachalapathy Palanivel8-Jul-10 3:20
Vengatachalapathy Palanivel8-Jul-10 3:20 
QuestionASP.NET IIS login problem Pin
Gjm8-Jul-10 1:58
Gjm8-Jul-10 1:58 
AnswerRe: ASP.NET IIS login problem Pin
Rhys Jacob8-Jul-10 2:57
Rhys Jacob8-Jul-10 2:57 
GeneralRe: ASP.NET IIS login problem [modified] Pin
Gjm8-Jul-10 6:08
Gjm8-Jul-10 6:08 
GeneralRe: ASP.NET IIS login problem Pin
Rhys Jacob9-Jul-10 3:09
Rhys Jacob9-Jul-10 3:09 
QuestionHow to do a regular expression in chinese character? Pin
cocoonwls8-Jul-10 1:07
cocoonwls8-Jul-10 1:07 
QuestionFacebook web applications Pin
samerh8-Jul-10 1:00
samerh8-Jul-10 1:00 
QuestionProblem while exporting and Importing using Gridview to Excel Pin
codingrocks8-Jul-10 0:47
codingrocks8-Jul-10 0:47 
QuestionWhat Service Technology is the one we need to use ? [modified] Pin
Nadia Monalisa7-Jul-10 23:52
Nadia Monalisa7-Jul-10 23:52 
AnswerRe: What Service Technology is the one we need to use ? Pin
raju melveetilpurayil8-Jul-10 0:08
professionalraju melveetilpurayil8-Jul-10 0:08 
QuestionAsp.net webservice in command line Pin
Vijay Mudunuri7-Jul-10 22:53
Vijay Mudunuri7-Jul-10 22:53 
AnswerRe: Asp.net webservice in command line Pin
Peace ON8-Jul-10 0:54
Peace ON8-Jul-10 0:54 
Question[error] controlRenderingCompatibilityVersion' attribute is not declared [modified] Pin
jon-807-Jul-10 22:39
professionaljon-807-Jul-10 22:39 
I'm using Visual Studio 2010 (.NET 3.5), which still has .NET 4.0 installed because I had to uninstall Visual Studio 2010.

When I'm loading this code within Visual Studio 2008, an error is being displayed that seems to be triggered by:

web.config
...
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></controls></pages>
<httpHandlers>
...

Errors:
1. Warning 1 C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\CalendarTest.aspx: ASP.NET runtime error: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\web.config line 28) C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\CalendarTest.aspx 1 1 C:\...\RichControls\

2. Warning 2 The 'targetFramework' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 28 29 C:\...\RichControls\


3. Warning 3 The 'controlRenderingCompatibilityVersion' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 52 10 C:\...\RichControls\

4. Warning 4 The 'clientIDMode' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 52 53 C:\...\RichControls\

5. Error 5 Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 28

Command line
C:\Program Files\Microsoft Visual Studio 9.0\VC>aspnet_regiis -lv
1.1.4322.0 Valid C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\asp
net_isapi.dll
2.0.50727.0 Valid (Root) c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\as
pnet_isapi.dll
4.0.30319.0 Valid C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\as
pnet_isapi.dll
Jon
modified on Thursday, July 8, 2010 4:45 AM

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.