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

  • Home
  • SEARCH
  • 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 6345205
In Process

The Archive Base Latest Questions

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

If I run my web application locally everything runs fine. On the IIS server

  • 0

If I run my web application locally everything runs fine.
On the IIS server always a JavaScript error comes up.
JavaScript because I use ASP.NET AJAX with the AjaxControlToolkit & the ToolkitScriptManager.

enter image description here

It throws a http error code 500 (internal server error).
It has to do with the chart control because when I comment the line that adds the control to a panel it runs fine again.

I had to add an httpHandler to the web.config to make the chart control come to life:

    <httpHandlers>
  <add verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</httpHandlers>

My first guess was that the path property is not set correctly for an IIS server. Maybe the write permissions were not given or something like that but I tried different paths without any success.

Any ideas?

  • 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-24T20:46:37+00:00Added an answer on May 24, 2026 at 8:46 pm

    I decided to upload a non ajaxy web application with nothing but a chart control in it. My hope was to get a “real” exception and I got one.

    It was a DirectoryNotExistException and it also provided me the path: “c:\TempImageFiles”.

    After creating this directory the image file could be generated and showed up again.

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

Sidebar

Related Questions

I use python -m SimpleHTTPServer when I want to run my web application locally,
When developing a .Net web application, if a run time error is generated, it
I'm trying to run an ASP.NET MVC 2 web application under IIS on Windows
I have a semi-large web application that we run locally and I need to
I have a web application written using CherryPy, which is run locally on 127.0.0.1:4321
I configured a website to run locally on IIS for use on my machine.
I am trying to run a web application that gets a specific length of
I'm trying to run my web application on tomcat v6, I was testing it
I run a Tomcat 7 web application on 2 locations; in one location there
Is solr a web application that can run on the same instance as a

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.