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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:11:15+00:00 2026-06-03T03:11:15+00:00

We are deploying an azure package where we have a static .json file. We

  • 0

We are deploying an azure package where we have a static .json file. We have this working through the azure emulator and locally. but our application just spins when we run it in azure. We are getting a 404 on the app.json file. We have added the mime type to our local iis with the appropriate handler, below is what we have in our web.config. We have set the mime type of application/x-javascript but that didnt work either.

<system.webServer>
    <staticContent>
        <mimeMap fileExtension=".json" 
                 mimeType="text/html" />
    </staticContent>
    <handlers>
        <add name="JSON" 
             path="*.json" 
             verb="*" 
             modules="IsapiModule" 
             scriptProcessor="%path%\asp.dll" 
             resourceType="Unspecified" 
             preCondition="bitness64" />
    </handlers>
</system.webServer>
  • 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-06-03T03:11:16+00:00Added an answer on June 3, 2026 at 3:11 am

    Adding

    <configuration>
        <system.webServer>
          <staticContent>
            <mimeMap fileExtension=".json" mimeType="text/html" />
          </staticContent>
        </system.webServer>
    </configuration>
    

    to my web.config in an Azure instance worked just fine. Most likely, your deployed web.config isn’t configured properly. To check it out, enable RDP, connect to your Azure instance and browse to your web.config. Then you can fiddle with your web.config until you get things working.

    Because you’re serving up a static .json file, you don’t need to add a .json HTTP handler. Also, the offical mime type for .json is application/json.

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

Sidebar

Related Questions

I was deploying an Azure instance using Visual Studio (2010) and i get this:
We are developing an application that we are deploying to Azure. It needs to
Has anyone tried deploying unsafe code in Azure? I'm working with code containing unsafe
When deploying Rails via Passenger or Mongrel you have multiple instances of the application
Azure Management Portal allows deploying a service from a service package earlier uploaded to
I have a problem deploying a WebRole (WCF service) to Azure . My WebRole
I am working on Windows Azure SDK 1.4 version. I have written an sample
When deploying Windows Phone 7 application i have choice for References Properties - Copy
I am deploying my database with a C# application but I am unable to
I am new to Windows Azure and need help with deploying my Azure application,

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.