Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 153419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:47:51+00:00 2026-05-11T09:47:51+00:00

I am working on a Windows Form that connects to a ASP.NET membership database

  • 0

I am working on a Windows Form that connects to a ASP.NET membership database and I am trying to use the AJAX Login Service. No matter what I do I keep on getting 404 errors on the Authentication_JSON_AppService.axd call.

Web Config Below

<?xml version='1.0'?> <!--      Note: As an alternative to hand editing this file you can use the      web admin tool to configure settings for your application. Use     the Website->Asp.Net Configuration option in Visual Studio.     A full list of settings and comments can be found in      machine.config.comments usually located in      \Windows\Microsoft.Net\Framework\v2.x\Config  --> <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>   <connectionStrings <!-- Removed --> />   <appSettings/>   <system.web>     <!--              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='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.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089'/>         <add assembly='System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089'/>         <add assembly='System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089'/>       </assemblies>     </compilation>     <membership defaultProvider='dbSqlMembershipProvider'>       <providers>         <add name='dbSqlMembershipProvider' type='System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' connectionStringName='Fire.Common.Properties.Settings.dbFireConnectionString' enablePasswordRetrieval='false' enablePasswordReset='true' requiresQuestionAndAnswer='true' applicationName='/' requiresUniqueEmail='false' passwordFormat='Hashed' maxInvalidPasswordAttempts='5' minRequiredPasswordLength='7' minRequiredNonalphanumericCharacters='1' passwordAttemptWindow='10' passwordStrengthRegularExpression=''/>       </providers>     </membership>     <roleManager enabled='true' defaultProvider='dbSqlRoleProvider'>       <providers>         <add connectionStringName='Fire.Common.Properties.Settings.dbFireConnectionString' applicationName='/' name='dbSqlRoleProvider' type='System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'/>       </providers>     </roleManager>     <authentication mode='Forms'>       <forms loginUrl='Login.aspx' cookieless='UseCookies' protection='All' timeout='30' requireSSL='false' slidingExpiration='true' defaultUrl='default.aspx' enableCrossAppRedirects='false'/>     </authentication>     <authorization>       <allow users='*'/>       <allow users='?'/>     </authorization>     <customErrors mode='Off'>     </customErrors>     <pages>       <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>     <httpHandlers>       <remove verb='*' path='*.asmx'/>       <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'/>       <add verb='GET,HEAD' path='ScriptResource.axd' validate='false' type='System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/>       <add verb='*' path='*.asmx' 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='~/Admin'>     <system.web>       <authorization>         <allow roles='Admin'/>         <allow roles='System'/>         <deny users='*'/>       </authorization>     </system.web>   </location>   <location path='~/Admin/System'>     <system.web>       <authorization>         <allow roles='System'/>         <deny users='*'/>       </authorization>     </system.web>   </location>   <location path='~/Export'>     <system.web>       <authorization>         <allow roles='Export'/>         <deny users='*'/>       </authorization>     </system.web>   </location>   <location path='~/Field'>     <system.web>       <authorization>         <allow roles='Field'/>         <deny users='*'/>       </authorization>     </system.web>   </location>   <location path='~/Default.aspx'>     <system.web>       <authorization>         <allow roles='Admin'/>         <allow roles='System'/>         <allow roles='Export'/>         <allow roles='Field'/>         <deny users='?'/>       </authorization>     </system.web>   </location>   <location path='~/Login.aspx'>     <system.web>       <authorization>         <allow users='*'/>         <allow users='?'/>       </authorization>     </system.web>   </location>   <location path='~/App_Themes'>     <system.web>       <authorization>         <allow users='*'/>         <allow users='?'/>       </authorization>     </system.web>   </location>   <location path='~/Includes'>     <system.web>       <authorization>         <allow users='*'/>         <allow users='?'/>       </authorization>     </system.web>   </location>   <location path='~/WebServices'>     <system.web>       <authorization>         <allow users='*'/>         <allow users='?'/>       </authorization>     </system.web>   </location>   <location path='~/Authentication_JSON_AppService.axd'>     <system.web>       <authorization>         <allow users='*'/>         <allow users='?'/>       </authorization>     </system.web>   </location>   <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>   <!--          The system.webServer section is required for running ASP.NET AJAX under Internet         Information Services 7.0.  It is not necessary for previous version of IIS.     -->   <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>   </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> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:47:52+00:00Added an answer on May 11, 2026 at 9:47 am

    You need to enable access to the authentication service in your web.config

    <system.webServices>    <authenticationService enabled='true' requireSSL='true|false'/> </system.webServices> 

    Check out this video for more information.

    http://www.asp.net/learn/ajax-videos/video-166.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hay, I'm working on a windows form application (C#) that connects to a sharepoint
I'm working with windows form application in vb.net windows form application in that there
I have modified a working Windows service that had always been starting beforehand. After
I am working on a windows form that has a TabControl named tabDocuments. I
I am working on a Windows Form C# project that requires running code when
I am working with Windows form application. In that I retrieve the data from
As I am working on windows .Net Windows form application, I want to know
I'm working on a windows forms application (.NET 4.0). My form contains a 'Fast
I am working on a Windows Form that has multiple comboboxes. Depending on what
Hi I am trying to implement a windows service that subscribes and publishes to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.