My friend copied his project from another machine to his machine, project was in asp .net 2003 fromat, which was working well in old machine. But when he tried to run it(for debugging purpose) from visual studio 2003 it gave following error :
Even we tried to run using url http:\\localhost\virtual_dir_name\page.aspx, but it was still giving error something like ‘HTTP/1.1 500 Internal Server Error’. Finally after searching over net we found following solution at byte.com.
For us second solution worked. We did following step:
1.Deleted ASPNET windows user account (from control panel->User Accounts->Users Tab)
2.And then in command prompt(cmd, not vs command prompt) went to framework directory, i.e., in our case
C:\Windows\Microsoft.NET\Framework\v1.1.4322 and ran the command “aspnet_regiis -i” (to re-register the Framework 1.1 and reinstall ASPNET user).
And bingo !!! it worked without even restarting the machine/server.
Above solution solution also solved following problem.
We also faced the problem on creating new web project using asp.net 2003 on same machine, got the error: