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.0object qualifier issueobject qualifier issue
Previous
 
Next
New Post
5/22/2012 8:10 AM
 

hello to all dnn experts

i have one prob :(

i have developed a module with dnn standard also have created sql procedure with

 standard like (CREATE PROCEDURE {databaseOwner}{objectQualifier}DeletePortalInfo   )

my problem is when i give reference of procedure in my sql data provider.cs file id does not take default dbo and qualifier

i want a module which should work on any instance means with and without object qualifier, i can do in sql but how can i do in code(sql data provider).

for ref : in sql data provider ,

i am doing like

private const string ProviderType = "data";
        private const string ModuleQualifier = "ABC_";

but here qualifier is getting hard code i want it should take the qualifier which we give while installing  the new instance .

Please help :( m stuck

 
New Post
5/23/2012 5:57 AM
 
check out module template in DNN Starter Kit or from here: http://christoctemplate.codeplex.com/

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/29/2012 9:02 AM
 

thanks ,

one more query while creating the procedure i am getting problem m using database object qualifier and oq

eg:
     DECLARE @DynamicQuery nvarchar(4000)      
    SET @DynamicQuery='select * from '+{databaseOwner}[{objectQualifier}oq_test_ViewCreation]+' Where  Porta.......


please tell me how can i contact the table name  procedure name to the varchar variable 

its giving me below error

error:

Invalid column name 'oq_ATI_ViewCreation'.



plz help



 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0object qualifier issueobject qualifier issue


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