Go Back   CP Web Hosting - reseller hosting > Server Scripting > .NET
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-14-2007, 01:17 PM
1R1 1R1 is offline
Senior Member
 
Join Date: Mar 2007
Posts: 164
Default Multiple Errors From Chnaging Web.Config File With New Ajax File

Hi



Well basically, I want to use the features of ajax in an existing asp.net web application, but when I insert the new web.config file into my web.config file. I get around 31 messages and several warnings such as

the 'RequiredPermission' attribute is not declared

the 'RequiredPermission' attribute is not declared

Message 30 Could not find schema information for the element 'add'.

Message 10 Could not find schema information for the element 'modules'.

Message 30 Could not find schema information for the element 'add'.

Message 6 Could not find schema information for the element 'scripting'.



etc etc, any ideas?
Reply With Quote
  #2 (permalink)  
Old 07-14-2007, 01:19 PM
Senior Member
 
Join Date: May 2007
Posts: 151
Default Re: Multiple Errors From Chnaging Web.Config File With New Ajax File

hi,
First, Try to reinstall the AjAX EXTENSTION on your machine again.

Second: If it not works too, you can try this following steps to solve this problem:

The warnings are caused by a line in web.config:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

Remove the xmlns part so it is:

<configuration>
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:03 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0