Problems with Blogengine.NET

Topics: ASP.NET 2.0, Controls
Oct 5, 2008 at 3:54 PM
I tried to play around with the catagories! delete, add and so on.

Server Error in '/' Application.

The files '/App_Code/App_Code/Photo.vb' and '/App_Code/App_Code/Controls/CategoryList.cs' use a different language, which is not allowed since they need to be compiled together.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: The files '/App_Code/App_Code/Photo.vb' and '/App_Code/App_Code/Controls/CategoryList.cs' use a different language, which is not allowed since they need to be compiled together.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[HttpException (0x80004005): The files '/App_Code/App_Code/Photo.vb' and '/App_Code/App_Code/Controls/CategoryList.cs' use a different language, which is not allowed since they need to be compiled together.]
System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() +881
System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +29
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +387
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.CompileCodeDirectories() +525
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +448

[HttpException (0x80004005): The files '/App_Code/App_Code/Photo.vb' and '/App_Code/App_Code/Controls/CategoryList.cs' use a different language, which is not allowed since they need to be compiled together.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644

[HttpException (0x80004005): The files '/App_Code/App_Code/Photo.vb' and '/App_Code/App_Code/Controls/CategoryList.cs' use a different language, which is not allowed since they need to be compiled together.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279


Oct 5, 2008 at 8:38 PM
You may want to check your installation. You should not have an App_Code folder within the App_Code folder and there are no VB files in this app.
Is this a standalone BE install or did you integrate it with another app?