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 ...04.04.01 to 04.08.00 upgrade error: stored procedure04.04.01 to 04.08.00 upgrade error: stored procedure
Previous
 
Next
New Post
1/7/2008 5:53 PM
 

Hi...

I've upgraded before with minimal problems. This time when upgrading I receive the following error when navigating to the install page:

Upgrading DotNetNuke

Current Assembly Version: 04.08.00

Current Database Version: 04.04.01

Upgrade Status Report

00:00:00.031 - Upgrading to Version: 4.8.0
00:00:00.046 - Performing General Upgrades
00:00:00.250 - Installing Package File LiveID_01.00.00_Install:

Server Error in '/' Application.


The stored procedure 'dbo.GetPackageType' doesn't exist.

Stack Trace:

[InvalidOperationException: The stored procedure 'dbo.GetPackageType' doesn't exist.]
   System.Data.SqlClient.SqlCommand.DeriveParameters() +883612
   System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) +88
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) +212
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) +303
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +154
   Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) +36
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +200
   DotNetNuke.Data.SqlDataProvider.GetPackageType(String type) +66
   DotNetNuke.Services.Packages.PackageInfo.CheckSecurity() +25
   DotNetNuke.Services.Packages.PackageInfo.ReadManifest() +304
   DotNetNuke.Services.Packages.PackageInfo..ctor(String packageManifest, InstallerInfo info) +89
   DotNetNuke.Services.Packages.InstallerInfo.ReadManifest() +313
   DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.InstallPackage(String strFile, Boolean allowResources, Boolean writeFeedback, Int32 indent) +338
   DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.Install(Boolean writeFeedback, Int32 indent, String type) +937
   DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.Install(Boolean writeFeedback, Int32 indent) +17
   DotNetNuke.Services.Install.Install.UpgradeApplication() +933
   DotNetNuke.Services.Install.Install.Page_Load(Object sender, EventArgs e) +286
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

 

I tried the advice on http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/192810/scope/posts/Default.aspx however I still get the error. I can't navigate to homepage as get the error:

Value cannot be null.
Parameter name: type

Can anyone help....thanks!

 
New Post
1/7/2008 5:57 PM
 

That's an unrelated error.

When you look at the database are the tables etc. owned by dbo or by another database owner?

 
New Post
1/7/2008 6:44 PM
 

All the tables, procedures etc owned by dbo....and procedure GetPackageType doesn't exist in the list.

 
New Post
1/8/2008 6:58 PM
 

I might have a bad haircut but I'm tearing what's left up there out of my head.....

The upgrade as I said above didn't work...is it possible that I could add the stored procedure manually and retry? Where can I get the necessary code?

Also - I don't want to cloud the issue of the dodgy install...but when I navigate to my URL now .... I get the error:

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: type]
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +2768503
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) +17
   DotNetNuke.Security.Membership.Data.DataProvider.CreateProvider() +38
   DotNetNuke.Security.Membership.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.Data.DataProvider' threw an exception.]
   DotNetNuke.Security.Membership.Data.DataProvider.Instance() +0
   DotNetNuke.Security.Membership.AspNetMembershipProvider..cctor() +5

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.AspNetMembershipProvider' threw an exception.]

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
   DotNetNuke.Security.Membership.MembershipProvider.CreateProvider() +38
   DotNetNuke.Security.Membership.MembershipProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.MembershipProvider' threw an exception.]
   DotNetNuke.Security.Membership.MembershipProvider.Instance() +0
   DotNetNuke.Entities.Users.UserController..cctor() +5

[TypeInitializationException: The type initializer for 'DotNetNuke.Entities.Users.UserController' threw an exception.]
   DotNetNuke.Entities.Users.UserController.GetUserCountByPortal(Int32 portalId) +0
   DotNetNuke.Entities.Portals.PortalInfo.get_Users() +17
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +1302
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +82
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3306
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 

Any help or pointers at all are appreciated....thanks.....

 
New Post
1/9/2008 7:15 PM
 

OK - so problem was with me. After many tears, it appears that my locally unzipped version of the upgrade package was not complete! I was using the IZarc utility to unpack the zip archive and unfortunately it missed some files! I've now successfully upgraded the site.....and all is well!

Thanks for looking!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...04.04.01 to 04.08.00 upgrade error: stored procedure04.04.01 to 04.08.00 upgrade error: stored procedure


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