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.
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,
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, :)
Hi Amer and welcome to our :)
So is it a .cs file you have placed in the /App_Code/ folder?
/Jan
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:
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
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
is working on a reply...