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 ...SQL provider installation problemsSQL provider installation problems
Previous
 
Next
New Post
5/30/2006 9:33 AM
 

I'm a newbie to DotNetNuke and recently finished doing my first module. During development, the module worked like a charm so last night I created the installation package and attempted to deploy it another instance of Nuke to see if the installation worked. The installation of the presentation layer and BLL went without a hitch, however the SQL installation went bad.

What I have below is a segment of the sqlprovider file, the segment that is causing the problems:

...


CREATE PROCEDURE {databaseOwner}{objectQualifier}ListCompanyDirectory
 @FindThis VARCHAR(50)
AS

SELECT
 [Index],
 [Location1],
 [Location2],
 [Ext],
 [FullName]
FROM
 {objectQualifier}CompanyDirectory
WHERE
 (Ext like '%' + @FindThis + '%') or (FullName like '%' + @FindThis + '%') or
  (Location1 like '%' + @FindThis + '%')  or (Location2 like '%' + @FindThis + '%')
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

...

The error output for the stored procedure is the following:

CREATE PROCEDURE dbo.ListCompanyDirectory
 @FindThis VARCHAR(50)
AS

SELECT
 [Index],
 [Location1],
 [Location2],
 [Ext],
 [FullName]
FROM 
 dbo.CompanyDirectory
WHERE
 (Ext like '%' @FindThis '%') or (FullName like '%' @FindThis '%') or
  (Location1 like '%' @FindThis '%')  or (Location2 like '%' @FindThis '%')

Please note that the "+" sign simply disappears. I have no idea why this is happening and would appreciate any help you guys can offer.

Thanks

 
New Post
5/30/2006 9:40 AM
 

it's an encoding issue (ANSI has problems with +/-). Open the file with your sproc details in notepad and go to file->save as, and change the encoding to unicode

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SQL provider installation problemsSQL provider installation problems


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