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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Stuck in a upgrade from 3 to 4Stuck in a upgrade from 3 to 4
Previous
 
Next
New Post
7/23/2008 7:22 PM
 

I installed the upadate and made the changes to the web.config.  But now when I try to go to the web site I get errors. see below...

 

Server Error in '/' Application.

The files '/App_Code/ALTBGallery/PhotoSize.cs' and '/App_Code/XML/Components/XmlController.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/ALTBGallery/PhotoSize.cs' and '/App_Code/XML/Components/XmlController.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/ALTBGallery/PhotoSize.cs' and '/App_Code/XML/Components/XmlController.vb' use a different language, which is not allowed since they need to be compiled together.]
   System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() +674
   System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +38
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +2944195
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +204
   System.Web.Compilation.BuildManager.CompileCodeDirectories() +615
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +739

[HttpException (0x80004005): The files '/App_Code/ALTBGallery/PhotoSize.cs' and '/App_Code/XML/Components/XmlController.vb' use a different language, which is not allowed since they need to be compiled together.]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +79
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +2943544
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1163

[HttpException (0x80004005): The files '/App_Code/ALTBGallery/PhotoSize.cs' and '/App_Code/XML/Components/XmlController.vb' use a different language, which is not allowed since they need to be compiled together.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +2739623
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +2739533

The first time the error showed up it was with IFrame and ALTBGallery.  Interestingly when I use the previous web.config I can go in and uninstal the ALTBGallery module and I uninstalled the Iframe module.  Still getting this error.  the site works, mostly, with the old web.config but I can't creat new pages.  So how badly did I screw up?

 
New Post
7/24/2008 1:44 PM
 

You will need to make sure that you copied over the <codesubdirectories> section of your web.config


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
7/24/2008 5:21 PM
 

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

That fixed one problem, but introduced a new one.  When I go to the site after making the changes to the web.config I get a site is unavailable error.  then when I try the second time, refresh or whatever I get:


 
DotNetNuke Error: - Version 04.08.04

--------------------------------------------------------------------------------

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


When I try to go in as local host I get:


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

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
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.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

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:


[SqlException (0x80131904): An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +603
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +64
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +2854535
   System.Data.SqlClient.SqlConnection.Open() +274
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) +371
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) +621
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +198
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) +63
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +273
   DotNetNuke.Services.Log.EventLog.DBLoggingProvider.Data.SqlDataProvider.GetLogTypeConfigInfo() +106
   DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLogTypeConfigInfo() +135
   DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLogTypeConfigInfoByKey(String LogTypeKey, String LogTypePortalID) +99
   DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.AddLog(LogInfo objLogInfo) +108
   DotNetNuke.Services.Log.EventLog.LogController.AddLog(LogInfo objLogInfo) +254

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


Changes I made to the release.config/web.config are:

I changed the database name, user name, password in the two locations. (line 30 and 38)
Changed the Validation key, encryption key.  I left validation and decription as they are the same. (line 66-69)
Added code subdirectories to line 126-127; they where html, reports, survey, xml, altbgallery, chat, iframe

would it help to post the whole web.config minus user/password?

Thanks

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Stuck in a upgrade from 3 to 4Stuck in a upgrade from 3 to 4


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