web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

the requested operation cannot be performed on a file with a user-mapped section open

(0) ShareShare
ReportReport
Posted on by 552

Hi everyone,

While editing some code in Visual Studio, suddenly I cannot save due to this error : 

pastedimage1671626656333v1.png

The object that I'm open is a Class, if I close the message (press OK) it will prompt for Save As. And if I just close it (without save), in the tab will show new tab with the class in design mode (not the code editor mode, but the one wilt the view of class name with its method listed). Is this the one that Visual Studio refer to "user-mapped section open" ? 

But I don't know from where it is open? I tried to closed multiple time, also close VS and open again, then when open the code editor again, I make sure the design mode of the class is not appear, but every time I want to save the code editor, it will always give me the message, means until now I cannot save my edit.

Anyone ever experience this and how to resolve it ?

Thanks,

I have the same question (0)
  • Verified answer
    Ken Manhattan Profile Picture
    552 on at

    I had to close everything and restart my VM, in order to resolve this issue.

    Solved.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans