requested operation cannot be performed on a file with a user-mapped section open" on particular font file

senthil kumar rajavel 1 Reputation point
2021-04-21T17:38:52.463+00:00

I am using power shell to deploy the build artifacts via azure pipeline in windows server. but I getting below error in pipeline when I try to deploy the file.

"requested operation cannot be performed on a file with a user-mapped section open" on particular font file."

As I checked in destination server there is no file open. I am not sure where the file open. Also I need to figure out because of agent issue or pipeline issue
or power shell issue when coping the file or server issue where the file copied.

Could you please some one help me fix the issue.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,487 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,896 Reputation points
    2021-04-27T20:49:23.427+00:00

    Hi @senthil kumar rajavel ,

    Thanks for your patience. We are aplogize for the incovienve this issue may have caused.

    Please make sure you are using:

    • Windows 2008 R2 SP1 or higher
    • PowerShell 3.0 or higher
    • .NET Framework 4.6.2 or higher

    If those requirements are already met and you are still facing the issue, you can you can use tools like Process Monitor/ Process Explorer to capture a trace of file events under a specific directory or use the information in your logs to diagnose your error.

    Start by looking at the logs in your completed build or release. You can view logs by navigating to the pipeline run summary and selecting the job and task. If a certain task is failing, check the logs for that task. In addition to viewing logs in the pipeline build summary, you can download complete logs which include additional diagnostic information, and you can configure more verbose logs to assist with your troubleshooting.

    Along, with the pipeline diagnostic logs, the following specialized log types are available, and may contain information to help you troubleshoot.

    Worker diagnostic logs
    Agent diagnostic logs
    Other logs

    Hope that helps. Please let us knoe if you have further questions.

    -Grace

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.