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 ...The stored procedure The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.
Previous
 
Next
New Post
11/1/2009 5:05 PM
 

It sounds as if the stored procs didn't get transferred to the new server, even though the data tables and data did.  You can script out all the stored proc objects, along with user-defined functions, and then run that script against the new db server to restore those sprocs. 

Since the provider skipped out and you can't get to the old db server, then I would recommend getting a copy of the .sql script thta DNN uses during installation, and editing out the CREATE TABLE and CREATE INDEX statements (and any other statements that don't make sense in this scenario), so that it can be pared down to a script that just creates your sprocs, user-defined functions, etc.  Then, run that script against your new db server.

Steve

 
New Post
11/1/2009 7:03 PM
 

karbonphyber, I can connect to the database using a standalone SQL Query program. As far as I know the database is complete. It did not display any errors when I imported it. No I was not installing DNN, simply importing the database from the old server. How do i check to see if the stored procedures are there?

Steve, Your post makes sense to recreat the stored procedures but can you (or someone) elaberat more on how to do this. I am far from being very profecent in SQL and dont even really understand what a stored procedure is much less how to get the DNN thingy to recreate it....

 

Thank you both!

 
New Post
11/2/2009 5:20 PM
 

You can chack all procedures in the database using the MS SQL Management Studio.  This needs a local install of it on the remote server wehre your SQL Server is installed, or the open port to cennect to the SQL Server.

Also make sure you have the correct maschinekey, setting up both connection strings in the web.config file, and you have set the right databaseOwner in it.

 
New Post
11/2/2009 11:50 PM
 

That's great then, that you can connect to the database using a standalone system.

Do the details match the details in the Connection String in <connectionstrings> and <appSettings>  for SiteSqlServer?

Which SQL Query program are you using? Microsoft SQL Management Studio?

 
New Post
11/3/2009 8:54 AM
 

Here is my connection string. I know the IP, Username & Password is correct. As far as I know it is in the correct format for connectiong to SQL 2005.

<connectionStrings>
     <add name="SiteSqlServer" connectionString="Data Source=97.74.205.***;Initial Catalog=pgt_main;User Id=pgt;Password=****;" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <appSettings>
     <add key="SiteSqlServer" value="Data Source=97.74.205.***;Initial Catalog=pgt_main;User Id=pgt;Password=****;" />
     

When browsing through the Database on SQL Server Management Studio, under Database>Programability>Stored Procedures I have

A Folder of "System Stored Procedures"

dbo.FindDatabaseVersion

dbo.GetDatabaseVersion

dbo.GetDatabaseVersion

 

So I guess I am missing some stored procedures..... now what?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...The stored procedure The stored procedure 'dbo.GetPortalAliasByPortalID' 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