+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 24

Thread: web.config <handlers>

  1. #11
    Barn Newbie willids is on a distinguished road willids's Avatar
    Join Date
    Jan 2010
    Posts
    14
    Rep Power
    3

    we are using the ajax on the editNews page, we have someone from a server support company looking a the server to make sure nothing is loocked/unlocked in iis which could cause this error.

    thanks

  2. #12
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Look for xhtmlConformance in you web.config. If you find it and its value is legacy, change it to transitional.
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  3. #13
    Barn Newbie willids is on a distinguished road willids's Avatar
    Join Date
    Jan 2010
    Posts
    14
    Rep Power
    3

    Here is the web config file

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <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" allowDefinition="MachineToApplication" />
    				<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    					<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
    					<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    					<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    					<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />     
            </sectionGroup>
          </sectionGroup>
        </sectionGroup>
      </configSections>
      <appSettings>
    		<add key="BookingObjectNameSingular" value="Stylist" />
    		<add key="BookingObjectNamePlural" value="Stylists" />
    		<add key="RequireCommentsInRequest" value="False" />
    		<add key="FirstAvailableWorkingHour" value="9" />
    		<add key="LastAvailableWorkingHour" value="17" />
    	</appSettings>
      <connectionStrings>
         <add name="DBCONNECTIONDETAILS" connectionString="" providerName="System.Data.SqlClient" />
        <add name="DBCONNECTIONDETAILS" connectionString="" providerName="System.Data.SqlClient" />
        <remove name="DBCONNECTIONDETAILS" />
        <add name="DBCONNECTIONDETAILS" connectionString="" providerName="System.Data.SqlClient" />
        <add name="DBCONNECTIONDETAILS" connectionString="" providerName="System.Data.SqlClient" />
    
      </connectionStrings>
    	<system.web>
                    <xhtmlConformance mode="Transitional" />
    		<globalization uiCulture="en" culture="en-GB" />
    		<customErrors mode="Off" />
    		<compilation debug="true" strict="false" explicit="true">
          <assemblies>
            <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
          </assemblies>
    		</compilation>
    		<roleManager enabled="true" />
    		<pages theme="AppointmentBooking">
    			<namespaces>
    				<clear />
    				<add namespace="System" />
    				<add namespace="System.Collections" />
    				<add namespace="System.Collections.Specialized" />
    				<add namespace="System.Configuration" />
    				<add namespace="System.Text" />
    				<add namespace="System.Text.RegularExpressions" />
    				<add namespace="System.Web" />
    				<add namespace="System.Web.Caching" />
    				<add namespace="System.Web.SessionState" />
    				<add namespace="System.Web.Security" />
    				<add namespace="System.Web.Profile" />
    				<add namespace="System.Web.UI" />
    				<add namespace="System.Web.UI.WebControls" />
    				<add namespace="System.Web.UI.WebControls.WebParts" />
    				<add namespace="System.Web.UI.HtmlControls" />
    			</namespaces>
    			<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>
    		<authentication mode="Forms" />
    		
    		<httpHandlers>
          <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
          <remove verb="*" path="*.asmx" />
    			<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    			<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </httpHandlers>
    		<httpModules>
    			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </httpModules>
      </system.web>
    	<location path="Management">
    		<system.web>
    			<authorization>
    				<allow roles="Manager" />
    				<deny users="*" />
    			</authorization>
    		</system.web>
    	</location>
    	<location path="CreateAppointment.aspx">
    		<system.web>
    			<authorization>
    				<deny users="?" />
    			</authorization>
    		</system.web>
    	</location>
    	<location path="CheckAvailability.aspx">
    		<system.web>
    			<authorization>
    				<deny users="?" />
    			</authorization>
    		</system.web>
    	</location>
    	<system.net>
    		<mailSettings>
    			<smtp deliveryMethod="Network">
    				<network host="mail.DOMAINAME.co.uk" userName="EMAILADDRESS.co.uk" password="PASSWORD" port="25" />
    			</smtp>
    		</mailSettings>
    	</system.net>
    	<system.codedom>
    		<compilers>
    			<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
    				<providerOption name="CompilerVersion" value="v3.5" />
    				<providerOption name="WarnAsError" value="false" /></compiler>
    			<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
    				<providerOption name="CompilerVersion" value="v3.5" />
    				<providerOption name="OptionInfer" value="true" />
    				<providerOption name="WarnAsError" value="false" />
          </compiler>
        </compilers>
      </system.codedom>
    	<system.webServer>
    
    		<validation validateIntegratedModeConfiguration="false" />
    		<modules>
    			<remove name="ScriptModule" />
    			<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </modules>
    
        <handlers>
    			<remove name="WebServiceHandlerFactory-Integrated" />
    			<remove name="ScriptHandlerFactory" />
    			<remove name="ScriptHandlerFactoryAppServices" />
    			<remove name="ScriptResource" />
    			<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    			<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    			<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </handlers>
    
            <tracing>
                <traceFailedRequests>
                    <add path="*">
                        <traceAreas>
                            <add provider="ASP" verbosity="Verbose" />
                            <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" />
                            <add provider="ISAPI Extension" verbosity="Verbose" />
                            <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module" verbosity="Verbose" />
                        </traceAreas>
                        <failureDefinitions statusCodes="100-999" />
                    </add>
                </traceFailedRequests>
            </tracing>
    
      </system.webServer>
    	<runtime>
    		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    			<dependentAssembly>
    				<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
    				<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
          </dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
    				<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>
    

  4. #14
    Barn Newbie willids is on a distinguished road willids's Avatar
    Join Date
    Jan 2010
    Posts
    14
    Rep Power
    3

    Server has been looked at and according to the server support guy iis7 is running fine and how it should be, but now I am getting -
    Code:
    XML Parsing Error: no element found
    Location: http://www.willid.co.uk/default.aspx
    Line Number 1, Column 1:
    

  5. #15
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Are you browsing your site via Firefox? Does the page you're calling have any markup on it or is it just a blank .aspx page calling a .vb or .cs file? If it's just a blank page, try adding the following to it:
    Code:
    <html>
    <body></body>
    </html>
    
    To my knowledge, Firefox requires the above at a minimum.
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  6. #16
    Barn Newbie willids is on a distinguished road willids's Avatar
    Join Date
    Jan 2010
    Posts
    14
    Rep Power
    3

    I have created a new site with Visual Web Dev and put some html in it (this is a test) and still having to comment out the <handlers>, if I don't then I now get

    Code:
    XML Parsing Error: no element found
    Location: http://www.DomainName.co.uk/default.aspx
    Line Number 1, Column 1:
    ^
    

  7. #17
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Have you tried running this through the debugger or putting some code in the Global.asax's Application_Error event to email you the error?
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


  8. #18
    Barn Newbie willids is on a distinguished road willids's Avatar
    Join Date
    Jan 2010
    Posts
    14
    Rep Power
    3

    working on that now so hopefully it will be sorted shortly.

  9. #19
    Barn Newbie willids is on a distinguished road willids's Avatar
    Join Date
    Jan 2010
    Posts
    14
    Rep Power
    3

    This is now sorted it was the config files on the server overridemode was being set to Deny and had nothing to do with the coding which the server company said it was. Looks like they did not configure the server correctly

  10. #20
    The Barnfather jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead has much to be proud of jmurrayhead's Avatar
    Join Date
    Mar 2008
    Location
    Reston, VA
    Posts
    4,547
    Blog Entries
    9
    Real Name
    Jason
    Rep Power
    22

    Wow, and companies like that always 'know' it's never anything they did wrong. lol glad you got this sorted
    jmurrayhead
    If you agree, give me rep.
    If you like it here...throw us a few bones to help support us.


+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Retrieving ConnectionString from web.config
    By richyrich in forum .NET Development
    Replies: 3
    Last Post: November 13th, 2009, 10:27 AM
  2. Is web.config cached?
    By Wolffy in forum .NET Development
    Replies: 3
    Last Post: September 9th, 2008, 05:04 PM
  3. IIS7 Error from web.config
    By Shem in forum Microsoft IIS
    Replies: 7
    Last Post: August 21st, 2008, 10:30 PM
  4. Update sql connection string in web config
    By peebman2000 in forum .NET Development
    Replies: 5
    Last Post: April 18th, 2008, 01:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO