.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

The configuration section 'system.web.extensions' cannot be read because it is missing a section d

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :ASP.Net
 
My system: I have installed Windows 7, VS2010 and .NET40 and ASPAJAXExtSetup.msiI'm getting the error below. Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070032 Config Error The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration Config File \\?\C:\inetpub\tickets\web.config Requested URL http://www.tickets.com:80/ Physical Path Logon Method Not yet determined Logon User Not yet determined Config Source 45: </connectionStrings> 46: <system.web.extensions> 47: <scripting> My web.config:<?xml version="1.0"?><configuration>    <connectionStrings>            </connectionStrings>    <system.web.extensions>        <scripting>            <webServices>                <!--http://weblogs.asp.net/andrewfrederick/archive/2008/02/18/a-client-sid


View Complete Post


More Related Resource Links

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined WCF

  
Hi We had deployed WCF Dataservices in Sharepoint 2007, IIS 6.0 and Windows Server 2003  which worked perfectly fine. Recently we moved our sharepoint 2007 installation to Windows 2008 and IIS 7. After this migration, our WCF Dataservice started throwing exception There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined The WCF Folder is setup as an application. Same setup worked perfectly fine in IIS 6.0 Below is the main web.config <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <configuration>   <configSections>     <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">         <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler 'section defined'

  

i am creating my asp.net solution on the sharepoint(asp.net website and location=http://localhost/_layouts/myprogram)

(i using sharepoint2010-s1 and visual studio2010 and .net3.5)

when i were wanted test design form and browse this form, i recieve error:

Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler 'section defined'

but when i  deleted  this section i recieved this error:

 

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined

  

I am trying to create an MVC2 web application that will run both on my local development machine (on localhost), and on our central webserver.

Development machine:

  • Windows 7 Professional, 64bit
  • Visual Studio 2010 (beta)
  • ASP.NET 4.0
  • IIS 7.5

Webserver:

  • Windows Server 2003 SP2
  • ASP.NET 3.5 SP1 (determined by checking the folders under %SystemRoot%\Microsoft.NET\Framework)
  • IIS 6.0

Everything works fine when debugging from VS, and I've finally gotten so far that it also works copied to the webserver. However, when I try to copy it to my own local webserver, I get the following error message:

Error Summary

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Config File \\?\C:\T

WDP00002: missing section system.web/customErrors

  

 

 

Visual Studio 2005 Team Edition on W7 (32bit). New dev machine using an existing project pulled from VSS.

An endpoint configuration section for contract 'xxx' could not be loaded because more than one end

  

Hello,

I'm trying to test calling a webservice, I've found several free ones on http://webserviceshare.com, but none of them work for me.  Some of them give example calling code in C# which I've translated to VB.NET, they're typically just two to four lines, I don't think I've translated them incorrectly.

On that I've tried is US Zip Validator.  I added a Service Reference to http://www.webservicemart.com/uszip.asmx?WSDL, called ZipService.

I then call it like so:



            Dim myZipService As ZipService.USZipSoapClient = New ZipService.USZipSoapClient()
            Dim myCity As String = myZipService.ValidateZip("27707")


I get the following error on the first line of code:

"An endpoint configuration section for contract 'ZipService.USZipSoap' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name."


A page with information on this web service (including C# source code) is at:

http://webser

Unrecognized configuration section httpHandlers.

  
I spliced this from the webconfig of the working program into another application's webconfig. 
I have just this one error here. Is it ok to have different locations with different system.web areas
 
<?xml version="1.0"?>
			<system.web>
		<!--Start settings for FreeTextBox-->
		<httpHandlers>
			<add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox"/>
		</httpHandlers>
		<!--End settings for FreeTextBox-->
		<compilation debug="true" strict="false" explicit="true">
			<assemblies>
				<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="MySql.Data, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
				<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
				<add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicK

In Sharepoint 2007 while creating a group "Give Group Permission to this Site" section is missing

  
I have a strange anamoly in Sharepoint 2007 but I am guessing I am missing some minor step since I am new to Sharepoint. I am trying to create a new group which I have done before successfully. 1.On the home page of the site,  I click Site Actions, point to Site Settings, and then click People and Groups. 2.On the New menu, I click New Group. 3.Type a name for the group, and then type a brief description of the group's attributes in About Me. 4.I change the owner of the group or click Browse to find an individual's account name. 5.In the Group Settings section, I click the options to specify who can see the members of this group and who can add or remove members. 6.In the Membership Requests section, I click the options (No, No) and no email address entered Here is the problem part: I am supposed to see  the "Give Group Permission to this Site section"  but I see only Create and Cancel buttons.   Can you please help why I do not see  "Give Group Permission to this Site section". Is there another way to assign group permission?

Activation tab missing "Uses SOAP" section - COM+ Activation Tab

  
I'm looking into a migration path from our COM+ 1.5 components to WCF.  I was pointed to the "Uses SOAP" section of the Activation Tab, and how a web service could be used to communicate COM+ components.  I have been charged with creating a proof of concept, creating a COM+ component, activating this feature, and then using it with WCF.

My problem is that under Win7 or Server 2008R2 - this section of the Activation Tab is missing!

Here is a link of a screen shot showing the Activation Tab, as well as the documentation regarding "Uses SOAP" check box. 

I have enabled IIS, as well as ASP.NET on my WIN7 virtual machine - but this section simply does not show up.

I've searched the web for information on this, but nothing seems to be available.

Any ideas?  Do I have to go back to Server 2003? XP?

HELP!


How do I enable/add the ability to Customize my Theme in SharePoint 2010 if the section is missing?

  

I do not have the option to customize my theme on sites on my server.

How do I enable this?


dave

How do I enable/add the ability to Customize my Theme in SharePoint 2010 if the section is missing?

  

Question: How do I enable/add the ability to Customize my Theme in SharePoint 2010 if the section is missing in one site collection on a server?

Preface:
I'm doing all this on a staging server, not our production server.
I have a site collection that has been successfully moved from WSS 3.0 to SharePoint 2010 Server (Enterprise).
I ran the Visual Upgrade on all sites in the Site Collection, so that the v4 interface is being used.

When I edit the Theme (Site Actions / Site Settings: Look and Feel / Site Theme), I can only choose an existing one, and have no way to Customize it. The Customize Theme section simply isn't present.

Notes:
Another new Site Collection (not an upgrade from WSS) on the same server correctly shows the Customize Theme section.
I checked all the features available and didn't see anything that stood out. (It's possible I missed it).


Abraham

Web deployment project - web.config section replacement does not add remove tag

  

I have a web application that is actually installed as a component of a third party site.  In some configurations, I need to remove certain connection strings and re-add them.  I'm replacing this web.config section with a xml file that includes the following:

<connectionStrings>
      <remove name="MyOverridenConnection"/>
      <add connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDb;Data Source=MyServer" name="MyOverridenConnection"
           providerName="System.Data.SqlClient"/>
    </connectionStrings>

For some reason the remove tag is left out during the substitution and I end up with the following in the installed config:

<connectionStrings>
      <add connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDb;Data Source=MyServer" name="MyOverridenConnection"
           providerName="System.Data.SqlClient"/>
    </connectionStrings>

Is there any way to issue removes in replaced sec

Crystal Report gives System.AccessViolationException: Attempted to read or write protected memory. T

  

when a crystal report for same id is opened again at same time or refreshed then it gives the

"System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."


Stack Trace is :-


Stack Trace:

[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.SetConnectionInfos(ConnectionInfos ConnectionInfos) +0
CrystalDecisions.CrystalReports.Engine.Table.ApplyLogOnInfo(TableLogOnInfo logonInfo) +362
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetTableLogon(Tables tables, String user, String password, String server, String database, Boolean ignoreCase) +258
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDatabaseLogon(String user, String password, String server, String database, Boolean ignoreCase) +204
CrystalDecisions.

Infopath and Section 508 Accessibility

  

Hey, guys! I'm building a web site for a Section 508 workgroup, and I need the site to be 100% accessible (including the administration module I'm making for the team. We're using SharePoint MOSS 2007 and I recommended using infopath to enter data into the site's database (and also to populate downloadable Microsoft Word documents). The customer claimed that InfoPath is not Section 508 compliant, which seemed odd to me because the forms can be modified to anything you want them to be (including 508 compliant).

I even found this guide to making InfoPath accessible:

http://office.microsoft.com/en-us/infopath/HA102146831033.aspx

I'm curious if there are any caveats to making accessible forms in Infopath, or if the information I've gathered is incorrect.

Thanks!

Spaz


How to list existing blogs in a section the portal of blogs in sharepoint

  
I need to know how to list the existing blogs on my blog portal for users to access to read, in sharepoint 2007.

Not sure which section to post this, but hopefully someone can help with video overlay

  

We are going to be displaying videos within our application. We want to be able to overlay a semi-transparent layer or whatever over the video with data from our database about that video.

similar to some youtube video's where when you mouse over the video as its playing, a small portion on the bottom of the video displays or even at the end of the video when it gives you option to view 2 other videos.. we woudl like to do that affect but with data .

I guess another example of what we want is the effect of a modal popup but over a video file.

This forum may not be the place to ask, but i searched around and everything i found was video overlay software.. where you can create your own overlay by opening the video and editing.. we dont want to edit our video, they have to stay intact.. we simply want to place a transparent image over it with data about it.

thanks.


System.InvalidOperationException: Invalid attempt to read when no data is present.

  

Invalid attempt to read when no data is present.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: Invalid attempt to read when no data is present.

Source Error: 

Line 53:             if (reader.HasRows)
Line 54:             {
Line 55:                 Response.Write(reader.GetString(0));

Here is my code:

How to Fix the Details Section Height

  
Dear Fren's , I have an issue while working with a Crystal Report 10.0 I am printing a Students records in a pre-define format. now the detail section is dymaically change beacuse of No. of records for the students for some students there are 8 record ,& for some other students  only 2 records are their because i am printing on pre defined format when 2 records comes in the details section it is placing the reords at wrong places i want to fix the detail section either for 8 or for 2 records . how can i do this , please help Thaks in advance
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend