Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  4.8.4.Upgrade errors - web.config deny & value cannot be null
Previous Previous
 
Next Next
New Post 6/28/2008 6:25 AM
Resolved
User is offline Will Walsh
4 posts
10th Ranked


4.8.4.Upgrade errors - web.config deny & value cannot be null 
OK... I think I have done all the recommended steps....
  • backed up folder structure and database
  • unzipped the upgrade folder
  • set the permissions for ASPNET, NetworkService, and the local user
  • replaced the web.config with the contents of the release.config
  • reset my connection strings and appsetting strings.
  • set the permissions on the web.config for the aspnet user
  • fire up the default.aspx
The upgrade goes thru the following steps.:
 
Upgrading DotNetNuke
Current Assembly Version: 04.08.04
Current Database Version: 04.05.03


 
Upgrade Status Report
00:00:00.015 - Upgrading to Version: 4.8.4
00:00:00.187 -   Executing Script: 04.05.04.SqlDataProvider Success
00:00:00.265 -   Executing Script: 04.05.05.SqlDataProvider Success
00:00:00.265 -   Executing Script: 04.06.00.SqlDataProvider Error! (see 04.06.00.log for more information)
00:00:00.765 -   Executing Script: 04.06.01.SqlDataProvider Success
00:00:00.765 -   Executing Script: 04.06.02.SqlDataProvider Success
00:00:00.765 -   Executing Script: 04.07.00.SqlDataProvider Success
00:00:01.499 -   Executing Script: 04.08.00.SqlDataProvider Success
00:00:01.656 -   Executing Script: 04.08.01.SqlDataProvider Success
00:00:01.687 -   Executing Script: 04.08.02.SqlDataProvider Success
00:00:01.703 -   Executing Script: 04.08.03.SqlDataProvider Success
00:00:01.703 -   Executing Script: 04.08.04.SqlDataProvider Success
00:00:01.703 - Performing General Upgrades
00:00:04.015 - Installing Package File LiveID_01.00.00_Install:  Success
00:00:04.140 - Installing Package File OpenID_01.00.00_Install:  Success
Upgrade Complete
Everything looks good and then the page completes rdnering with the following error even though I know I gave access to aspnet:
Server Error in '/DotNetNuke' Application.

Access to the path 'D:\Inetpub\wwwroot\DotNetNuke\web.config' is denied.
At this point I am out of options, so I click on the CLick Here to Access Your Portal link and get the following very common error (as follows).
What am I missing?
 
Server Error in '/DotNetNuke' Application.

Value cannot be null.
Parameter name: type
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.ArgumentNullException: Value cannot be null.
Parameter name: type

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:

[ArgumentNullException: Value cannot be null.
Parameter name: type]
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +2843963
   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) +268
   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) +83
   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

 

 
 
 
 
Will Walsh
Director of Information Technology
 
Lore International Institute, Inc.
+1 970 375 7205 (office)
+1 970 759 3287 (mobile)
+1 970 385 7905 (fax)
 
 
New Post 6/28/2008 8:54 AM
User is offline Sebastian Leupold
14293 posts
www.deutschnetnuke.de
1st Ranked












Re: 4.8.4.Upgrade errors - web.config deny & value cannot be null 

make sure, your web.config file is not write protected and virtual user ("Network Service" or "ASPNET") has full permission in file system.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 6/28/2008 2:34 PM
User is offline Will Walsh
4 posts
10th Ranked


Re: 4.8.4.Upgrade errors - web.config deny & value cannot be null 

I had not set permissions for Network Service to Write at the root value of the web. Thanks for your help Sebastian.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  4.8.4.Upgrade errors - web.config deny & value cannot be null
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP