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 ...Case Sensitive DataBase InstallationCase Sensitive DataBase Installation
Previous
 
Next
New Post
10/20/2009 10:39 AM
 

Hi Guys

Whilst the installation Wizard is running i get the following error:

"Must declare the variable @IsScalarFunction"

The Log shows me the following code

if exists (select * from dbo.sysusers where name='DPApps')  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('default_')) = 'default_' 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 [DPApps]'            execute (@exec)            fetch sp_cursor into @name, @isscalarfunction            end         else           begin            select @exec = 'grant SELECT on ' +  @name  + ' to [DPApps]'            execute (@exec)            fetch sp_cursor into @name, @isscalarfunction            end       end     deallocate sp_cursor  end

What i expect the problem to be is the declaration of @isscalarfunction and the use of @IsScalarFunction in the script it is attemping to execute. Can someone point me to the base script so that i can make the correction myself or can someone tell me how to by pass the problem.

 

Kind Regards

Ettienne

 
New Post
10/22/2009 5:02 AM
 

please note, that DNN requires a case  insensitive collation to be used!  


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Case Sensitive DataBase InstallationCase Sensitive DataBase Installation


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