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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...GetPermissionsByTabID GetPermissionsByFolderPath doesnGetPermissionsByTabID GetPermissionsByFolderPath doesn't exist
Previous
 
Next
New Post
5/1/2009 3:18 PM
 

We've recently upgraded from DotNetNuke 5.0.0 to 5.0.1. (Windows 2003, SQL 2003) Since then we've discovered a few problems that we can not seem to work around.

When attempting to get into the File Manager:
A critical error has occurred.
The stored procedure 'dbo.dnn_NPC_GetPermissionsByFolderPath' doesn't exist.
Can’t add a new page or get into page settings:

When attempting to Add a 'New Page':
A critical error has occurred.
The stored procedure 'dbo.dnn_NPC_GetPermissionsByTabID' doesn't exist.

 
Both of these 'database tables' aren't in the SQL server (in both current and back up copies of our database).

The only info I can dig up is http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=9149&PROJID=2

Can anyone explain/assit with working through this issue?
 

 
New Post
5/1/2009 3:38 PM
 

How did you upgrade? What package did you use?

What's the ObjectQualifier setting in your web.config file? What was it before the upgrade?


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
5/4/2009 12:44 PM
 

I upgraded using DotNetNuke_Community_05.00.01_Upgrade.zip.
http://www.co.nezperce.id.us/Install/InstallWizard.aspx

DNN 5.0.0 (Before Upgrade):
        <add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionStringName="SiteSqlServer" upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="dnn_NPC_" databaseOwner="dbo" />

DNN 5.0.1 (After):
        <add name="SqlDataProvider" type="DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider" connectionStringName="SiteSqlServer" upgradeConnectionString="" providerPath="~\Providers\DataProviders\SqlDataProvider\" objectQualifier="dnn_NPC_" databaseOwner="dbo" />

I even exported all my tables into CSV and did a 'find' from both 5.0.0 and 5.0.1 neither has the GetPermissionsByXYZ databases.

 
New Post
5/4/2009 1:03 PM
 

GetPermissionsByTabID and GetPermissionsByFolderPath are names of stored procedures, which seem to be missing. check out the database and if they haven't been created, there shall be scripts to create it inside one of the sql scripts inside /providers/DataProviders/sqldataprovider folder.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/4/2009 2:16 PM
 

05.00.01.SqlDataProvider:
 -I 'Find and Replaced' databaseOwner & objectQualifier with dbo & dnn_NPC_

 I copied and pasted the script into a Mangment Studio Query - and received the following errors:
Msg 102, Level 15, State 1, Line 11
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 13
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 4
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 5
Incorrect syntax near 'PackageID'.
Msg 102, Level 15, State 1, Line 7
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near '{'.
Msg 137, Level 15, State 2, Line 13
Must declare the scalar variable "@ViewOrder".
...
...
...
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near 'URL'.


 Here is an example of the first few lines of the script:
IF (SELECT COUNT(*) FROM {dbo}{dnn_NPC_}PackageTypes WHERE [PackageType] = N'DashboardControl') = 0
    BEGIN
        INSERT INTO {dbo}{dnn_NPC_}PackageTypes
            ([PackageType], [Description], [SecurityAccessLevel])
            VALUES(N'DashboardControl', N'Dashboard Control', 3)
    END


---
DotNetNuke.Schema.SqlDataProvider:

I copied and pasted the script into a Mangment Studio Query - and received the following errors:
...
...
...
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near '{'.
Msg 102, Level 15, State 1, Line 34
Incorrect syntax near '}'.
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near '{'.
The query has exceeded the maximum number of error messages. Only  the first 1000 messages will be displayed.



Example of the script:
GO
ALTER TABLE {dbo}[{dnn_NPC_}Lists]
    ADD
    CONSTRAINT [PK_{dnn_NPC_}Lists]
    PRIMARY KEY
    ([ListName], [Value], [Text], [ParentID])
GO

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...GetPermissionsByTabID GetPermissionsByFolderPath doesnGetPermissionsByTabID GetPermissionsByFolderPath doesn't exist


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