You need to Register for free and Login to post a message in the forum.

Forum

Subject: Running DNN402 on dedicated server with SQL Server Express
Prev Next
You are not authorized to post a reply.

Author Messages
John_Stodden
DNN Creative Magazine Subscriber
Nuke Active Member
Nuke Active Member
Posts:21

01 Feb 2006 12:38 PM  

I studied your videos on installing DNN 3.2 to a shared host with interest.  I have run into difficulties trying to install DNN402 on my dedicated server.

The test site I have created runs fine on local development system (XP Pro, VWD 2005 Express, SQL Server Express 2005).  I have left web.config with the default settings so the database (database.mdf in app_data) is attached temporarily. 

I have created a site on the W2003 server using IIS6, set the NTFS permissions so that IUSR_WPG has full access to the directory, and ftpd the entire site unchanged.

When I try to run it I get the dreaded Object reference not set to an instance of an object message, and the details say:

<PRE>[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +125
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3797
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
</PRE>


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

I have been puzzling over this for 3 days without success.  I suspect it is permissions based.  Presumably SQL Server Express takes care of the permissions (I have installed a very small .NET 2.0 site using the standard web.config method of dynamically attaching and it works without a problem, so the difference may be in the DNN side)

Any clues please?

John B

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

02 Feb 2006 3:53 AM  
Hi John,

I'm afraid I haven't installed v4.x to a live server yet, so I can't really offer any advice. If you are trying to install a version that you have already created at localhost level, I would suggest that to begin with you just install DNN4.0.2 using the install zip file to double check that you can get DNN4 to actually install on a live server, at least that may start to give you a few clues as to what the problem is.

If this still doesn't provide any answers I would suggest asking in the main DNN forums to see if anyone can provide any information.

When you find the answer, I would appreciate it if you could let us know the solution. - A video for installing 4.x to a live host is on the cards and it will help if there are already some key tips to watch out for.

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Users Lounge > DNN Creative Articles > Running DNN402 on dedicated server with SQL Server Express



ActiveForums 3.7

Latest Forum Posts

RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
The default class for a container is .head so you will find that the .head class will override any s...
RE: Module not working when logged off. by t.ramya85
have to set the cache time to '0' in that module setting.
Trouble installing! Designer trying to be a Developer. by awright14
Hi Everyone,Just to let you know, I'm very new at this - very new to any type of dev environments in...
DotNetNuke Modules
RSS Feeds