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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:04:30+00:00 2026-06-06T10:04:30+00:00

After deploying to Azure, I kept getting server errors — the application would not

  • 0

After deploying to Azure, I kept getting server errors — the application would not run. So I did a remote desktop into the instance and found that the web.config was completely overhauled…what’s going on? I thought web.config was packaged as-is? Instead, the entire configuration has been replaced. When I replace the “new” version with the original, unaltered, correct configuration, my app works as intended.

First off, what’s going on here? What am I doing wrong? This way I can understand and not replicate this in the future.

Secondly, how do I stop this behavior? I want the original web.config deployed — not some arbitrary imposter. Thank you!

  • 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-06T10:04:34+00:00Added an answer on June 6, 2026 at 10:04 am

    Based on dunnry’s suggestion to unzip the cskpkg file, I noticed that the web.config was never even packaged — so Azure must have been creating a basic one out of necessity (without warning me!?!?). After some investigation, I came across this nugget (from another StackOverflow question addressing deployment issues):

    Turns out the web.config file wasn’t even being included in the deployment package. Somehow the BuildAction of the web.config file got changed from Content to None.

    After changing BuildAction back to “Content” my deployment now works as expected.

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

Sidebar

Related Questions

Background: I am getting a Internal Server 500 24 50 error after deploying an
After deploying an ASP.Net application to a new server, the first user to hit
After deploying my application into android mobile,at starting the database is getting created. I
I am getting the following error after deploying my web application to a 2008
After deploying a complete application using Entity Framework (EF) and LINQ, the next things
I am new to iphone stuff. After deploying an application in iTunes is there
This is the bane of my programming existence. After deploying an application, when this
Using http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure I've successfully deployed Orchard into Azure. After every 20mins or so without
I would like help with the following asp.net error i now have after deploying
After deploying an app of Heroku I am having trouble getting the database populated

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.