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 ...4.02 Installation Compilation Error4.02 Installation Compilation Error
Previous
 
Next
New Post
4/6/2006 1:44 PM
 

Hi,

I am getting a compilation error (see error output below) when I try to install version 4.02. I have read all the stuff

in the documentation on the install process and many of the posts on that subject in this forum. I am pretty certain I

performed all the steps correctly including the configuration for ASP.NET 2 in IIS and pointing to the \Website

subdirectory as per the instructions on page 33 of the installation guide. The error below seems to be pointing to

Global.asax.vb and note that the information seems to reference the correct compiler and .NET Framework. I

have looked at other postings covering compilation errors but I did not see any posts with this exact error.

 

Here are some facts that may be pertinent. I am running Win XP Pro SP2 and IIS 5.1. I have Visual Studio 2005,

ASP .NET 2.0, .NET Framework 2.0, and SQL Server 2005 installed from the MSDN developer package.

However, note that I still have Visual Studio 2003, SQL Server 2000, ASP .NET 1.1, and Framework 1.1

installed. SQL Server 2003 and 2005 are a side-by-side installation with 2005 as a named instance. I still have

DotNetNuke 3.2.1 installed and working with a SQL Server 2003 database. I installed DotNetNuke 4.02 from

the source zip file. I set up the DotNetNuke 4.02 database in the SQL Server 2005 named instance and used a

connection string like the one that works with the 2003 database with the named instance as the data source and

the 2005 database name of DotNetNuke_2. Note that I am able to access DotNetNuke_2 via the login in my

connection string through SQL Server 2005 Management Studio.

 

I recognize that this is a pretty complex environment. I also know that the order of installation of all of this stuff

may have caused some difficulties.  Does anyone have a clue as to the problem with this installation? For my next

step I was considering changing the web.config debug parameter to true and running this under VS 2005 debug.

Are there any other suggestions? I would appreciate any advice.

 

Thanks,

G.M.

 

Here is the exact error output: 

Server Error in '/DotNetNuke_2' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30392: 'Catch' cannot catch type 'exception' because it is not 'System.Exception' or a class that inherits from 'System.Exception'.

Source Error:

Line 128:                objEventLogInfo.LogTypeKey = Services.Log.EventLog.EventLogController.EventLogType.APPLICATION_SHUTTING_DOWN.ToString
Line 129:                objEv.AddLog(objEventLogInfo)
Line 130:            Catch exc As Exception
Line 131:                LogException(exc)
Line 132:            End Try

Source File: D:\Visual Studio Projects\DotNetNuke_2\Website\App_Code\Global.asax.vb    Line: 130

Warning: BC40031: Name '__ASP' is not CLS-compliant.
Source Error:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\App_Code.8l_6wcm1.3.vb
[No relevant source lines]

 


C:\WINDOWS\system32> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\0b2d723e\00237e28_4907c601
\DotNetNuke.DNNScheduler.DLL" 
/R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\42d34645\00884b46_4907c601\DotNetNuke.HttpModules.Personalization.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\03ef2f2c\0038651c_cbf9c501
\SolpartWebControls.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\19782f60\007a243f_4907c601
\DotNetNuke.Caching.BroadcastPollingCachingProvider.SQLDataProvider.DLL" 
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\e712cc80\0004742e_4907c601\DotNetNuke.Provider.SQLProfileProvider.DLL" 
/R:"C:\WINDOWS\assembly\GAC\CrystalDecisions.Shared\9.1.5000.0__692fbea5521e1304\CrystalDecisions.Shared.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\f03a460d\00428822_4907c601\DotNetNuke.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\905c565c\00992e39_4907c601\DotNetNuke.Authentication.ADSIProvider.DLL" 
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a
\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2
\8ed1beed\c38937a3\assembly\dl3\922acc6f\0092c71e_cbf9c501\Microsoft.ApplicationBlocks.Data.DLL" 
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2
\8ed1beed\c38937a3\assembly\dl3\88678ae7\008b0732_4907c601\DotNetNuke.HttpModules.Authentication.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\37c379ae\00e56934_4907c601\DotNetNuke.Provider.SQLMembershipProvider.DLL" 
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\d3fb4e2a\00e2ad48_4907c601
\DotNetNuke.HttpModules.DNNMembership.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\54b030a7\004df33d_4907c601
\DotNetNuke.Caching.FileBasedCachingProvider.DLL" 
/R:"C:\WINDOWS\assembly\GAC\CrystalDecisions.ReportSource\9.1.5000.0__692fbea5521e1304\CrystalDecisions.ReportSource.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\b1de4bef\000fdf49_4907c601
\DotNetNuke.WebUtility.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\e1b10547\002ee943_4907c601
\DotNetNuke.HttpModules.UrlRewrite.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\5e632e70\00c91b26_4907c601
\DotNetNuke.Provider.DBLoggingProvider.DLL" 
/R:"C:\WINDOWS\assembly\GAC\CrystalDecisions.Web\9.1.5000.0__692fbea5521e1304\CrystalDecisions.Web.dll" 
/R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\45ca135d\0031a52f_4907c601\DotNetNuke.SolpartMenuNavigationProvider.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\c9498859\0092c71e_cbf9c501
\SharpZipLib.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\2763f2b1\00d7422d_4907c601
\DotNetNuke.DNNScheduler.SqlDataProvider.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\5b9064bf\0027a2e5_89fac501\FreeTextBox.DLL"
 /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\0de513f8\00d48641_4907c601\DotNetNuke.DNNTreeNavigationProvider.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\88660b1e\0004742e_4907c601\DotNetNuke.Provider.SQLRoleProvider.DLL" 
/R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a
\System.EnterpriseServices.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\45e7d733\00b57c47_4907c601
\DotNetNuke.HttpModules.Exception.DLL" 
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" 
/R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\f629a14a\0020c23c_4907c601\DotNetNuke.SqlDataProvider.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\c63fe0b7\006cfd37_4907c601
\DotNetNuke.Provider.DBLoggingProvider.SqlDataProvider.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\7e5648d3\0004742e_4907c601
\CountryListBox.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\889523bd\003fcc36_4907c601
\DotNetNuke.XMLLoggingProvider.DLL" 
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" 
/R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" 
/R:"C:\WINDOWS\assembly\GAC\CrystalDecisions.CrystalReports.Engine\9.1.5000.0__692fbea5521e1304
\CrystalDecisions.CrystalReports.Engine.dll" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3
\assembly\dl3\b621dc96\007de02a_4907c601\DotNetNuke.Search.DataStore.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\baaba881\009cea24_4907c601
\DotNetNuke.Caching.BroadcastPollingCachingProvider.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\0d54590e\00b83833_4907c601\DotNetNuke.DNNMenuNavigationProvider.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\4a2c3e5d\00f64c27_4907c601\DotNetNuke.Authentication.ADSI.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\948e56d9\000b341b_cbf9c501\DotNetNuke.WebControls.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\b8bf26cc\0001b842_4907c601\DotNetNuke.HttpModules.UsersOnline.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\8a31dea1\00aa112c_4907c601\DotNetNuke.Search.Index.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\1abe9f5a\00f3903b_4907c601\DotNetNuke.Ftb3HtmlEditorProvider.DLL" 
/R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\assembly\dl3\8085bdd9\00e56934_4907c601\DotNetNuke.DNNDropDownNavigationProvider.DLL" /out:
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\App_Code.8l_6wcm1.dll" 
/debug- /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,
System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,
System.Web.SessionState,System.Web.Security,System.
Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.
UI.WebControls.WebParts,System.Web.UI.HtmlControls,System.ComponentModel,System.Data,System.
Data.SqlClient,System.Drawing,Microsoft.VisualBasic,System.
Globalization,DotNetNuke.Services.Localization,DotNetNuke.Entities.Users,DotNetNuke,
DotNetNuke.Common,DotNetNuke.Data,DotNetNuke.Framework,DotNetNuke.Modules,DotNetNuke.Security,DotNetNuke.Services,DotNetNuke.UI,DotNetNuke.Entities.Portals,DotNetNuke.
Common.Utilities,DotNetNuke.Services.Exceptions,DotNetNuke.Entities.Tabs  
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\App_Code.8l_6wcm1.0.vb" "
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\App_Code.8l_6wcm1.1.vb"
 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\App_Code.8l_6wcm1.2.vb" 
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\App_Code.8l_6wcm1.3.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation.  All rights reserved.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnetnuke_2\8ed1beed\c38937a3\App_Code.8l_6wcm1.3.vb(16) : warning BC40031: Name '__ASP' is not CLS-compliant.

Namespace __ASP
          ~~~~~
D:\Visual Studio Projects\DotNetNuke_2\Website\App_Code\Global.asax.vb(130) : error BC30392: 'Catch' cannot catch type 'exception' 
because it is not 'System.Exception' or a class that inherits from 'System.Exception'.

            Catch exc As Exception
                         ~~~~~~~~~
D:\Visual Studio Projects\DotNetNuke_2\Website\App_Code\Global.asax.vb(131) : error BC30518: Overload resolution failed because no accessible 'LogException' can be called with these arguments:
    'Public Sub LogException(exc As System.Exception)': Value of type 'exception' cannot be converted to 'System.Exception'.
    'Public Sub LogException(exc As Services.Exceptions.SchedulerException)': Value of type 'exception' cannot be converted to 'DotNetNuke.Services.Exceptions.SchedulerException'.
    'Public Sub LogException(exc As Services.Exceptions.PageLoadException)': Value of type 'exception' cannot be converted to 'DotNetNuke.Services.Exceptions.PageLoadException'.
    'Public Sub LogException(exc As Services.Exceptions.ModuleLoadException)': Value of type 'exception' cannot be converted to 'DotNetNuke.Services.Exceptions.ModuleLoadException'.

                LogException(exc)
                ~~~~~~~~~~~~~~~~~
D:\Visual Studio Projects\DotNetNuke_2\Website\App_Code\Global.asax.vb(338) : error BC30392: 'Catch' cannot catch type 'exception' because it is not 'System.Exception'
 or a class that inherits from 'System.Exception'.

            Catch exc As Exception
                         ~~~~~~~~~
D:\Visual Studio Projects\DotNetNuke_2\Website\App_Code\Global.asax.vb(339) : error BC30518: Overload resolution failed because no accessible 'LogException' can be called with these arguments:
    'Public Sub LogException(exc As System.Exception)': Value of type 'exception' cannot be converted to 'System.Exception'.
    'Public Sub LogException(exc As Services.Exceptions.SchedulerException)': Value of type 'exception' cannot be converted to 'DotNetNuke.Services.Exceptions.SchedulerException'.
    'Public Sub LogException(exc As Services.Exceptions.PageLoadException)': Value of type 'exception' cannot be converted to 'DotNetNuke.Services.Exceptions.PageLoadException'.
    'Public Sub LogException(exc As Services.Exceptions.ModuleLoadException)': Value of type 'exception' cannot be converted to 'DotNetNuke.Services.Exceptions.ModuleLoadException'. LogException(exc)
           ~~~~~~~~~~~~~~~~~

//Moderator comment -

If posts like this appear again without better formatting, they will be deleted.    PLEASE preview your posts before submitting.
We do not have time to spend 10 minutes on each post to edit them.

Thank you.//

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.02 Installation Compilation Error4.02 Installation Compilation 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