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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...upgrading 06.02.01 to 06.02.02 errorupgrading 06.02.01 to 06.02.02 error
Previous
 
Next
New Post
8/8/2012 5:18 PM
 

i get an error when doing an upgrade from 6.2.1 to 6.2.2

Server Error in '/' Application.
--------------------------------------------------------------------------------

The files '/App_Code/RazorHelpers/Facebook.cshtml' and '/App_Code/IFrame/Domain/IFrameParameterType.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/RazorHelpers/Facebook.cshtml' and '/App_Code/IFrame/Domain/IFrameParameterType.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/RazorHelpers/Facebook.cshtml' and '/App_Code/IFrame/Domain/IFrameParameterType.vb' use a different language, which is not allowed since they need to be compiled together.]
   System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() +628
   System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +46
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +11557229
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +181
   System.Web.Compilation.BuildManager.CompileCodeDirectories() +498
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +762

[HttpException (0x80004005): The files '/App_Code/RazorHelpers/Facebook.cshtml' and '/App_Code/IFrame/Domain/IFrameParameterType.vb' use a different language, which is not allowed since they need to be compiled together.]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +100
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1126
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1209

[HttpException (0x80004005): The files '/App_Code/RazorHelpers/Facebook.cshtml' and '/App_Code/IFrame/Domain/IFrameParameterType.vb' use a different language, which is not allowed since they need to be compiled together.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11700896
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4869125

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
 


http://shop.smallinternetsolutions.com
UNLIMITED HOSTING for less...
Windows Hosting Starting at $3.95/mo
 
New Post
8/8/2012 6:02 PM
 

'/App_Code/RazorHelpers/Facebook.cshtml' and '/App_Code/IFrame/Domain/IFrameParameterType.vb'  should not be part of the DNN 6.x!  have you still old modules installed?

Looks as you have still old artifacts of non compiuled modules on your web.config file.  Check your web.config and delete the entries for App_Code/RazorHelpers and App_Code/IFrame.

 
New Post
8/14/2012 8:35 AM
 

ok I'll try that and let you know.

 Also this was from a fresh 6.0 install.  and just been stepping it up as the upgrades been release.


http://shop.smallinternetsolutions.com
UNLIMITED HOSTING for less...
Windows Hosting Starting at $3.95/mo
 
New Post
8/14/2012 8:44 AM
 
Matthias Schlomann wrote:

'/App_Code/RazorHelpers/Facebook.cshtml' and '/App_Code/IFrame/Domain/IFrameParameterType.vb'  should not be part of the DNN 6.x!  have you still old modules installed?

Looks as you have still old artifacts of non compiuled modules on your web.config file.  Check your web.config and delete the entries for App_Code/RazorHelpers and App_Code/IFrame.

 

well i looked and the only thing im fining is:

<!-- register your app_code subfolders to generate granular assemblies during compilation
      <codeSubDirectories>
        <add directoryName="sub-directory name"/>
      </codeSubDirectories>
      -->
      <codeSubDirectories>
        <add directoryName="IFrame" />
        <add directoryName="Links" />
        <add directoryName="RazorHelpers" />
      </codeSubDirectories>
    </compilation> 

Module I check and all the modules i have are up to date and are about to run on 6.X .


http://shop.smallinternetsolutions.com
UNLIMITED HOSTING for less...
Windows Hosting Starting at $3.95/mo
 
New Post
8/14/2012 5:15 PM
 

You should delete this 3 lines from the web.config file.

<add directoryName="IFrame" />
<add directoryName="Links" />
<add directoryName="RazorHelpers" />

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...upgrading 06.02.01 to 06.02.02 errorupgrading 06.02.01 to 06.02.02 error


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