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 ...I am stuck with DNN installation, DB problems with DNN ver. 4.8.2I am stuck with DNN installation, DB problems with DNN ver. 4.8.2
Previous
 
Next
New Post
5/22/2008 7:13 AM
 

Hi all,
I am using
DNN 4.8.2
MS-SQL server 2005
Windows 2003

Previously, when I was trying to install DNN using typical installation mode, I got the following message after passing the DB test:

Installing Database - Version 4.4.0...Upgrading Database to Version ERROR: See c:\inetpub\wwwroot\Providers\DataProviders\SqlDataProvider\04.04.00.log for more information...FAILURE 400 - Conversion from string "ERROR: See c:inetpubwwwrootProvi" to type 'Integer' is not valid."

I found a lot of people who suffering from this problem in DNN forum and others , but no solution , there are some posts suggest to change collation to CI , but this also didn't work, till I found a post , http://code.ericpiraux.be/2007/09/dotnetnuke-install-for-dummies.html recommends to using automode after setting AutoUpgrade attribute in web.config to false , but when  I tried this option I got the below:
Note: in all cases DB tables have been created in DB, so I don't think it is database problem.
I do appreciate any help.
Regards
Suhaib

Installing DotNetNuke

Version: 04.08.02

 

Installation Status Report

00:00:00.015 - Installing Version: 4.4.0
00:00:00.015 -   Executing Script: DotNetNuke.SetUp.SqlDataProvider Success
00:00:00.078 -   Executing Script: DotNetNuke.Schema.SqlDataProvider Error! (see DotNetNuke.Schema.log for more information)
00:00:19.916 -   Executing Script: DotNetNuke.Data.SqlDataProvider Success
00:00:25.332 - Installing MemberRole Provider:
00:00:25.332 -   Executing Script: InstallCommon
00:00:26.316 -   Executing Script: InstallMembership
00:00:27.221 -   Executing Script: InstallProfile
00:00:27.596 -   Executing Script: InstallRoles
00:00:29.000 - Upgrading to Version: 4.8.2
00:00:29.157 -   Executing Script: 04.04.01.SqlDataProvider Error! (see 04.04.01.log for more information)
00:00:29.422 -   Executing Script: 04.05.00.SqlDataProvider Error! (see 04.05.00.log for more information)
00:00:31.997 -   Executing Script: 04.05.01.SqlDataProvider Success
00:00:32.263 -   Executing Script: 04.05.02.SqlDataProvider Success
00:00:33.667 -   Executing Script: 04.05.03.SqlDataProvider Success
00:00:33.777 -   Executing Script: 04.05.04.SqlDataProvider Success
00:00:33.870 -   Executing Script: 04.05.05.SqlDataProvider Success
00:00:33.902 -   Executing Script: 04.06.00.SqlDataProvider Error! (see 04.06.00.log for more information)
00:00:35.775 -   Executing Script: 04.06.01.SqlDataProvider Success
00:00:35.806 -   Executing Script: 04.06.02.SqlDataProvider Success
00:00:35.853 -   Executing Script: 04.07.00.SqlDataProvider Error! (see 04.07.00.log for more information)
00:00:37.148 -   Executing Script: 04.08.00.SqlDataProvider Success
00:00:37.304 -   Executing Script: 04.08.01.SqlDataProvider Success
00:00:37.429 -   Executing Script: 04.08.02.SqlDataProvider Success
00:00:37.445 - Performing General Upgrades
00:00:37.897 - Loading Host Settings:
00:00:38.334 - Configuring SuperUser:
00:00:38.678 - Synchronizing Host Files:
00:00:38.928 - Installing Modules:
00:00:38.928 - Executing Additional Scripts:
00:00:38.928 -   Creating Portal: My Website
00:00:39.068 -   Error: Error creating Profile Definitions
00:00:39.068 -   Portal failed to install:Error!
00:00:39.068 - Installing Optional Resources:

Installation Complete

 

Click Here To Access Your Portal

 

 

 

 
New Post
5/22/2008 9:08 AM
 

I was recently involved with an upgrade-from-hell, where I recieved very similar problems.

Can you clarify if this is a new install or upgrade...it actually appears to be a new install.

I'de be very curious to see the DotNetNuke.Schema.log

I always have issues with non "Auto" mode, however I believe it has something to do with how I prep the web.config first.  Never really bothered me enough to make the wizard work, as most of these DNN installs are to test or demo my modules, or custom modules for clients.

Thinking on it more, I still believe DotNetNuke.Schema.log is a good place to start.  Second would be to try a fresh set of the install files, different IIS-Server, different SQL server...narrow down where the issue is coming from.

 

 
New Post
5/24/2008 12:14 PM
 

it is new installation , i tried  to install DNN in deferent II-Server, but i stii got the same error, here is the DotNetNuke.Schema.log

 

System.Data.SqlClient.SqlException: Must declare the scalar variable "@ModuleDefID".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


CREATE  PROCEDURE dbo.GetModuleControlByKeyAndSrc

@ModuleDefId int,
@ControlKey nvarchar(50),
@ControlSrc nvarchar(256)

as
SELECT     ModuleControlID,
        ModuleDefID,
           ControlKey,
           ControlTitle,
           ControlSrc,
           IconFile,
           ControlType,
           ViewOrder
from       dbo.ModuleControls
where ((ModuleDefId is null and @ModuleDefId is null) or (ModuleDefID = @ModuleDefID))
and ((ControlKey is null and @ControlKey is null) or (ControlKey = @ControlKey))
and ((ControlSrc is null and @ControlSrc is null) or (ControlSrc = @ControlSrc))

 

System.Data.SqlClient.SqlException: Must declare the scalar variable "@ModuleDefId".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


CREATE  procedure dbo.UpdateModuleControl

@ModuleControlId               int,
@ModuleDefID                   int,
@ControlKey                    nvarchar(50),
@ControlTitle                  nvarchar(50),
@ControlSrc                    nvarchar(256),
@IconFile                      nvarchar(100),
@ControlType                   int,
@ViewOrder                     int,
@HelpUrl                       nvarchar(200)

as

update dbo.ModuleControls
set    ModuleDefId       = @ModuleDefId,
       ControlKey        = @ControlKey,
       ControlTitle      = @ControlTitle,
       ControlSrc        = @ControlSrc,
       IconFile          = @IconFile,
       ControlType       = @ControlType,
       ViewOrder         = ViewOrder,
       HelpUrl           = @HelpUrl
where  ModuleControlId = @ModuleControlId

 

System.Data.SqlClient.SqlException: Must declare the scalar variable "@FileId".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


CREATE PROCEDURE dbo.AddFile

 @PortalID    int,
 @FileName    nvarchar(100),
 @Extension   nvarchar(100),
 @Size        int,
 @Width       int,
 @Height      int,
 @ContentType nvarchar(200),
 @Folder      nvarchar(200),
 @FolderID    int
AS

DECLARE @FileID int

SELECT @FileId = FileID FROM dbo.Files WHERE FolderID = @FolderID AND FileName = @FileName

IF @FileID IS Null
    BEGIN
      INSERT INTO dbo.Files (
        PortalId,
        FileName,
        Extension,
        Size,
        Width,
        Height,
        ContentType,
        Folder,
        FolderID
      )
      VALUES (
        @PortalID,
        @FileName,
        @Extension,
        @Size,
        @Width,
        @Height,
        @ContentType,
        @Folder,
        @FolderID
      )

      SELECT @FileID = SCOPE_IDENTITY()
    END
ELSE
    BEGIN
      UPDATE dbo.Files
      SET    FileName = @FileName,
             Extension = @Extension,
             Size = @Size,
             Width = @Width,
             Height = @Height,
             ContentType = @ContentType,
             Folder = @Folder,
             FolderID = @FolderID
      WHERE  FileId = @FileID
    END

SELECT @FileID

 

System.Data.SqlClient.SqlException: Must declare the scalar variable "@ModuleID".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


create procedure dbo.GetSearchItem
 @ModuleId int,
 @SearchKey varchar(100)
AS

select
 [SearchItemID],
 [Title],
 [Description],
 [Author],
 [PubDate],
 [ModuleId],
 [SearchKey],
 [Guid],
 [HitCount],
 ImageFileId
from
 dbo.SearchItem
where
 [ModuleID] = @ModuleID AND
 [SearchKey] = @SearchKey

 

 

System.Data.SqlClient.SqlException: Must declare the scalar variable "@Fields".
Must declare the scalar variable "@Fields".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


CREATE FUNCTION dbo.[GetProfileElement]
(
 @fieldName AS NVARCHAR(100),
 @fields AS NVARCHAR(4000),
 @values AS NVARCHAR(4000)
)

RETURNS NVARCHAR(4000)

AS

BEGIN

 -- If input is invalid, return null.
 IF  @fieldName IS NULL
  OR LEN(@fieldName) = 0
  OR @fields IS NULL
  OR LEN(@fields) = 0
  OR @values IS NULL
  OR LEN(@values) = 0
  RETURN NULL

 -- locate FieldName in Fields
 DECLARE @fieldNameToken AS NVARCHAR(20)
 DECLARE @fieldNameStart AS INTEGER, @valueStart AS INTEGER, @valueLength AS INTEGER

 -- Only handle string type fields (:S:)
 SET @fieldNameStart = CHARINDEX(@fieldName + ':S',@Fields,0)

 -- If field is not found, return null
 IF @fieldNameStart = 0 RETURN NULL
 SET @fieldNameStart = @fieldNameStart + LEN(@fieldName) + 3

 -- Get the field token which I've defined as the start of the field offset to the end of the length
 SET @fieldNameToken =
 SUBSTRING(@Fields,@fieldNameStart,LEN(@Fields)-@fieldNameStart)

 -- Get the values for the offset and length
 SET @valueStart = dbo.getelement(1,@fieldNameToken,':')
 SET @valueLength = dbo.getelement(2,@fieldNameToken,':')

 -- Check for sane values, 0 length means the profile item was stored, just no data
 IF @valueLength = 0 RETURN ''

 -- Return the string
 RETURN SUBSTRING(@values, @valueStart+1, @valueLength)
END

System.Data.SqlClient.SqlException: Must declare the scalar variable "@UserName".
Must declare the scalar variable "@RoleName".
Must declare the scalar variable "@RoleName".
Incorrect syntax near the keyword 'ELSE'.
Must declare the scalar variable "@RoleName".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


CREATE PROCEDURE dbo.GetUserRolesByUsername

@PortalID int,
@Username nvarchar(100),
@Rolename nvarchar(50)

AS

IF @UserName Is Null
 BEGIN
  SELECT R.*,       
    U.DisplayName As FullName,
    UR.UserRoleID,
    UR.UserID,
    UR.EffectiveDate,
    UR.ExpiryDate,
    UR.IsTrialUsed
   FROM dbo.UserRoles UR
    INNER JOIN dbo.Users U ON UR.UserID = U.UserID
    INNER JOIN dbo.Roles R ON R.RoleID = UR.RoleID
   WHERE  R.PortalId = @PortalID
    AND    (R.Rolename = @Rolename or @RoleName is NULL)
 END
ELSE
 BEGIN
  IF @RoleName Is NULL
   BEGIN
    SELECT R.*,       
      U.DisplayName As FullName,
      UR.UserRoleID,
      UR.UserID,
      UR.EffectiveDate,
      UR.ExpiryDate,
      UR.IsTrialUsed
     FROM dbo.UserRoles UR
      INNER JOIN dbo.Users U ON UR.UserID = U.UserID
      INNER JOIN dbo.Roles R ON R.RoleID = UR.RoleID
     WHERE  R.PortalId = @PortalID
      AND    (U.Username = @Username or @Username is NULL)
   END
  ELSE
   BEGIN
    SELECT R.*,       
      U.DisplayName As FullName,
      UR.UserRoleID,
      UR.UserID,
      UR.EffectiveDate,
      UR.ExpiryDate,
      UR.IsTrialUsed
     FROM dbo.UserRoles UR
      INNER JOIN dbo.Users U ON UR.UserID = U.UserID
      INNER JOIN dbo.Roles R ON R.RoleID = UR.RoleID
     WHERE  R.PortalId = @PortalID
      AND    (R.Rolename = @Rolename or @RoleName is NULL)
      AND    (U.Username = @Username or @Username is NULL)
   END
 END

System.Data.SqlClient.SqlException: Must declare the scalar variable "@UrlTrackingID".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


create procedure dbo.GetUrlLog

@URLTrackingID int,
@StartDate     datetime,
@EndDate       datetime

as

select dbo.UrlLog.*,
       'FullName' = dbo.Users.FirstName + ' ' + dbo.Users.LastName
from   dbo.UrlLog
inner join dbo.UrlTracking on dbo.UrlLog.UrlTrackingId = dbo.UrlTracking.UrlTrackingId
left outer join dbo.Users on dbo.UrlLog.UserId = dbo.Users.UserId
where  dbo.UrlLog.UrlTrackingID = @UrlTrackingID
and    ((ClickDate >= @StartDate) or @StartDate is null)
and    ((ClickDate <= @EndDate) or @EndDate is null)
order by ClickDate

 

 

System.Data.SqlClient.SqlException: Must declare the scalar variable "@EntryID".
Must declare the scalar variable "@EntryID".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


CREATE procedure dbo.DeleteListEntryByID

@EntryId   int,
@DeleteChild bit

as

Delete
From dbo.Lists
Where  [EntryID] = @EntryID

If @DeleteChild = 1
Begin
 Delete
 From dbo.Lists
 Where [ParentID] = @EntryID
End

 

 


System.Data.SqlClient.SqlException: Must declare the scalar variable "@ModuleId".
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)


create procedure dbo.DeleteUrlTracking

@PortalID     int,
@Url          nvarchar(255),
@ModuleID     int

as

delete
from   dbo.UrlTracking
where  PortalID = @PortalID
and    Url = @Url
and    ((ModuleId = @ModuleId) or (ModuleId is null and @ModuleId is null))

 

System.Data.SqlClient.SqlException: Cannot find the object 'GetProfileElement', because it does not exist or you do not have permission.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)

GRANT EXECUTE ON  dbo.[GetProfileElement] TO [public]

 

 

 

 
New Post
5/24/2008 5:53 PM
 

Hi All,

I also have the same issue. 

As a newbie to DotNetNuke (but not new to sql and .Net development) and having spent a considerable amount of time trying to install the system, I am to say at the least quite disappointed.  I would consider the issues everyone is having as a fairly serious defect.

The issue arises due the the default collation sequence that the SQL server was installed with being case sensitive.  I have SQL2000 development server installed on an XP workstation with a default collation of  Latin1_General_CS_AS, DNN requires a case insensitve collation, such as Latin1_General_CI_AS as there are case mismatches between the sql in the stored procedures and .NET code.  Creating a database with the correct collation will not resolve this issue as the query optimizer compiler uses the default collation and not the database collation when compiling the code into an execution plan.  This would not be an issue if the case of the parameters matches between client code and the server code.

Further to my installation woes the install wizard was failing before any log data was written, so no log data for investigation.  I was only able to identify this issue by turning off the AutoUpgrade and the InstallWizard and running the install manually.

The solution is to uininstall your sql server and re-install it with the required case insensitve collation that DNN requires.  I feel that this is a drastic step.

Let me say that my first experience with DNN has not been a happy one, however I will persevere and hope that the code will be fixed.

As a futher comment I suggest to all developers that a development instance of SQL should have a default collation that is case sensitve so that unit testing will reveal issues before release, even if your database is case insensitve, as you have no control over the clients configuration of SQL server.

 

 
New Post
7/28/2008 5:52 PM
 

I was very excited to learn of DNN, and eagerly installed it only to hit this same brick wall. 

I think it's pretty terrible to force an entire back-end system to be case-insensitive just to appease a 3rd party product that was written a bit sloppily.  In many places that would be a show stopper, as case-insenstivity would break many systems.

I hope the DNN crew take the time to fix their scripts and db-objects to all agree so that case-insensitvity is no longer a requirement, at least not at the instance level.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...I am stuck with DNN installation, DB problems with DNN ver. 4.8.2I am stuck with DNN installation, DB problems with DNN ver. 4.8.2


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