.NET Core app targeting full framework - Stopped working in IISTargeting Multiple Runtimes When Publishing a .NET Core AppPublish to IIS. Omit installing .NET Core Windows Server Hosting bundle on the server.NET CORE self contained application deployment. Why RID needs to be Known when .NET Core is cross platformIIS .net core with .net 4.5 sub appsRun .NET Core on IIS.NET Core app unable to start in IIS due to ErrorCode = '0x80004005 : 80008083.NET Core Hosting BundleRun .Net Core Web App on Apache without Core RuntimeASP.NET Core 2.0 app targeting .NET 4.6.1 fails to host on IIS.NET Core - Self Contained Deployment not working

What is a "soap"?

RAII wrapper for SQLite transactions

How to gracefully leave a company you helped start?

Would the USA be eligible to join the European Union?

When did Bilbo and Frodo learn that Gandalf was a Maia?

Does writing regular diary entries count as writing practice?

How does the Moon's gravity affect Earth's oceans despite Earth's stronger gravitational pull?

What is the fastest way to level past 95 in Diablo II?

Airline power sockets shut down when I plug my computer in. How can I avoid that?

Good way to stop electrolyte tabs from turning into powder?

What is the question mark?

How do I ask for 2-3 days per week remote work in a job interview?

Sums of binomial coefficients weighted by incomplete gamma

When does The Truman Show take place?

How would armour (and combat) change if the fighter didn't need to actually wear it?

Deciphering Lunacy Asylum case notes about administering Brandy and Milk

Did Pope Urban II issue the papal bull "terra nullius" in 1095?

Will some rockets really collapse under their own weight?

Are there liquid fueled rocket boosters having coaxial fuel/oxidizer tanks?

Does the Haste spell's hasted action allow you to make multiple unarmed strikes? Or none at all?

How can I have a custom module checked for deprecated functions?

Quick destruction of a helium filled airship?

Some pads on a PCB are marked in clusters and I can't understand which one is which

Is this bar slide trick shown on Cheers real or a visual effect?



.NET Core app targeting full framework - Stopped working in IIS


Targeting Multiple Runtimes When Publishing a .NET Core AppPublish to IIS. Omit installing .NET Core Windows Server Hosting bundle on the server.NET CORE self contained application deployment. Why RID needs to be Known when .NET Core is cross platformIIS .net core with .net 4.5 sub appsRun .NET Core on IIS.NET Core app unable to start in IIS due to ErrorCode = '0x80004005 : 80008083.NET Core Hosting BundleRun .Net Core Web App on Apache without Core RuntimeASP.NET Core 2.0 app targeting .NET 4.6.1 fails to host on IIS.NET Core - Self Contained Deployment not working






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















We have a ASP.NET Core MVC application that targets net461 due to requiring Entity Framework for Oracle.
Up until recently, this application has been working fine on both our DEV and QA servers.



We are deploying it as a self-contained app, but also have .NET Core runtime and the ASP.NET Core IIS hosting bundle installed on the servers.



Recently, we started running into issues after deployment where the application will not start up. In the browser, we get 502.5 Process Failure.
On the server, the only error we can find is in the Windows event logs: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE/<appname>' with physical root 'D:path' created process with commandline 'D:path<appname>.exe ' but failed to listen on the given port '<randomport>'.



Various SO posts and articles I have found say this is usually due to a different runtime version installed on the server vs. the client.



  1. This is self-contained so the runtime is bundled, so I'm not sure that is the issue.


  2. We have not changed what is installed on our development PCs OR on the servers, but have tried uninstalling and re-installing the runtime on the servers.


  3. Since this targets the full framework net461 does it even matter the .NET Core version? Or does only the .NET version matter?


We have some people thinking the issue is with it obtaining a port to listen on. I have tried adding .UseUrls() in Program.cs and adding in Kestrel ports in appSettings.json but nothing makes any difference and we still get the same error.



To make matters more confusing, our current build runs fine on the QA server now but fails to start in DEV. Sometimes we try to publish and it works in one environment but not the other, and sometimes it fails in both. We are following the same deployment steps and the only differences are config files.



We have tried <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest> and without.



We have tried publishing from VS and from dotnet publish.



We have tried net stop was /y net start w3svc.



We even had the server restored to an earlier point before these issues started.



As of now, we can't find any pattern to when/why some deployments will run and some will fail. Is there anyone who can provide some input on this?










share|improve this question
























  • It sounds like the app is throwing an exception during startup. Try opening a command prompt to the published app directory and running dotnet MyApp.dll. If you see any exceptions logged to the console window, please update your question with those, along with the stack traces.

    – Chris Pratt
    Mar 27 at 12:38











  • It is an .exe file, so there is no .dll. If I try this locally, it takes a minute but eventually starts up. If I try it on the server, it just hangs and nothing shows in the console window.

    – neilsimp1
    Mar 27 at 12:39











  • Sorry. I read that, but it didn't sink in. Running the exe has the same effect of what I was looking for though. If it's hanging, you might be timing out on a connection or something. You might need to add some more extensive logging around your Startup class.

    – Chris Pratt
    Mar 27 at 12:50











  • That's not a bad idea. If I set stdoutLogEnabled="true" stdoutLogFile=".logsstdout" in my web.config, log files are created there but are never written to. I'll manually try some File.WriteAllText()s and see if I can't get anything that way.

    – neilsimp1
    Mar 27 at 12:53











  • ILoggerFactory is a hosting service, so it can be injected into Startup (as well as more specific logging interfaces such as ILogger<Startup>). In short, you can add an ILogger<Startup> param to your Startup constructor, save it to an ivar and then utilize it in ConfigureServices and Configure. That should make your logging efforts much easier.

    – Chris Pratt
    Mar 27 at 13:14


















1















We have a ASP.NET Core MVC application that targets net461 due to requiring Entity Framework for Oracle.
Up until recently, this application has been working fine on both our DEV and QA servers.



We are deploying it as a self-contained app, but also have .NET Core runtime and the ASP.NET Core IIS hosting bundle installed on the servers.



Recently, we started running into issues after deployment where the application will not start up. In the browser, we get 502.5 Process Failure.
On the server, the only error we can find is in the Windows event logs: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE/<appname>' with physical root 'D:path' created process with commandline 'D:path<appname>.exe ' but failed to listen on the given port '<randomport>'.



Various SO posts and articles I have found say this is usually due to a different runtime version installed on the server vs. the client.



  1. This is self-contained so the runtime is bundled, so I'm not sure that is the issue.


  2. We have not changed what is installed on our development PCs OR on the servers, but have tried uninstalling and re-installing the runtime on the servers.


  3. Since this targets the full framework net461 does it even matter the .NET Core version? Or does only the .NET version matter?


We have some people thinking the issue is with it obtaining a port to listen on. I have tried adding .UseUrls() in Program.cs and adding in Kestrel ports in appSettings.json but nothing makes any difference and we still get the same error.



To make matters more confusing, our current build runs fine on the QA server now but fails to start in DEV. Sometimes we try to publish and it works in one environment but not the other, and sometimes it fails in both. We are following the same deployment steps and the only differences are config files.



We have tried <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest> and without.



We have tried publishing from VS and from dotnet publish.



We have tried net stop was /y net start w3svc.



We even had the server restored to an earlier point before these issues started.



As of now, we can't find any pattern to when/why some deployments will run and some will fail. Is there anyone who can provide some input on this?










share|improve this question
























  • It sounds like the app is throwing an exception during startup. Try opening a command prompt to the published app directory and running dotnet MyApp.dll. If you see any exceptions logged to the console window, please update your question with those, along with the stack traces.

    – Chris Pratt
    Mar 27 at 12:38











  • It is an .exe file, so there is no .dll. If I try this locally, it takes a minute but eventually starts up. If I try it on the server, it just hangs and nothing shows in the console window.

    – neilsimp1
    Mar 27 at 12:39











  • Sorry. I read that, but it didn't sink in. Running the exe has the same effect of what I was looking for though. If it's hanging, you might be timing out on a connection or something. You might need to add some more extensive logging around your Startup class.

    – Chris Pratt
    Mar 27 at 12:50











  • That's not a bad idea. If I set stdoutLogEnabled="true" stdoutLogFile=".logsstdout" in my web.config, log files are created there but are never written to. I'll manually try some File.WriteAllText()s and see if I can't get anything that way.

    – neilsimp1
    Mar 27 at 12:53











  • ILoggerFactory is a hosting service, so it can be injected into Startup (as well as more specific logging interfaces such as ILogger<Startup>). In short, you can add an ILogger<Startup> param to your Startup constructor, save it to an ivar and then utilize it in ConfigureServices and Configure. That should make your logging efforts much easier.

    – Chris Pratt
    Mar 27 at 13:14














1












1








1








We have a ASP.NET Core MVC application that targets net461 due to requiring Entity Framework for Oracle.
Up until recently, this application has been working fine on both our DEV and QA servers.



We are deploying it as a self-contained app, but also have .NET Core runtime and the ASP.NET Core IIS hosting bundle installed on the servers.



Recently, we started running into issues after deployment where the application will not start up. In the browser, we get 502.5 Process Failure.
On the server, the only error we can find is in the Windows event logs: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE/<appname>' with physical root 'D:path' created process with commandline 'D:path<appname>.exe ' but failed to listen on the given port '<randomport>'.



Various SO posts and articles I have found say this is usually due to a different runtime version installed on the server vs. the client.



  1. This is self-contained so the runtime is bundled, so I'm not sure that is the issue.


  2. We have not changed what is installed on our development PCs OR on the servers, but have tried uninstalling and re-installing the runtime on the servers.


  3. Since this targets the full framework net461 does it even matter the .NET Core version? Or does only the .NET version matter?


We have some people thinking the issue is with it obtaining a port to listen on. I have tried adding .UseUrls() in Program.cs and adding in Kestrel ports in appSettings.json but nothing makes any difference and we still get the same error.



To make matters more confusing, our current build runs fine on the QA server now but fails to start in DEV. Sometimes we try to publish and it works in one environment but not the other, and sometimes it fails in both. We are following the same deployment steps and the only differences are config files.



We have tried <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest> and without.



We have tried publishing from VS and from dotnet publish.



We have tried net stop was /y net start w3svc.



We even had the server restored to an earlier point before these issues started.



As of now, we can't find any pattern to when/why some deployments will run and some will fail. Is there anyone who can provide some input on this?










share|improve this question














We have a ASP.NET Core MVC application that targets net461 due to requiring Entity Framework for Oracle.
Up until recently, this application has been working fine on both our DEV and QA servers.



We are deploying it as a self-contained app, but also have .NET Core runtime and the ASP.NET Core IIS hosting bundle installed on the servers.



Recently, we started running into issues after deployment where the application will not start up. In the browser, we get 502.5 Process Failure.
On the server, the only error we can find is in the Windows event logs: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE/<appname>' with physical root 'D:path' created process with commandline 'D:path<appname>.exe ' but failed to listen on the given port '<randomport>'.



Various SO posts and articles I have found say this is usually due to a different runtime version installed on the server vs. the client.



  1. This is self-contained so the runtime is bundled, so I'm not sure that is the issue.


  2. We have not changed what is installed on our development PCs OR on the servers, but have tried uninstalling and re-installing the runtime on the servers.


  3. Since this targets the full framework net461 does it even matter the .NET Core version? Or does only the .NET version matter?


We have some people thinking the issue is with it obtaining a port to listen on. I have tried adding .UseUrls() in Program.cs and adding in Kestrel ports in appSettings.json but nothing makes any difference and we still get the same error.



To make matters more confusing, our current build runs fine on the QA server now but fails to start in DEV. Sometimes we try to publish and it works in one environment but not the other, and sometimes it fails in both. We are following the same deployment steps and the only differences are config files.



We have tried <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest> and without.



We have tried publishing from VS and from dotnet publish.



We have tried net stop was /y net start w3svc.



We even had the server restored to an earlier point before these issues started.



As of now, we can't find any pattern to when/why some deployments will run and some will fail. Is there anyone who can provide some input on this?







.net iis asp.net-core port






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 27 at 12:24









neilsimp1neilsimp1

7201 gold badge6 silver badges23 bronze badges




7201 gold badge6 silver badges23 bronze badges















  • It sounds like the app is throwing an exception during startup. Try opening a command prompt to the published app directory and running dotnet MyApp.dll. If you see any exceptions logged to the console window, please update your question with those, along with the stack traces.

    – Chris Pratt
    Mar 27 at 12:38











  • It is an .exe file, so there is no .dll. If I try this locally, it takes a minute but eventually starts up. If I try it on the server, it just hangs and nothing shows in the console window.

    – neilsimp1
    Mar 27 at 12:39











  • Sorry. I read that, but it didn't sink in. Running the exe has the same effect of what I was looking for though. If it's hanging, you might be timing out on a connection or something. You might need to add some more extensive logging around your Startup class.

    – Chris Pratt
    Mar 27 at 12:50











  • That's not a bad idea. If I set stdoutLogEnabled="true" stdoutLogFile=".logsstdout" in my web.config, log files are created there but are never written to. I'll manually try some File.WriteAllText()s and see if I can't get anything that way.

    – neilsimp1
    Mar 27 at 12:53











  • ILoggerFactory is a hosting service, so it can be injected into Startup (as well as more specific logging interfaces such as ILogger<Startup>). In short, you can add an ILogger<Startup> param to your Startup constructor, save it to an ivar and then utilize it in ConfigureServices and Configure. That should make your logging efforts much easier.

    – Chris Pratt
    Mar 27 at 13:14


















  • It sounds like the app is throwing an exception during startup. Try opening a command prompt to the published app directory and running dotnet MyApp.dll. If you see any exceptions logged to the console window, please update your question with those, along with the stack traces.

    – Chris Pratt
    Mar 27 at 12:38











  • It is an .exe file, so there is no .dll. If I try this locally, it takes a minute but eventually starts up. If I try it on the server, it just hangs and nothing shows in the console window.

    – neilsimp1
    Mar 27 at 12:39











  • Sorry. I read that, but it didn't sink in. Running the exe has the same effect of what I was looking for though. If it's hanging, you might be timing out on a connection or something. You might need to add some more extensive logging around your Startup class.

    – Chris Pratt
    Mar 27 at 12:50











  • That's not a bad idea. If I set stdoutLogEnabled="true" stdoutLogFile=".logsstdout" in my web.config, log files are created there but are never written to. I'll manually try some File.WriteAllText()s and see if I can't get anything that way.

    – neilsimp1
    Mar 27 at 12:53











  • ILoggerFactory is a hosting service, so it can be injected into Startup (as well as more specific logging interfaces such as ILogger<Startup>). In short, you can add an ILogger<Startup> param to your Startup constructor, save it to an ivar and then utilize it in ConfigureServices and Configure. That should make your logging efforts much easier.

    – Chris Pratt
    Mar 27 at 13:14

















It sounds like the app is throwing an exception during startup. Try opening a command prompt to the published app directory and running dotnet MyApp.dll. If you see any exceptions logged to the console window, please update your question with those, along with the stack traces.

– Chris Pratt
Mar 27 at 12:38





It sounds like the app is throwing an exception during startup. Try opening a command prompt to the published app directory and running dotnet MyApp.dll. If you see any exceptions logged to the console window, please update your question with those, along with the stack traces.

– Chris Pratt
Mar 27 at 12:38













It is an .exe file, so there is no .dll. If I try this locally, it takes a minute but eventually starts up. If I try it on the server, it just hangs and nothing shows in the console window.

– neilsimp1
Mar 27 at 12:39





It is an .exe file, so there is no .dll. If I try this locally, it takes a minute but eventually starts up. If I try it on the server, it just hangs and nothing shows in the console window.

– neilsimp1
Mar 27 at 12:39













Sorry. I read that, but it didn't sink in. Running the exe has the same effect of what I was looking for though. If it's hanging, you might be timing out on a connection or something. You might need to add some more extensive logging around your Startup class.

– Chris Pratt
Mar 27 at 12:50





Sorry. I read that, but it didn't sink in. Running the exe has the same effect of what I was looking for though. If it's hanging, you might be timing out on a connection or something. You might need to add some more extensive logging around your Startup class.

– Chris Pratt
Mar 27 at 12:50













That's not a bad idea. If I set stdoutLogEnabled="true" stdoutLogFile=".logsstdout" in my web.config, log files are created there but are never written to. I'll manually try some File.WriteAllText()s and see if I can't get anything that way.

– neilsimp1
Mar 27 at 12:53





That's not a bad idea. If I set stdoutLogEnabled="true" stdoutLogFile=".logsstdout" in my web.config, log files are created there but are never written to. I'll manually try some File.WriteAllText()s and see if I can't get anything that way.

– neilsimp1
Mar 27 at 12:53













ILoggerFactory is a hosting service, so it can be injected into Startup (as well as more specific logging interfaces such as ILogger<Startup>). In short, you can add an ILogger<Startup> param to your Startup constructor, save it to an ivar and then utilize it in ConfigureServices and Configure. That should make your logging efforts much easier.

– Chris Pratt
Mar 27 at 13:14






ILoggerFactory is a hosting service, so it can be injected into Startup (as well as more specific logging interfaces such as ILogger<Startup>). In short, you can add an ILogger<Startup> param to your Startup constructor, save it to an ivar and then utilize it in ConfigureServices and Configure. That should make your logging efforts much easier.

– Chris Pratt
Mar 27 at 13:14













1 Answer
1






active

oldest

votes


















0














On application startup, we are scheduling some things using FluentScheduler. On had a start/end time that must be confusing the library. It causes it to freeze up entirely without throwing an exception. Removing/changing the time fixed or issue!






share|improve this answer

























  • I have a very similar problem. How do you solved it

    – Crying Freeman
    Mar 27 at 21:49






  • 1





    Log statements. Put them everywhere in Program.cs and Startup.cs and log things to file. From there we just looked at what did and didn't log to narrow down where it was stopping.

    – neilsimp1
    Mar 27 at 21:52











  • But I’m not using that’s library that you mentioned. I will try with the logs

    – Crying Freeman
    Mar 27 at 21:53












  • could this be a problem ? services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1) and then in the server with IIS where deployed my app i have installed the latest version of .NET Core 2.2 Runtime & Hosting Bundle for Windows (v2.2.3)

    – Crying Freeman
    Mar 28 at 13:22











  • I don't think so, but I'm really not sure. You may want to search around and see if someone has asked a similar question, or ask your own question if you can't find it. To the best of my knowledge though, what you are describing should still work. Again though, I am no expert here.

    – neilsimp1
    Mar 28 at 13:51










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55377143%2fnet-core-app-targeting-full-framework-stopped-working-in-iis%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














On application startup, we are scheduling some things using FluentScheduler. On had a start/end time that must be confusing the library. It causes it to freeze up entirely without throwing an exception. Removing/changing the time fixed or issue!






share|improve this answer

























  • I have a very similar problem. How do you solved it

    – Crying Freeman
    Mar 27 at 21:49






  • 1





    Log statements. Put them everywhere in Program.cs and Startup.cs and log things to file. From there we just looked at what did and didn't log to narrow down where it was stopping.

    – neilsimp1
    Mar 27 at 21:52











  • But I’m not using that’s library that you mentioned. I will try with the logs

    – Crying Freeman
    Mar 27 at 21:53












  • could this be a problem ? services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1) and then in the server with IIS where deployed my app i have installed the latest version of .NET Core 2.2 Runtime & Hosting Bundle for Windows (v2.2.3)

    – Crying Freeman
    Mar 28 at 13:22











  • I don't think so, but I'm really not sure. You may want to search around and see if someone has asked a similar question, or ask your own question if you can't find it. To the best of my knowledge though, what you are describing should still work. Again though, I am no expert here.

    – neilsimp1
    Mar 28 at 13:51















0














On application startup, we are scheduling some things using FluentScheduler. On had a start/end time that must be confusing the library. It causes it to freeze up entirely without throwing an exception. Removing/changing the time fixed or issue!






share|improve this answer

























  • I have a very similar problem. How do you solved it

    – Crying Freeman
    Mar 27 at 21:49






  • 1





    Log statements. Put them everywhere in Program.cs and Startup.cs and log things to file. From there we just looked at what did and didn't log to narrow down where it was stopping.

    – neilsimp1
    Mar 27 at 21:52











  • But I’m not using that’s library that you mentioned. I will try with the logs

    – Crying Freeman
    Mar 27 at 21:53












  • could this be a problem ? services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1) and then in the server with IIS where deployed my app i have installed the latest version of .NET Core 2.2 Runtime & Hosting Bundle for Windows (v2.2.3)

    – Crying Freeman
    Mar 28 at 13:22











  • I don't think so, but I'm really not sure. You may want to search around and see if someone has asked a similar question, or ask your own question if you can't find it. To the best of my knowledge though, what you are describing should still work. Again though, I am no expert here.

    – neilsimp1
    Mar 28 at 13:51













0












0








0







On application startup, we are scheduling some things using FluentScheduler. On had a start/end time that must be confusing the library. It causes it to freeze up entirely without throwing an exception. Removing/changing the time fixed or issue!






share|improve this answer













On application startup, we are scheduling some things using FluentScheduler. On had a start/end time that must be confusing the library. It causes it to freeze up entirely without throwing an exception. Removing/changing the time fixed or issue!







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 27 at 16:52









neilsimp1neilsimp1

7201 gold badge6 silver badges23 bronze badges




7201 gold badge6 silver badges23 bronze badges















  • I have a very similar problem. How do you solved it

    – Crying Freeman
    Mar 27 at 21:49






  • 1





    Log statements. Put them everywhere in Program.cs and Startup.cs and log things to file. From there we just looked at what did and didn't log to narrow down where it was stopping.

    – neilsimp1
    Mar 27 at 21:52











  • But I’m not using that’s library that you mentioned. I will try with the logs

    – Crying Freeman
    Mar 27 at 21:53












  • could this be a problem ? services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1) and then in the server with IIS where deployed my app i have installed the latest version of .NET Core 2.2 Runtime & Hosting Bundle for Windows (v2.2.3)

    – Crying Freeman
    Mar 28 at 13:22











  • I don't think so, but I'm really not sure. You may want to search around and see if someone has asked a similar question, or ask your own question if you can't find it. To the best of my knowledge though, what you are describing should still work. Again though, I am no expert here.

    – neilsimp1
    Mar 28 at 13:51

















  • I have a very similar problem. How do you solved it

    – Crying Freeman
    Mar 27 at 21:49






  • 1





    Log statements. Put them everywhere in Program.cs and Startup.cs and log things to file. From there we just looked at what did and didn't log to narrow down where it was stopping.

    – neilsimp1
    Mar 27 at 21:52











  • But I’m not using that’s library that you mentioned. I will try with the logs

    – Crying Freeman
    Mar 27 at 21:53












  • could this be a problem ? services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1) and then in the server with IIS where deployed my app i have installed the latest version of .NET Core 2.2 Runtime & Hosting Bundle for Windows (v2.2.3)

    – Crying Freeman
    Mar 28 at 13:22











  • I don't think so, but I'm really not sure. You may want to search around and see if someone has asked a similar question, or ask your own question if you can't find it. To the best of my knowledge though, what you are describing should still work. Again though, I am no expert here.

    – neilsimp1
    Mar 28 at 13:51
















I have a very similar problem. How do you solved it

– Crying Freeman
Mar 27 at 21:49





I have a very similar problem. How do you solved it

– Crying Freeman
Mar 27 at 21:49




1




1





Log statements. Put them everywhere in Program.cs and Startup.cs and log things to file. From there we just looked at what did and didn't log to narrow down where it was stopping.

– neilsimp1
Mar 27 at 21:52





Log statements. Put them everywhere in Program.cs and Startup.cs and log things to file. From there we just looked at what did and didn't log to narrow down where it was stopping.

– neilsimp1
Mar 27 at 21:52













But I’m not using that’s library that you mentioned. I will try with the logs

– Crying Freeman
Mar 27 at 21:53






But I’m not using that’s library that you mentioned. I will try with the logs

– Crying Freeman
Mar 27 at 21:53














could this be a problem ? services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1) and then in the server with IIS where deployed my app i have installed the latest version of .NET Core 2.2 Runtime & Hosting Bundle for Windows (v2.2.3)

– Crying Freeman
Mar 28 at 13:22





could this be a problem ? services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1) and then in the server with IIS where deployed my app i have installed the latest version of .NET Core 2.2 Runtime & Hosting Bundle for Windows (v2.2.3)

– Crying Freeman
Mar 28 at 13:22













I don't think so, but I'm really not sure. You may want to search around and see if someone has asked a similar question, or ask your own question if you can't find it. To the best of my knowledge though, what you are describing should still work. Again though, I am no expert here.

– neilsimp1
Mar 28 at 13:51





I don't think so, but I'm really not sure. You may want to search around and see if someone has asked a similar question, or ask your own question if you can't find it. To the best of my knowledge though, what you are describing should still work. Again though, I am no expert here.

– neilsimp1
Mar 28 at 13:51








Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55377143%2fnet-core-app-targeting-full-framework-stopped-working-in-iis%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해