CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 5/17/2006 3:20:18 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 48 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"dwilliams459"
NewsGroup User
Web.Config parsing error in Web App Projects with IIS5/17/2006 3:20:18 PM

0

Has the Schema of the Web.Config changed in Web App Projects?  After converting my 2005 Web Site project to a 2005 WAP,
and switching to IIS Web Server, I am getting a number of errors at run time in my web.config files starting with:
Unrecognized attribute 'type'. 
This error occurs when parsing the web.config file where first highlighted below.  I do not see the referenced type in the GAC (System.Configuration.ApplicationSettingsGroup), should it be there?  System.Configuration and System.Configuration.Install 
is referenced by the project.  If I remove the type parameter and value, I get the error:
Unrecognized attribute 'requirePermision'. 
It appears 'requirePermision' parameter is no longer used, so when I remove it, I get an error with ConectionStrings section!! 
Unrecognized configuration section 'connectionStrings'

I am including the part of the config file that appears to be causing the error, modified only to hide connection string passwords etc.  
This error does not seem to occur when using Development Server.  BTW I followed the steps provided by Scott Guthrie to
convert from WSP to WAP.

Thanks, David

<configuration>
  <configSections>
    <section name="exceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,Microsoft.ApplicationBlocks.ExceptionManagement,Version=1.3.0.0,Culture=neutral,PublicKeyToken=2e54ea205fb017a3"/>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
      <section name="SponsorWeb.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <connectionStrings>
<clear/> <add name="ABC" connectionString="data source=(local);initial catalog=ABC;user id=NotReal;password=NotReal;persist security info=True;pooling=true"/> </connectionStrings> .... </configuration>
 
David Williams MCP
.Net Senior Developer
"dwilliams459"
NewsGroup User
Re: Web.Config parsing error in Web App Projects with IIS5/18/2006 6:22:52 PM

0

Opps, It looks like the IIS Directories were set to .Net 1.1. 
Thanks, David

David Williams MCP
.Net Senior Developer
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













randomize an array

linkbutton annoyance! c#

asp.net calendar sunday disable

error '8002801d'

placing labels in placeholder

textbox width issue

multiview and validation

page reloads automatically when using response.binarywrite

system.data, is ado.net is the best way to access data

textbox in datagrid

disabling server side validation on autopostback of dropdownlist

validation issue

fixed text in address bar in the explorer

asp.net and sockets

session values are mixed other users session

http compression good for this case?

need help on displaying a web page in a placeholder on a form

populate ddlyear

returning an html string

how do i catch the keypress on a server side control?

ratings

data retrieval problem in web page

easy line break issue, from database to label.

linkedin style timeout form management

display only one validation error message in a group of four

driving me crazy (urgent)

convert dynamically loading controls to static control in aspx page

sending automated e-mail in asp.net

i have a form. this form needs to be populated or pre filled.

aspx references a method in .cs file

button that get no response from server occasionally

parser error message: access is denied: 'confirmationbutton'.

??help me plz..

contentplaceholder usercontrol?

resize dropdownlist box

have to click button twice for code to run

urlrewriting application's default page

session question

my regex to see if a string contained at least 1 number is broke :(

non english variable in the query string

page not working with ie on macs

regularexpressionvalidator, want to deny html closing tags

dynamic radiolist and button

fckeditor (or similar) and content pages

execution doesn't stop at break points

alternative to download method

loop error

iis 5 optimizations

web form size

find out when text file last saved

   
  Privacy | Contact Us
All Times Are GMT