Click here to Skip to main content
15,914,452 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Use Firefox with 2005 studio? Pin
Russell Jones17-Apr-07 2:35
Russell Jones17-Apr-07 2:35 
QuestionOne of the page from my App stopped responding Pin
rohan198117-Apr-07 0:49
rohan198117-Apr-07 0:49 
QuestionHtml View Pin
Lijo Rajan17-Apr-07 0:36
Lijo Rajan17-Apr-07 0:36 
AnswerRe: Html View Pin
enjoycrack17-Apr-07 1:48
enjoycrack17-Apr-07 1:48 
GeneralRe: Html View Pin
Lijo Rajan17-Apr-07 1:52
Lijo Rajan17-Apr-07 1:52 
GeneralRe: Html View Pin
enjoycrack17-Apr-07 4:39
enjoycrack17-Apr-07 4:39 
QuestionDatalink Connection dialog in asp.net Pin
dtamils17-Apr-07 0:01
dtamils17-Apr-07 0:01 
QuestionASP.NET Ajax v1.0 Pin
DGtech16-Apr-07 23:40
DGtech16-Apr-07 23:40 
I want to use asp.net ajax in one of my existing asp.net 2.0 web application (asp.net website). At first i`ve changed the existing web.config file and changed it to make compatible with ajax.
Changed web.config file is as follows:

=============================================================================
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>

<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
</pages>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false">
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</assemblies>
</compilation>

<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>

<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
</system.web>

<system.web.extensions>
<scripting>
<webServices>
<!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
<!--
<jsonSerialization maxJsonLength="500">
<converters>
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
</converters>
</jsonSerialization>
-->
<!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
<!--
<authenticationService enabled="true" requireSSL = "true|false"/>
-->

<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
writeAccessProperties attributes. -->
<!--
<profileService enabled="true"
readAccessProperties="propertyname1,propertyname2"
writeAccessProperties="propertyname1,propertyname2" />
-->
</webServices>
<!--
<scriptResourceHandler enableCompression="true" enableCaching="true" />
-->
</scripting>
</system.web.extensions>

<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
</system.webServer>
</configuration>
=============================================================================

After that i run the project and it works well but when i publish the website and installed it on a different computer it generates the following error when it try to open the page in browser:


=============================================================================
Server Error in '/WebSite1' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'type'.

Source Error:


Line 2: <configuration>
Line 3: <configSections>
Line 4: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
Line 5: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
Line 6: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>


Source File: D:\WebSite\web.config Line: 4


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
=============================================================================

Please help. And also let me know if you need some more information
AnswerRe: ASP.NET Ajax v1.0 Pin
Christian Graus16-Apr-07 23:45
protectorChristian Graus16-Apr-07 23:45 
GeneralRe: ASP.NET Ajax v1.0 Pin
DGtech16-Apr-07 23:54
DGtech16-Apr-07 23:54 
GeneralRe: ASP.NET Ajax v1.0 Pin
Christian Graus17-Apr-07 0:07
protectorChristian Graus17-Apr-07 0:07 
Questionjavascript events Pin
Russell Jones16-Apr-07 23:31
Russell Jones16-Apr-07 23:31 
AnswerRe: javascript events Pin
Russell Jones17-Apr-07 0:53
Russell Jones17-Apr-07 0:53 
Questionjavascript visible true/false Pin
pradeep kumarappagari16-Apr-07 23:21
pradeep kumarappagari16-Apr-07 23:21 
AnswerRe: javascript visible true/false Pin
Christian Graus16-Apr-07 23:34
protectorChristian Graus16-Apr-07 23:34 
AnswerRe: javascript visible true/false Pin
gauthee16-Apr-07 23:35
gauthee16-Apr-07 23:35 
AnswerRe: javascript visible true/false Pin
Sylvester george16-Apr-07 23:37
Sylvester george16-Apr-07 23:37 
GeneralRe: javascript visible true/false Pin
pradeep kumarappagari16-Apr-07 23:38
pradeep kumarappagari16-Apr-07 23:38 
QuestionMaintain application's to run only one at a time Pin
Lappalainen Antti16-Apr-07 23:12
Lappalainen Antti16-Apr-07 23:12 
AnswerRe: Maintain application's to run only one at a time Pin
Christian Graus16-Apr-07 23:21
protectorChristian Graus16-Apr-07 23:21 
GeneralRe: Maintain application's to run only one at a time Pin
Lappalainen Antti16-Apr-07 23:45
Lappalainen Antti16-Apr-07 23:45 
QuestionCustomising the Login Control Pin
Brendan Vogt16-Apr-07 23:06
Brendan Vogt16-Apr-07 23:06 
Questionchange text value in textbox in file upload control Pin
sivainfo16-Apr-07 22:57
sivainfo16-Apr-07 22:57 
AnswerRe: change text value in textbox in file upload control Pin
Christian Graus16-Apr-07 23:22
protectorChristian Graus16-Apr-07 23:22 
QuestionError: Server tag is not well formed Pin
Jay_se16-Apr-07 22:53
Jay_se16-Apr-07 22:53 

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.