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 ...Unable to restore from backup!Unable to restore from backup!
Previous
 
Next
New Post
6/19/2006 6:59 AM
 
I have recently had to restore my DNN installation from a backup after a bundled attempt by 1and1 to upgrade there servers to ASP.NET 2. They have now downgraded me back to 1.1 but this did ireversible damage to my DNN install. So I am left with no option than to restore from a backup.

I have a backup of the entire SQL database and the whole DNN folder. When I restore both the folder and the database I get the following error:

Server Error in '/DNN' Application.
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +742
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +195
Microsoft.ScalableHosting.Security.SecUtility.CheckSchemaVersion(ProviderBase provider, SqlConnection connection, String[] features, String version, Int32& schemaVersionCheck) +363
Microsoft.ScalableHosting.Profile.SqlProfileProvider.CheckSchemaVersion(SqlConnection connection) +62
Microsoft.ScalableHosting.Profile.SqlProfileProvider.GetPropertyValuesFromDatabase(String userName, SettingsPropertyValueCollection svc) +703
Microsoft.ScalableHosting.Profile.SqlProfileProvider.GetPropertyValues(SettingsContext sc, SettingsPropertyCollection properties) +410
Microsoft.ScalableHosting.Profile.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) +264
Microsoft.ScalableHosting.Profile.SettingsBase.GetPropertyValueByName(String propertyName) +101
Microsoft.ScalableHosting.Profile.SettingsBase.get_Item(String propertyName) +102
Microsoft.ScalableHosting.Profile.ProfileBase.get_Item(String propertyName) +5
Microsoft.ScalableHosting.Profile.ProfileBase.get_Item(String propertyName) +0
DotNetNuke.Entities.Users.UserController.FillUserProfile(UserInfo objUserInfo) +317
DotNetNuke.Entities.Users.UserInfo.get_Profile() +50
DotNetNuke.Entities.Users.UserInfo.get_FirstName() +32
DotNetNuke.Entities.Users.UserController.FillUserInfo(IDataReader dr, Int32 PortalId) +804
DotNetNuke.Entities.Users.UserController.GetUser(Int32 PortalId, Int32 UserId) +94
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +760
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +92
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3757
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

I know that it is looking in the wrong place for the procedure as it should be looking at dboxxxxxxx and not dbo. However I have no idea why it is looking in the wrong place and how to fix it.

Please help me!! I am desperate as my whole site is down.
 
New Post
3/6/2007 6:41 AM
 
First check that your original site also had  objectQualifier="dnn_" databaseOwner="dbo" (web.config)
If this is the case, this seems to be a "pure"  database issue.  Check on the database that the login user  (connection string on the web.config) has proper rights. Sometimes you can need to resync the user executing something like "sp_change_users_login 'Update_One', 'login_name', 'login_name'"

This may also help to find the problem. Form e.g. query analyzer, execute:
SELECT * FROM information_schema.routines

HTH
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unable to restore from backup!Unable to restore from backup!


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