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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  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

Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  DNN 4.8.1 Install without dbo / Null Argument Exception
Previous Previous
 
Next Next
New Post 3/26/2008 9:04 AM
Resolved
User is offline Rad Srag
21 posts
10th Ranked


DNN 4.8.1 Install without dbo / Null Argument Exception 
Hi,
I need your advice on this particulat problem.
My DBA tells me I can't create a DB Login for my DNN 4.8.1 install with db_owner permissions. Ok, so I have a document to help with the install (as I'm fairly green at this):
DotNetNuke Installation Guide v 1.0.03 (C. Nurse), Nov. 28, 2005
At the bottom of page 8, top of page 9, it is mentioned that db_owner is not actually required for the installation. Later, on pages 14 and 15, in the Data Provider Settings section, is mentioned minimum permisions required are :
  • db_datawriter
  • db_datareader
  • db_ddladmin
  • db_securityadmin
I cannot, for the life of me, get DNN 4.8.1 to install with only these permissions. I managed to install it but only after going to the Securables section for the DB User and granting Explicit Permissions for Execute on my DB object.

 

Also, during the DB Connection Test of the Installation Wizard, I always have to check the "Execute queries as DB Onwer" option other wise I get an "Object already exists" error the second time I run the test (or click the Next button). What exactly does "Execute queries as DB Onwer" mean as the user is clearly not the dbo?

 

Finally, when installation completes and probably unrelated to the dbo issue, I get the following Null Argument Exception  (in french): 


La valeur ne peut pas être null.
Parameter name: path1
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: La valeur ne peut pas être null.
Parameter name: path1

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.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: La valeur ne peut pas être null.
Parameter name: path1]
   System.IO.Path.Combine(String path1, String path2) +2686595
   DotNetNuke.UI.Skins.SkinDefaults..ctor(SkinDefaultType DefaultType) +127
   DotNetNuke.Common.Globals.get_DefaultSkin() +31
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +2812
   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

I install all Modules, all Auth services, no optional skins or containers, and no language packs. 

My environment:

  • Windows XP Pro SP2 (IIS 5.1)
  • SQL Server 2005
  • DNN 4.8.1

Any feedback is greatly appreciated.

 R3T
 
 

RadSrag
 
New Post 4/4/2008 5:28 AM
User is offline Rad Srag
21 posts
10th Ranked


Re: DNN 4.8.1 Install without dbo / Null Argument Exception 

I found the answer to the NullArgument error, however I still have no solution for the DB Login permissions (as posted above):

My DBA tells me I can't create a DB Login for my DNN 4.8.1 install with db_owner permissions. Ok, so I have a document to help with the install (as I'm fairly green at this):

DotNetNuke Installation Guide v 1.0.03 (C. Nurse), Nov. 28, 2005
At the bottom of page 8, top of page 9, it is mentioned that db_owner is not actually required for the installation. Later, on pages 14 and 15, in the Data Provider Settings section, is mentioned minimum permisions required are :
  • db_datawriter
  • db_datareader
  • db_ddladmin
  • db_securityadmin

I cannot, for the life of me, get DNN 4.8.1 to install with only these permissions. I managed to install it but only after going to the Securables section for the DB User and granting Explicit Permissions for Execute on my DB object. Is this a necessary grant? Can someone please offer some explanation, and possibly a "best practice" scenario?

My environment:

  • Windows XP Pro SP2 (IIS 5.1)
  • SQL Server 2005
  • DNN 4.8.1

Thanks again

Rad


RadSrag
 
New Post 4/5/2008 3:06 AM
User is offline Sebastian Leupold
13566 posts
www.deutschnetnuke.de
1st Ranked












Re: DNN 4.8.1 Install without dbo / Null Argument Exception 

I suggest to use dbowner permission, AFAIK those are needed now, however there is an option to use those for installation only, please check out the "Hardening DotNetNuke Security" guide.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 4/16/2008 9:48 AM
User is offline Rad Srag
21 posts
10th Ranked


Re: DNN 4.8.1 Install without dbo / Null Argument Exception 

Since SQL Server 2005, objects are owned by a schema, not a user as they were in SQL Server 2000. The schema is owned by a user.

The DB user used to login (the one defined in the web.config connectionString) only requires ddladmin, datareader,datawriter, and securityadmin. However, the user's schema must grant EXECUTE permission to the user.

That's all!


RadSrag
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  DNN 4.8.1 Install without dbo / Null Argument Exception
 


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.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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