I deployed my Webforms project to the local webserver, and of course it doesn't work, and of course it works on my pc.
The webserver shows,
Server Error in '/' Appliction.
Login failed for user 'domain\webservername$'.
Both my pc and with web server have Anonymous Authentication disabled and Windows Authentication is set to enabled.
My web forms project is ran on the local network, and I use windows authentication to get the user id. The webserver is on the local network.
Again, my web forms project works on my pc.
In the Web.config file I commented out,
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
I set the default.aspx page as the startup page.
...
Go to the complete details ...