this issue comes very often to the asp.net or asp.net mvc developer and it can waste considerable time. i have resolved this issue many times using following steps.
1) Check whether right version of code is being debugged.
Go to iis right click on website. select open. Now match the path of this directory with the soution directory which is opened. it should match
2) Stop iis
3) Delete the temporary files form c:\windows\microsoft.net\framework\v2.0.50727\Temporary ASP.NET Files
4) Clean the solution (Right click -> clean
5) Rebuild the solution
now attach to w3c using ctrl+alt+p shortcut.
Go to iis right click on website. select open. Now match the path of this directory with the soution directory which is opened. it should match
2) Stop iis
3) Delete the temporary files form c:\windows\microsoft.net\framework\v2.0.50727\Temporary ASP.NET Files
4) Clean the solution (Right click -> clean
5) Rebuild the solution
now attach to w3c using ctrl+alt+p shortcut.
No comments:
Post a Comment