Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Deleted one module too many?Deleted one module too many?
Previous
 
Next
New Post
10/11/2010 9:43 PM
 
Hi all-

We were cleaning up our DNN 5.5.1 install to remove modules we decided we didn't want.

Apparently, we deleted something we shouldn't have, because now the entire DNN install (all portals) are down.  Here's the error message we're getting when trying to load the host portal -- I have no clue how to proceed, so I hope someone can help!!

Server Error in '/' Application.

The files '/App_Code/CrossSimpleMenuBar/MenuController.cs' and '/App_Code/AssemblyInfo.vb' 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/CrossSimpleMenuBar/MenuController.cs' and '/App_Code/AssemblyInfo.vb' 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/CrossSimpleMenuBar/MenuController.cs' and '/App_Code/AssemblyInfo.vb' 
use a different language, which is not allowed since they need to be compiled together.] System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
 +633 System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +38 System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, 
CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +11200891 
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) 
+185 System.Web.Compilation.BuildManager.CompileCodeDirectories() +654 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() 
+658 [HttpException (0x80004005): The files '/App_Code/CrossSimpleMenuBar/MenuController.cs' and '/App_Code/AssemblyInfo.vb' use a different language, 
which is not allowed since they need to be compiled together.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() 
+76 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, 
IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025 [HttpException (0x80004005): The 
files '/App_Code/CrossSimpleMenuBar/MenuController.cs' and '/App_Code/AssemblyInfo.vb' use a different language, which is not allowed since they need to be compiled 
together.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11305670 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) 
+88 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4342340 


Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955 
 
New Post
10/11/2010 10:22 PM
 
mark supinski wrote:

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

The key is there.  Looks like one or more of the modules you uninstalled either did not clean up properly after itself or failed to complete uninstalling.  To fix this first issue, you'll probably need to manually delete the '//App_Code/CrossSimpleMenuBar/MenuController.cs' file.  DONT delete the AssemblyInfo.vb file, that one belongs to the core. 

Then we'll see what the next error is and keep moving from there (this could be the only one).


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
10/12/2010 10:13 AM
 
I think there was an module called "CrossSimpleMenuBar" which was not uninstalled properly. To make site workable you need to add a  line as

<add directoryName="GetOurService" />" inside <codeSubDirectories> tag of web.config file. Then after you can move to module defination section and unistall that module.


Sibabrata Dash
www.mindfiresolutions.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Deleted one module too many?Deleted one module too many?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out