I know this has been posted in the past I have read the forum and tried to find a fix without needing to post. However I am still out of luck with this.
I am trying to host the website through IIS using my local machine as the server, the publishing goes great and gets passed to IIS manager but when it comes to loading the site I keep getting this error posted.
I have a non source version of a website which I am trying to change the CheckoutController.cs to post data to another database at the same time as an order is processed using the source code and trying to just paste the web.dll file along with restsharp.dll so that's all I am changing is the checkout controller code. Is there anyone who can help me with this?
I have downloaded all the runtime + hosting downloads and made sure that it has installed correcty. I have changed InProcess to OutOfProcess. I have tried a lot of things but with no result so far. When I try to drag the files over to the non source version I get a similar error.
[quote=CffNop]I have a non source version of a website which I am trying to change the CheckoutController.cs /quote] You cant change source code in a non-source version. You need to use Visual Studio to change and rebuild the site
Thank you for the reply. That's what I mean I am editing the source code so that I can copy the files into the non source files. Is this possible or not?
To change .cs files You change the source file i.e. .cs files Rebuild the solution using Visual Studio Then copy the new .dll to production (non-source version) Of course you have tested and debug before doing that
Ok great, yes of course this is where I am at, at the moment.
There error I am getting from the event view is:
Could not load configuration. Exception message: Unable to get required configuration section 'system.webServer/aspNetCore'. Possible reason is web.config authoring error.