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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module packaging - SqlDataProvider issuesModule packaging - SqlDataProvider issues
Previous
 
Next
New Post
6/19/2007 4:23 AM
 

I'm trying to package up a module but am experiencing problems getting one part of the SqlDataProvider script to work. Whenever I try to add a CREATE VIEW command, the script fails during module installation when I try to test it. Remove the CREATE VIEW and it works fine. However, the CREATE VIEW is required for proper operation of the module (tried removing the GO after the CREATE PROCEDURE statement). Any ideas?

 

CREATE PROCEDURE [dbo].[PRP_UpdateRegion]

(

@EntryID int,

@RegionCode nvarchar(100),

@RegionName nvarchar(150),

@ParentID int

)

AS

UPDATE PRP_Lists SET Value = @RegionCode, [Text] = @RegionName, ParentID = @ParentID

WHERE EntryID = @EntryID

RETURN

 GO

 

CREATE VIEW [dbo].[PRP_Property_Query]

SELECT dbo.PRP_Properties.PropertyID, dbo.PRP_Properties.Name, dbo.PRP_Properties.Address, dbo.PRP_Properties.Address2, dbo.PRP_Properties.Town,

dbo.PRP_Properties.Country, dbo.PRP_Properties.Region, dbo.PRP_Properties.Postcode, dbo.PRP_Properties.Telephone, dbo.PRP_Properties.Fax,

dbo.PRP_Properties.Email, dbo.PRP_Properties.Website, dbo.PRP_Properties.ContactName, dbo.PRP_Properties.PropertyType,

dbo.PRP_Properties.EntryTypeID, dbo.PRP_Properties.IsNewDevelopment, dbo.PRP_Properties.MinBedrooms, dbo.PRP_Properties.MaxBedrooms,

dbo.PRP_Properties.MinReceptionRooms, dbo.PRP_Properties.MaxReceptionRooms, dbo.PRP_Properties.MinBathrooms,

dbo.PRP_Properties.MaxBathrooms, dbo.PRP_Properties.GardenID, dbo.PRP_Properties.ParkingID, dbo.PRP_Properties.StatusID,

dbo.PRP_Properties.Summary, dbo.PRP_Properties.FullDescription, dbo.PRP_Properties.GradingID, dbo.PRP_Properties.MinSleeps,

dbo.PRP_Properties.MaxSleeps, dbo.PRP_Properties.IsMultiple, dbo.PRP_Properties.AgentID, dbo.PRP_Properties.MinPrice,

dbo.PRP_Properties.MaxPrice, dbo.PRP_Properties.Currency, dbo.PRP_Properties.PortalID, dbo.PRP_Properties.ExpiryDate,

dbo.PRP_Agents.Name AS AgentName, dbo.Lists.Text AS PropertyTypeName, dbo.PRP_Properties.Features, dbo.PRP_Properties.RentalPeriod,

dbo.PRP_Properties.DateAdded

FROM dbo.PRP_Properties LEFT OUTER JOIN

dbo.Lists ON dbo.PRP_Properties.PropertyType = dbo.Lists.EntryID LEFT OUTER JOIN

dbo.PRP_Agents ON dbo.PRP_Properties.AgentID = dbo.PRP_Agents.AgentID

 
New Post
6/21/2007 5:41 AM
 

what is the error you are receiving?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module packaging - SqlDataProvider issuesModule packaging - SqlDataProvider issues


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