remove module after upgrade, error
Last Post 02/18/2008 7:45 AM by Joseph Craig. 2 Replies.
Author Messages
Roger Goodwin
Nuke Pro
Nuke Pro
Posts:95


--
02/17/2008 6:01 PM
    I have made a mistake when upgrading a website. I should have removed 2 modules which dont work on the new version of DNN. I tested the install on my local pc then uploaded the files without removing the modules. Can I remove these manually?

    this is the eror message I am getting.

    [HttpException (0x80004005): The files '/App_Code/Reports/ReportsClientAPI.vb' and '/App_Code/DnnSiteMap/ExtendedTreeNode.cs' 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) +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/Reports/ReportsClientAPI.vb' and '/App_Code/DnnSiteMap/ExtendedTreeNode.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) +521

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


    Regards

    Roger
    Roger Goodwin
    Nuke Pro
    Nuke Pro
    Posts:95


    --
    02/18/2008 3:18 AM

    I have decided to go back to my origional site. I have uploaded the origional files. I am now getting the following error,

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    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.NullReferenceException: Object reference not set to an instance of an object.

    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:

    [NullReferenceException: Object reference not set to an instance of an object.]
       DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +962
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    

    is this becaues the database has started to update? or is it a different issue?

    Regards

    Roger
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    02/18/2008 7:45 AM
    If I were you, I'd go back to the original database and web directory, and then remove the modules using the tools built in to DotNetNuke to do that.

    Then I would use the resulting database and web directory as the starting point to do the upgrade.

    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---