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 ...Failure Installing database scriptsFailure Installing database scripts
Previous
 
Next
New Post
9/14/2009 11:29 AM
 

i am unable to get past the database install of 5.1.2  -  the install gets as far as populating the tables and veiws and stored proceedures before i get the message:

Installing Database - Version 05.00.00...FAILURE ERROR: See C:\DotNetNuke\Providers\DataProviders\SqlDataProvider\05.00.00.log for more information
 

if i check the "run as owner" box in the Custom intall i get the endless undetermined - success

i have run it both ways - deleted and recreated the database - deleted and uninstalled the install package.

when i "test the database connection" in the custom or typical install it passes.

the log means nothing to me - if i include it would someone find it helpful?

thanks

 

 

 
New Post
9/26/2009 7:37 PM
 

Same here. I'm getting the same error message when trying to install DotNetNuke 5.1.2 on Vista with SQL Server 2008 Express Edition.

I cannot find the log file mentioned, but I have the following error in all the other log files in the same directory:

System.Data.SqlClient.SqlException: Must declare the scalar variable "@IsScalarFunction".
Incorrect syntax near the keyword 'else'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
 

Anybody has ideas to resolve this?

Thanks

 
New Post
9/26/2009 9:07 PM
 

Check all files/folders have the right permissions and make sure you've extracted the whole package.

Of course the log will be helpful :).



Alex Shirley


 
New Post
10/5/2009 4:28 PM
 

I've tried to reinstall dotnetnuke multiple times using the installation guide. I've also checked the file/folder permissions.

Everytime, I get the same error. Installing Database - Version 05.00.00...FAILURE ERROR: See C:\DotNetNuke\Providers\DataProviders\SqlDataProvider\05.00.00.log for more information
 

Here is what is contained in all log files within the C:\DotNetNuke\Providers\DataProviders\SqlDataProvider\ folder:

System.Data.SqlClient.SqlException: Must declare the scalar variable "@IsScalarFunction".
Incorrect syntax near the keyword 'else'.
   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 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText)
   at DotNetNuke.Data.SqlDataProvider.GrantUserDefinedFunctionsPermission(String ScalarPermission, String TablePermission, String LoginOrRole)

if exists (select * from dbo.sysusers where name='public')  begin    declare @exec nvarchar(2000)     declare @name varchar(150)     declare @isscalarfunction int     declare @istablefunction int     declare sp_cursor cursor for select o.name as name, OBJECTPROPERTY(o.id, N'IsScalarFunction') as IsScalarFunction     from dbo.sysobjects o     where ( OBJECTPROPERTY(o.id, N'IsScalarFunction') = 1 OR OBJECTPROPERTY(o.id, N'IsTableFunction') = 1 )       and OBJECTPROPERTY(o.id, N'IsMSShipped') = 0       and o.name not like N'#%%'       and (left(o.name,len('udd_')) = 'udd_' or left(o.name,7) = 'aspnet_')     open sp_cursor     fetch sp_cursor into @name, @isscalarfunction     while @@fetch_status >= 0       begin         if @IsScalarFunction = 1           begin            select @exec = 'grant EXECUTE on ' +  @name  + ' to [public]'            execute (@exec)            fetch sp_cursor into @name, @isscalarfunction            end         else           begin            select @exec = 'grant SELECT on ' +  @name  + ' to [public]'            execute (@exec)            fetch sp_cursor into @name, @isscalarfunction            end       end     deallocate sp_cursor  end

 
New Post
10/6/2009 6:20 PM
 

After days of work., I've found the cause of the issue. Thanks to the author of http://www.mikroproje.com/Blog/tabid/144/articleType/ArticleView/articleId/36/PageID/43/DotNetNuke-Kurulum-Rehberi.aspx

When the Collation is Turkish, DotNetNuke does not install.

I've reinstalled SQL Server Express w/ Latin_General_CI_AS as the collation type, created a database w/ Latin_General_CI_AS.

Then the installation was completed without problems.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Failure Installing database scriptsFailure Installing database scripts


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