last day (16 days later) » 

7:11 PM
If you are a user/fan of dotnet core, please post here. I'd be glad to have discussions about my favorite framework! :)
 
7:51 PM
indeed
issues with deploying a .net 2.2 core app to IIS
I followed a guide on the microsoft site and installed the hosting bundle
@DanielJackson
 
What happened after that?
 
after that, i deployed the project to folder in release form then copied over to the server
created the site and pointed it to the folder
tried to brows the site then it fails to load
the server is on a local network by the way
 
Could be a range of issues. What is the browser code? You'll probably have to turn on stdout logging. And if it's within the application then you'll have to have application logging.
 
hmm
 
The browser code will give the first hint.
 
8:01 PM
how do i get the browser code
 
When you navigate to the site what does it say? Page not found?
 
oh that lol sorry
my mind is all over the place
This page can’t be displayed
 
All good, that's what I mean about browser error code. If you're not getting that then installation should be fine. Something should be wrong with the application.
Pull up browser dev tools and see if it shows anything in console and networking tab.
 
no i dont get that error that you posted
 
I just mean you'll see something like that if there was something wrong with the hosting installation.
If dev tools isn't helping then the only thing that I know of is to log out step by step in the application until you can find where the issue is happening.
 
8:07 PM
gonna check the browser dev tools and see if i get anything else
DOM7011
and HTML1300
 
8:29 PM
I don't really look at those, more of what it's saying is happening. 404 not found, which file is in question, if it shows a line in code that you can click... that type of thing.
 
ahh i see
testing an older application and it is loading but i guess it has something to do with .net core
 
How do you know?
 
just assuming since the other applications were not done in .net core
 
And you're able to build and debug it in an editor?
 
indeed
 
8:34 PM
Well .Net core is just like .Net, .Net core is .Net 5. It sounds like a page isn't being served. If security is in the application then that could be a reason. Could be something else. But the editor will tell you what framework you need, what version exactly.
Logging is easy to add and use in .Net Core and that's really the only way I know of in these cases.
 
i see
alright then, I need to do some more digging
 
Ok, sorry wish I had an easy answer. I've been through this myself though so you're not alone.
 
not a problem, i know my issue is kind of vague as is too
it is just so confusing to me since I have no clear answer as to why it is not working
I set the application pool to No Managed Code as the guide suggested
 
8:53 PM
It really doesn't sound like hosting or you'd be getting some kind of server error, 500 error. Dev tools should give you the hint which sounds like within the application. If it's an older one then that makes sense, probably has certain dependencies that require being on the machine, or they need updated. Plus you need to make sure you have the right .Net Core version if it is indeed .Net Core.
 
.net core plugin you mean?
 
 
2 hours later…
11:22 PM
@kabuto178 no, .net core is a framework not a plugin. .net core is .net 5.
Or you mean plugin dependencies? Could be packages. NuGet packages that have nothing to do with .Net Core. If the application isn't serving a page when published it's not a .Net Core issue. There's something happening in the code. And logging should be in there no matter what. If it's not then you may never figure it out.
 

  last day (16 days later) »