Last post Jun 05, 2017 09:05 AM by HostingASPNet
Jun 05, 2017 08:28 AM|hkbeer|LINK
I created a working ASP.Net Web Apps in VS2017 of my pc. It has standard Register/login function. I press F5 debug everything works.
Then I have to copy it to a production machine which is a remote desktop of another machine having Win Server 2012 with IIS and .Net installed.
I copy all web site files from my pc to this Remote desktop PC.
Say it is now under C:\MyApp in Win2012 server
Then I goto Remote machine (I am Admin) and started IIS of this remote machine.
In Default Web Site I right Click [Add Virtual Directory]
Then browse to C:\MyApp
Then goto Web Browser of this remote PC
http://localhost/MyApp/Default.aspx, it says error in web.config (so at least it is loading sth):-
What should I do ? Thanks
71: <remove name="FormsAuthentication"/>
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Jun 05, 2017 09:01 AM|hkbeer|LINK
The details are as follows:-
What to do ?
Jun 05, 2017 09:05 AM|HostingASPNet|LINK
You could check at