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 StartedInstalling DNN ...Installing DNN ...Most common reason for this error?Most common reason for this error?
Previous
 
Next
New Post
6/1/2007 10:46 AM
 

I have had great success in remote upgrades on shared hosting.  Just did two this morning, and now on my third I get this:

 

 

 

Server Error in '/' Application.

Runtime Error

 

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

 

Is there a MOST common reason for this error that I should check directly?


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
6/1/2007 11:06 AM
 

Please change the customErrors mode="Off" in web.config so we can see the real error.

This error only tells you that it can't tell you the real error.


DotNetNuke Modules from Snapsis.com
 
New Post
6/1/2007 11:12 AM
 

Here it is:

The files '/App_Code/Guestbook/GuestbookController.cs' and '/App_Code/HTML/HtmlTextInfo.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/Guestbook/GuestbookController.cs' and '/App_Code/HTML/HtmlTextInfo.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/Guestbook/GuestbookController.cs' and '/App_Code/HTML/HtmlTextInfo.vb' use a different language, which is not allowed since they need to be compiled together.]
   System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() +957
   System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +29
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +384
   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/Guestbook/GuestbookController.cs' and '/App_Code/HTML/HtmlTextInfo.vb' 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) +456

[HttpException (0x80004005): The files '/App_Code/Guestbook/GuestbookController.cs' and '/App_Code/HTML/HtmlTextInfo.vb' use a different language, which is not allowed since they need to be compiled together.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3435023
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
6/1/2007 11:19 AM
 

Make sure there is a seperate entry in web.config for each code subdirectory:

      <codeSubDirectories>
         <add directoryName="HTML"/> 
         <add directoryName="Guestbook"/> 
      </codeSubDirectories>


DotNetNuke Modules from Snapsis.com
 
New Post
6/1/2007 11:25 AM
 

YES!

As in, "YES, that fixed it!"  Heart beating slower now.  Thank you.  This happened on my largest portal.


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Most common reason for this error?Most common reason for this 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