Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Amer 6 posts 26 karma points
    Jul 02, 2014 @ 11:14
    Amer
    0

    Problem after publishing website.

    Hi, I created one application in umbraco. Its working fine in on vs 2010 but it showing error when I published it on iis. It showing error like

    The directory '/App_Code/' is not allowed because the application is precompiled.

    please any help, :)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jul 02, 2014 @ 11:55
    Jan Skovgaard
    0

    Hi Amer and welcome to our :)

    So is it a .cs file you have placed in the /App_Code/ folder?

    /Jan

  • Amer 6 posts 26 karma points
    Jul 02, 2014 @ 12:15
    Amer
    0

    hi Jan 

    yes, there are two .cs files in /App_Code/ folder.

    Edit,

    when I tried to publish the website without option "precompiled site".

    i got 3 errors:

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jul 08, 2014 @ 20:55
    Jan Skovgaard
    0

    Hi Amer

    Sorry for the late answer - But have you remembered to reference the umbraco.dll? Judging from the error messages in your screendump it does not seem so.

    Hope this helps.

    /Jan

  • Amer 6 posts 26 karma points
    Jul 09, 2014 @ 10:32
    Amer
    0

    Hi Jan

    thank you for help,

    the website works fine in vs2010,

    there are two scenarios:

    1- when i try to publish without option "precompiled site" ,it gives me the error in screendump ,

    2- when i try to publish with option "precompiled site" ,the publishing process succeeded , but gives me this error("The directory '/App_Code/' is not allowed because the application is precompiled.") on browser,

    what should i do? :(

    regards

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies