Sign Up

Sign Up to our social questions and Answers 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 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

Sorry, you do not have permission to add post.

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.

Oraask Logo Oraask Logo
Sign InSign Up

Oraask

  • Write
    • Add A New Post
    • Ask A Question

Oraask Navigation

Search
Ask A Question

Mobile menu

Close
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
Home/ Questions/Q 74950

Oraask Latest Questions

Question
Beter
  • 0
  • 0
BeterExplorer
Asked: September 13, 20212021-09-13T19:01:17+03:00 2021-09-13T19:01:17+03:00In: ASP .NET

HTTP Error 503. The service is unavailable. IIS: Application Pool stops on website access

  • 0
  • 0

I create an ASP.Net project and I want to host it on local IIS. I do the following steps In Project properties -> Web settings I chose Use Local IIS Server and gave a URL as localhost/MyApp.

These are the settings I have in my project

  1. Application Pool set to ASP.Net v4.0 Classic
  2. App Pool Enable 32 bit Applicationproperty is true
  3. App Pool is started
  4. Project build property set to Any CPUfor Target framework

I have the following code in Global.asax. Application_BeginRequest method is empty in the same file.

protected override void Application_Start(object sender, EventArgs e)

{

base.Application_Start(sender, e);

String _path = String.Concat(System.AppDomain.CurrentDomain.RelativeSearchPath, “;”,System.Environment.GetEnvironmentVariable(“PATH”));

System.Environment.SetEnvironmentVariable(“PATH”, _path, EnvironmentVariableTarget.Process);

MyAppLog.Initialize();

MyAppLog.WriteMessage(“Application Started”);

}

I tried accessing it on my firefox browser. Following is something that I am facing

  1. Application Pool is Started
  2. I try to access my local website (by giving url as localhost/MyApp)
  3. I receive the error as HTTP Error 503. The service is unavailable
  4. Application Pool is Stopped

Can anyone help me to understand what’s happening? Please guide me through useful steps to resolve this issue.

Thanks.

asp .netquestion
0
  • 0 0 Answers
  • 133 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • How to convert bytes to KB,MB, GB in .NET ?
    • No migrations configuration type was found in the assembly
    • How can update the values of a collection using LINQ in ASP.NET?
    • How to make Swagger Codegen work with .NET core

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Adv 250x250

    Explore

    • Categories
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Dev Tools
      • Online Compiler
      • Base64 Converter
    • Wiki
      • SQL Tutorials
      • Java Tutorials
      • Python Tutorials
      • JavaScript Tutorials

    Footer

    Oraask

    About

    Oraask is a website for developers and software engineers who want to learn new skills, share their knowledge, and solve their coding problems. Oraask provides free content on various programming languages and topics, such as Oracle, Python, Java, etc. Oraask also allows users to ask questions and get answers from other members of the community.

    About Us

    • About Us
    • Contact Us

    Legal Stuff

    • Privacy Policy
    • Terms & Conditions

    Follow

    Oraask is licensed under CC BY-NC-SA 4.0Oraask CopyrightOraask CopyrightOraask CopyrightOraask Copyright

    © 2019 Oraask. All Rights Reserved
    With Love by Oraask.

    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.