You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
I have recently migrated my application from RC1 to 1.0.0-preview2-final, and I am no longer able to host the app as a sub application under the main website like I was before ("corep" is the application I have migrated):
After the migration, the web.config has moved from the wwwroot and up one level to the content root. Therefore, I changed the physical path of the IIS application accordingly. My web.config is listed below.
Application logs tells me that the application is running and requests are received, but every request result in a 404 response. Below is the output from the application when I try to access the index page.
Hosting environment: Production
Content root path: D:\Web\StoragePortal\Corep
Now listening on: http://localhost:9820/corep
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://{my-url}/corep/index.html
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 160.1519ms 404
Any ideas about how I can make this work?
EDIT: I just wanted to add that the application works perfectly if it hosted alone, and not as a sub application.
The text was updated successfully, but these errors were encountered:
I have recently migrated my application from RC1 to 1.0.0-preview2-final, and I am no longer able to host the app as a sub application under the main website like I was before ("corep" is the application I have migrated):
After the migration, the
web.config
has moved from thewwwroot
and up one level to the content root. Therefore, I changed the physical path of the IIS application accordingly. Myweb.config
is listed below.I have the following code in my
Startup.cs
to enable hosting the application as a sub site.Application logs tells me that the application is running and requests are received, but every request result in a 404 response. Below is the output from the application when I try to access the index page.
Any ideas about how I can make this work?
EDIT: I just wanted to add that the application works perfectly if it hosted alone, and not as a sub application.
The text was updated successfully, but these errors were encountered: