I am working on asp.net 3.5 project on remote machine. I am accessing it using remote desktop. When I build the project, I get error:
Error 62 Unable to c
the error is pretty obvious there Access to the path 'bin\myprojname.pdb\' is denied. the user the web console process is running under (not the user you created in the webconsole, the actual windows user), most likely "Network Service" doesnt have permissions to that folder.
You can either - Right click on that folder, goto permissions and add the "Network Service" user - Right click on that folder, goto permissions and add the "Everyone" user
that should fix that problem.
I had this issue with WebActivator.dll
Closing VS and reopening resolved the issue for me
Just remove the corresponding reference(.dll file) from the References and add it back again using add reference option.I got a similar error,and i have solved it this way.I hope it will help.
Tip for VS noobs like me: Check you're looking at the right /bin folder.
Details: To me, "Failed to copy from SomeDependancy/bin/Debug to /bin" sounds like it means the destination is SomeDependancy/bin. But in my application it meant MainProject/bin. I cottoned on to the idea when I discovered I could build the dependencies and only MainProject was failing. I haven't completed testing yet, but it looks like the suggestion about recreating the folder might now work for me.
I solved it by Unchecking the Read-only
CheckBox option on folder setting.
If you have done some check-in into the bin folder then this issue will come. Just delete that file and check-in again and build it. It will definitely work. Note: Please don't check-in anything into bin folder