When you get this error check whether any Microsoft application installation is going on in the background. Yesterday i had my Visual studio opened and i was working on it. My MS Office was getting upgraded from 2007 to 2010 and suddenly i got the error ‘The requested operation cannot be performed on a file with a user-mapped section.‘ when compiling my projects. It was weird as the projects were compiling before without any errors. Tried few options like (Resetting the devenv settings with devenv /ResetSettings).. Suddenly it worked after the MS Office installation was over.
If you get this error wait till the Microsoft related install package is completed and try again.