Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Set up error using DotNetNuke
robhare
#1 Posted : Thursday, June 21, 2007 8:29:27 PM(UTC)
Groups: Member
Joined: 6/20/2007(UTC)
Posts: 6

Good day
I get this error message , has anyone had one of these and how did you get around it?
Thanks in advance
Rob

Server Error in '/' 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: BC30451: Name 'Config' is not declared.

Source Error:

[EDIT BY MODERATOTR TO MINIMIZE FALSE SEARCH ENGINE HITS]

Line 66:
Line 67: Dim AutoUpgrade As Boolean
Line 68: If Config.GetSetting("AutoUpgrade") Is Nothing Then
Line 69: AutoUpgrade = True
Line 70: Else


Source File: C:\DNN\Website\App_Code\Global.asax.vb Line: 68



Show Detailed Compiler Output:

[EDIT BY MODERATOTR TO MINIMIZE FALSE SEARCH ENGINE HITS]
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:\DNN\Website\App_Code\Global.asax.vb(68) : error BC30451: Name 'Config' is not declared.

If Config.GetSetting("AutoUpgrade") Is Nothing Then
~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(71) : error BC30451: Name 'Config' is not declared.

AutoUpgrade = Boolean.Parse(Config.GetSetting("AutoUpgrade"))
~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(75) : error BC30451: Name 'Config' is not declared.

If Config.GetSetting("UseInstallWizard") Is Nothing Then
~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(78) : error BC30451: Name 'Config' is not declared.

UseWizard = Boolean.Parse(Config.GetSetting("UseInstallWizard"))
~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(179) : error BC30451: Name 'LogException' is not declared.

LogException(exc)
~~~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(203) : error BC30002: Type 'PortalController' is not defined.

Dim objPortalController As New PortalController
~~~~~~~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(207) : error BC30002: Type 'PortalInfo' is not defined.

Dim objPortalInfo As PortalInfo = CType(arrPortals(i), PortalInfo)
~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(225) : error BC30451: Name 'Scheduling' is not declared.

Scheduling.SchedulingProvider.Instance.Halt("Stopped by Application_End")
~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(263) : error BC30451: Name 'Scheduling' is not declared.

If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.TIMER_METHOD Then
~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(264) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined.

Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(265) : error BC30451: Name 'Scheduling' is not declared.

scheduler.RunEventSchedule(Scheduling.EventName.APPLICATION_START)
~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(266) : error BC30451: Name 'Scheduling' is not declared.

Dim newThread As New Threading.Thread(AddressOf Scheduling.SchedulingProvider.Instance.Start)
~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(294) : error BC30451: Name 'Config' is not declared.

If Config.GetSetting("ServerName") = "" Then
~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(297) : error BC30451: Name 'Config' is not declared.

ServerName = Config.GetSetting("ServerName")
~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(301) : error BC30451: Name 'Config' is not declared.

If Config.GetSetting("InstallationSubfolder") = "" Then
~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(304) : error BC30451: Name 'Config' is not declared.

ApplicationPath = Config.GetSetting("InstallationSubfolder") & "/"
~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(333) : error BC30451: Name 'EventQueue' is not declared.

EventQueue.EventQueueController.ProcessMessages("Application_Start")
~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(380) : error BC30451: Name 'Scheduling' is not declared.

If Services.Scheduling.SchedulingProvider.SchedulerMode = Scheduling.SchedulerMode.REQUEST_METHOD _
~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(383) : error BC30002: Type 'Scheduling.SchedulingProvider' is not defined.

Dim scheduler As Scheduling.SchedulingProvider = Scheduling.SchedulingProvider.Instance
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\DNN\Website\App_Code\Global.asax.vb(394) : error BC30451: Name 'LogException' is not declared.

LogException(exc)
~~~~~~~~~~~~

[EDITED BY MODERATOR TO AVOID FALSE POSITIVE SEARCH ENGINE HITS]



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Ultidev Team
#2 Posted : Friday, June 22, 2007 4:44:53 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Rob,

We assume you ran it under UltiDev Cassini, is that correct? Also, which version of the DNN is it?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
robhare
#3 Posted : Friday, June 22, 2007 7:08:30 AM(UTC)
Groups: Member
Joined: 6/20/2007(UTC)
Posts: 6

Yes I downloaded the latest "DotNetNuke 4.5.3 Source" .
I ran it under UltiDev Cassini.
I think( but not sure)that the problem is in the data base connection string , because I can run some web sites that I built in web developer 2005 express
, but only have a problem when I try to accsess the page with the grid veiw of the data base on it. I get this message.

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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)
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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)

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.

Ultidev Team
#4 Posted : Saturday, June 23, 2007 12:16:47 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Rob,

The thing with DNN in general is that its compatibility with UltiDev Cassini varies a lot from one DNN release to another. Supporting DNN is pretty hard for us because it keeps being a moving target.

We have recently attempted to help another person with DNN 4.5.3 build and it was not successful. We ran into too many issues to continue working through them.

We recommend letting DNN developers know that they may want to test the product with UltiDev Cassini.

This all notwithstanding, could you please provide the value of the SQL connection string from DNN's .config file?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
robhare
#5 Posted : Saturday, June 23, 2007 8:32:06 PM(UTC)
Groups: Member
Joined: 6/20/2007(UTC)
Posts: 6


Hi , this the connection string . Thanks for your patience anyway.
<connectionStrings>
<!-- Connection String for SQL Server 2005 Express -->
<add
name="SiteSqlServer"
connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
providerName="System.Data.SqlClient" />
<!-- Connection String for SQL Server 2000/2005
<add
name="SiteSqlServer"
connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
providerName="System.Data.SqlClient" />
-->
</connectionStrings>
<appSettings>
<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -->
<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>
-->
Ultidev Team
#6 Posted : Sunday, June 24, 2007 9:42:06 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Rob,

Do you have SQL Express 2005 installed? If so, have you changed the SQL instance name during SQL Express installation? The connection string in the <connectionStrings> section assumes you have SQL Express 2005 configured with instance name "\SQLExpress". Please also note that SQL Express should be running on the same box as your DNN application.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (8)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.