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 6201695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:36:06+00:00 2026-05-24T04:36:06+00:00

I am trying to deploy a .NET 2.0 ASP.NET application with AJAX 1.0 on

  • 0

I am trying to deploy a .NET 2.0 ASP.NET application with AJAX 1.0 on a Windows Server 2008 system running IIS 7.

The same application that runs perfectly on my development machine, but when published and deployed it won’t run AJAX, even though no error messages are displayed. Asynchronous calls will just refresh the entire page (the same symptom described here, but my xhtmlConformance tag is set to Transitional). The absence of any errors and messages proves that the AJAX library was found and successfully added to the project.

I’ve read some posts on this subject, and supposedly there are some tweaks on web.config that should make it work, but after following some of them, I had no success.

I’ve added every additional tag available on this sample web.config file to my running web.config.

This application was not originally created as an “AJAX-enabled ASP.NET Application”, but as a regular ASP.NET application, although it works perfectly while on my development environment.

Question: What should I do to run a .NET Framework 2.0 ASP.NET application with AJAX 1.0 on Windows Server 2k8 with IIS 7 ?


Before it’s suggested: I do want to update it to the newest version of the .NET Framework, and that’s being worked on, but I’m not the one making calls regarding subjects like this..


Update:

Trying to access /ScriptResource.axd (with the proper querystrings) gives me the following error:

Session state is not available in this context.

  • 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. Editorial Team
    Editorial Team
    2026-05-24T04:36:06+00:00Added an answer on May 24, 2026 at 4:36 am

    It turns out that the issue I added on the update to the question was what caused the whole problem.

    Ajax tried to access /ScriptResource.axd, and it ran a method on global.asax that accessed a session variable when in fact there was no session.

    All I had to do is to check if the session is available before using it on Global.asax, as follows:

    if (HttpContext.Current.Session!=null)
    {
       // my code
    }
    

    The solution was found on this blog.

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

Sidebar

Related Questions

I am trying to deploy an ASP.NET 3.5 Web Application to my production server
I'm trying to deploy my new ASP.NET MVC 2.0 website to our Windows Server
I'm trying to deploy an ASP.NET MVC site to a Windows 2003, IIS 6.0
i am trying to deploy simple asp.net mvc frameworkd application in may shared hosting
I'm trying to deploy an asp.net application. I really suck at it. Anyway, parts
Our server application runs as a service and has a ASP.NET MVC3 web-based frontend
Goal I am trying to deploy an MVC3 application that requires Windows Authentication (specifically
I'm building an ASP.NET MVC application and I'm trying to deploy it on a
I am trying to deploy my ASP.NET MVC 3 RC to Windows Azure.I've added
I am trying deploy my asp.net mvc3 application, here it is what i done

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.