Errors on aspnetCompiler when compiling web deployment

Last post 05-18-2008 11:07 PM by Thomas Sun – MSFT. 4 replies.

Sort Posts:

  • Errors on aspnetCompiler when compiling web deployment

    05-13-2008, 11:38 PM
    • Member
      1 point Member
    • XML@asp
    • Member since 10-24-2007, 3:22 AM
    • Posts 23

    could someone please what is this problem..

    ASPNETCOMPILER : error ASPRUNTIME: The requested operation cannot be performed on a file with a user-mapped section open.

     

    The command exited with code 1.

     

    Done executing task "AspNetCompiler" -- FAILED.

    Done building target "AspNetCompiler" in project "Christianna.wdproj" -- FAILED.

    Done building project "Christianna.wdproj" -- FAILED.

    Build FAILED.

    Time Elapsed 00:00:46.83

    ========== Build: 0 succeeded or up-to-date, 1 failed, 1 skipped ==========

  • Re: Errors on aspnetCompiler when compiling web deployment

    05-14-2008, 2:00 PM
    • Contributor
      3,389 point Contributor
    • hongping
    • Member since 11-02-2006, 9:42 PM
    • Posts 633

    What are the steps you took to get this error?

     

    ==============================================
    If you get the answer to your question, please mark it as the answer.
  • Re: Errors on aspnetCompiler when compiling web deployment

    05-15-2008, 9:40 AM
    • Member
      1 point Member
    • XML@asp
    • Member since 10-24-2007, 3:22 AM
    • Posts 23

    when i compiled my project it is successfully build but when i try to compile it via web deployment project i got the ASpnetCompiler....

     

  • Re: Errors on aspnetCompiler when compiling web deployment

    05-15-2008, 2:21 PM
    • Contributor
      3,389 point Contributor
    • hongping
    • Member since 11-02-2006, 9:42 PM
    • Posts 633

    When you used Web Deployment Project to build, what are the options you have selected?

    ==============================================
    If you get the answer to your question, please mark it as the answer.
  • Re: Errors on aspnetCompiler when compiling web deployment

    05-18-2008, 11:07 PM
    Answer

    Hi,

    This issue might be caused by user permissions. You can try to grant proper permissions on the file or folder.

    You also need to make sure that another program is not using the file, or else it can't be modified. If so, you can also try to reboot your machine to see if it works.

     

    I hope this helps.

     

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
Page 1 of 1 (5 items)