integration into WebProject

Topics: ASP.NET 2.0
Mar 5, 2012 at 12:12 PM

Hi i have a problem... I can't integrate BlogEngine.Net into my existing WebProject... when i compile project in VS 2010 i have got an error message - Error 12 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. ~path_to_WebProject\wwwroot\blog\Web.Config

so how i can fix this problem?

P.S i have another Web.config in my project...

Mar 6, 2012 at 1:41 AM

Vladimir111,

Like the error says, "This error can be caused by a virtual directory not being configured as an application in IIS."  Your \blog directory is not configured as an IIS application folder.

Good luck,
Dave

 

Mar 7, 2012 at 6:26 AM

hmmm, ok, maybe a asked wrong...


i have a project with working site... but i can't integrate it, because i have Resources error... i have found that for integration i need to move GlobalResources to LocalResources, so i did it... but now i have problem with calling local resources(i.e labels.widget) from my .aspx page... so can you help me with it?