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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

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
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  REALLY A CHALLENGE, NOBODY KNOWS HOW TO FIX "VALUE CAN NOT BE NULL PARAMETER NAME=VALUE"
Previous Previous
 
Next Next
New Post 2/23/2008 5:51 AM
Unresolved
User is offline Lissy
20 posts
10th Ranked


REALLY A CHALLENGE, NOBODY KNOWS HOW TO FIX "VALUE CAN NOT BE NULL PARAMETER NAME=VALUE" 

I have asked a lot of people but nobody knows how to fix this problem.

Hi, this is a new installation,  XP, SQL Server 2005. The installation completed successfully but at the end when it was supposed to transfer me to the web page, it gave me an error: VALUE CAN NOT BE NULL PARAMETER NAME= VALUE

I reset the IIS connection and put a new version of the web.config, as suggested by someone, without results. I also tried what other person said about adding a space at the end of a line on the web.config and try again but I tried also that without results.

If anyone knows how to solve this, please help me. I need this to be solved as soon as possible, so any help will be appreciated.

Thanks in advance.

Lissy

 
New Post 2/23/2008 7:26 AM
User is offline Sebastian Leupold
13634 posts
www.deutschnetnuke.de
1st Ranked












Re: REALLY A CHALLENGE, NOBODY KNOWS HOW TO FIX "VALUE CAN NOT BE NULL PARAMETER NAME=VALUE" 
  • are you trying to install DNN 4.8.0 or a previous version?
  • What is the site name?
  • are there other values that might cause issues due to a blank or special characters?

if the install fails, I strongly suggest to start again from scratch.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 2/23/2008 12:10 PM
User is offline Lissy
20 posts
10th Ranked


Re: REALLY A CHALLENGE, NOBODY KNOWS HOW TO FIX "VALUE CAN NOT BE NULL PARAMETER NAME=VALUE" 
Modified By Mike Horton  on 2/23/2008 6:46:41 PM)

Hi. Thanks for answering.

I installed DNN version 4.08. It is a new site. You can not access the site yet, since I have not installed it. I am new in DNN so I do not know where to look for to find if there are blank or speci

The server name is PRT-HQMJ8F1, the database name is dotnetnukenew. The web.config (connection string) is this one:

 

<

<!--

<add name="SiteSqlServer" connectionString="Data Source=*********;User ID=******;Password=******" providerName="System.Data.SqlClient"

<!--

<

connectionStrings> Connection String for SQL Server 2005 Express--> Connection String for SQL Server 2000/2005 -->add

 

name="SiteSqlServer"

 

connectionString="Server=*******;Database=DotNetNukenew;uid=******;pwd=*******;"

 

</

<

<!--

<add key="SiteSqlServer" value="Data Source=PRT-HQMJ8F1;User ID=lissylopez7;Password=godnow"

<!--

<

<

<

<

<

<

<

<

<

<!--

<

<!--

<

<!--

<!--

<add key="UsePortNumber" value="true" />

<

</

The error is the following when accesing  localhost/dotnetnuke/default.aspx   :  

 

providerName="System.Data.SqlClient"/>connectionStrings>appSettings> Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules--> Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->add key="SiteSqlServer" value="Server=PRT-HQMJ8F1;Database=DotNetNukenew;uid=lissylopez7;pwd=godnow;"/>add key="InstallTemplate" value="DotNetNuke.install.config" />add key="AutoUpgrade" value="true" />add key="UseInstallWizard" value="true" />add key="InstallMemberRole" value="true" />add key="ShowMissingKeys" value="false" />add key="EnableWebFarmSupport" value="false" />add key="EnableCachePersistence" value="false" />add key="HostHeader" value="" /> Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->add key="RemoveAngleBrackets" value="false" />optionally strip angle brackets on public login and registration screens-->add key="PersistentCookieTimeout" value="0" />use as persistent cookie expiration. Value is in minutes, and only active if a non-zero figure--> set UsePortNumber to true to preserve the port number if you're using a port number other than 80 (the standard)-->add key="InstallationDate" value="2/17/2008" />appSettings>     

Server Error in '/DotNetNuke' Application.

Value cannot be null.
Parameter name: value

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: value

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: value]
   System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic) +3620975
   System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) +88
   System.Web.Caching.Cache.Insert(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration) +79
   DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, CacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, Boolean PersistAppRestart) +242
   DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, TimeSpan SlidingExpiration, Boolean PersistAppRestart) +72
   DotNetNuke.Entities.Portals.PortalController.GetPortal(Int32 PortalId) +280
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +121
   DotNetNuke.Common.Globals.GetHostPortalSettings() +216
   DotNetNuke.Common.Globals.GetPortalSettings() +79
   DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule.Init(HttpApplication application) +198
   System.Web.HttpApplication.InitModulesCommon() +66
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +814
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +340


Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

 

 
New Post 2/23/2008 2:53 PM
User is offline Mike Horton
2949 posts
dnn.gmss.org
5th Ranked






Re: REALLY A CHALLENGE, NOBODY KNOWS HOW TO FIX "VALUE CAN NOT BE NULL PARAMETER NAME=VALUE" 

I edited your post to remove your servername, username, and password from the connection strings (not a good idea to post those on an open forum).

Did you install the Active Directory provider when you went through the wizard? If you did then comment all instances of <add name="Authentication"... /> under the <httpModules> section in your web.config and see if that makes a difference. There's a bug that with the provider that showed up after the release of 4.8.0 and while the error message you're seeing isn't the same as the one that usually shows up it is similar and I can see that the provider is showing up in the Stack Trace.

 
New Post 2/24/2008 7:29 AM
User is offline Lissy
20 posts
10th Ranked


Re: REALLY A CHALLENGE, NOBODY KNOWS HOW TO FIX "VALUE CAN NOT BE NULL PARAMETER NAME=VALUE" 

Hi, I edited the web.config and put in comments the authentication. It was only one line of the code.

I am getting now a different error:    An unhandled error has occurred.

The address said:    http://localhost/DotNetNuke/Default.aspx?tabid=36&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0

What else should I check?

 
New Post 2/24/2008 8:12 AM
User is offline Jerry Andersen
146 posts
www.ops.org
9th Ranked


Re: REALLY A CHALLENGE, NOBODY KNOWS HOW TO FIX "VALUE CAN NOT BE NULL PARAMETER NAME=VALUE" 

Is there a reason you starting with 4.0.8?   Or do you mean version 4.8.0?

If you do mean version 4.0.8 might I suggest starting at the minimum with 4.4.1?  I've had the best results starting with that version and upgrading to 4.7.0 from 4.4.1.  I think that this problem is related to a blog from mitch sellers.  I believe if you google this error with mitch sellers in the search string it should take you to his blog about the solution.    And if you start with at least 4.4.1 you won't have to worry about that error.

Hope this helps

Jerry

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  REALLY A CHALLENGE, NOBODY KNOWS HOW TO FIX "VALUE CAN NOT BE NULL PARAMETER NAME=VALUE"
 


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.

 


Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com
Code Endeavors, LLC
Do you Endeavor to Enhance your DotNetNuke designs by utilizing AJAX technologies to more efficient interactive web experiences
www.codeendeavors.com

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