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 ...I quitI quit
Previous
 
Next
New Post
7/2/2008 10:21 PM
 
I quit 

I have installed DNN 4.8.4 five times on a local server and every time I install I encounter a different problem. I'm from the Unix world and I'm doing this for a friend. I find this software very difficult to work with. I see dozens are having the same issues, but no one offers a fix. The first install I could not log in, the second, the log in and register links bring a page not found, the third, was working and I imported the live database (from the live web site) into the local web site and could no longer log on to the site, the fourth time, the register and log in links failed again. The fifth install, I was able to log in but kept getting errors about the machine key (on the local machine), the next install, I got to log in again and the modules are all missing, the following install I got to log in as admin, and then the links inside present me wiht a page not found.

I followed the local install guidelines and then found out that they were wrong and that you should not create a virtual directory in IIS, because your images will not work, then I found out that I had to change the PortalAliase key to get somethings to work.....

Is there please someone that can provide me and the others who are having a difficult time installing this software with a quick down and dirty step by step install guide that outlines the pitfalls? Please

Thanks
Joe

 
New Post
7/3/2008 1:17 AM
 
 
New Post
7/3/2008 7:00 AM
 

Hi Joe,

Can you provide a little more info on your development or install environment?  Are you using XP or Windows Server? SQL 2005 or SQL Express? Visual Studio or Visual Web Developer? Hang in there...help is on the way.

Paul

 

 
New Post
7/3/2008 3:45 PM
 

Alright, you asked for it :) Take a deep breath!

First let me qualify that my experience with Nuke is on the PHP/Linux side of the spectrum, though I'm a MCSE 2000 & 2003, I normally work with PHP/Linux for all my my apps. This is for a friend of mine.

It is on a W2K3 R2, using SQL Express 2005, .NET 2.0 and the latest 4.8.4 DNN download. We are setting up a local site, and importing the data from the live production site to the local site for development.

If I understand everything correctly using the install manuals (thanks Mitchel). The basics should be as follows.

Install .NET, IIS, SQL then DNN. (abridged version)

I have a simple test site working so I know that IIS is working. I can query the DB, so I know that SQL is working I can see the main page in DNN, so some of it is working.  .NET is working or the install process would bomb and SQL would not install.

So I installed DNN 4.8.4 fresh install. I had on several of the installs installed it into a Virtual Directory call DotNetNuke, but later found out that this is not the best solution, because the images will not work, unless they are in the web root of IIS, not a virtual directory. The permissions on the folder have bene modded to reflect the Network Service having full control and being propagated to all subfolders.

So the latest installs are in the c:\inetpub\wwwroot folder with no virtual directory. I'm having to assign a port (8080) to the IIS site, because 80 is in use by another application that I can not change. So the local site is http://192.168.0.10:8080

Ok, now the fun stuff. I have had the following errors on various fresh installs.

1. Login link and register link return "Page Not Found" (which seems to be a very common issue, which I had twice and could not find the answer to) - Nuked it all to start over.

2. Module Load Warning - One or more of the modules on this page did not load. This may be temporary. Please refresh the page (click F5 in most browsers). - Posted several posts on the forum, never got a working answer - Nuked it all to start over.

3.  Can't log in to admin account after importing the live DB.  Nuked it all to start over.

4. Machine Key Errors after importing the live DB. - Found fixes, but then encountered one of the above or below issues - Nuked it all to start over.

5. Access to the path 'C:\DotNetNuke2\Portals\_default\03.00.08.txt' is denied.   Found fixes, but then encountered one of the above or below issues - Nuked it all to start over.

6. There were more, but I'll keep this brief.

So with all the above being said, I have once again wiped it all out and started from fresh using Mitchel's guide. The install is working after several small hang-ups. But everything installed successfully.

Now I'm importing the LIVE DB in. I used the following to copy the DB in and it was successful:

RESTORE DATABASE RIVERFRIENDS
FROM DISK = 'C:\DotNetNuke\Microsoft SQL Database\riverfriends_backup_20082561130.bak'
WITH MOVE 'riverfriends_log' TO 'C:\DotNetNuke\DotNetNuke_log.ldf',
MOVE 'riverfriends_dat' TO 'C:\DotNetNuke\DotNetNuke_dat.mdf'

Processed 3880 pages for database 'RIVERFRIENDS', file 'riverfriends_dat' on file 1.
Processed 3 pages for database 'RIVERFRIENDS', file 'riverfriends_log' on file 1.
RESTORE DATABASE successfully processed 3883 pages in 15.916 seconds
(1.998 MB/sec).

Changed the PortAliase to 192.168.0.10/dotnetnuke

Copied the data from the old install (skins ...) to the new install

Verified permissions

Visited the site and now, I get an new error.

Server Error in '/DotNetNuke' Application.
--------------------------------------------------------------------------------

Email
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.IndexOutOfRangeException: Email

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:


[IndexOutOfRangeException: Email]
   System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
+1433771
   System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +102
   System.Data.SqlClient.SqlDataReader.get_Item(String name) +12
   DotNetNuke.Entities.Portals.PortalController.FillPortalInfo(IDataReader
dr, Boolean CheckForOpenDataReader) +723
   DotNetNuke.Entities.Portals.PortalController.GetPortal(Int32 PortalId)
+184
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32
TabId, PortalAliasInfo objPortalAliasInfo) +121
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +82
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3303
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +64

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

My webconfig connection info is below (yes the passwords are real, but it's local so it really doesn't matter).

<connectionStrings>

<!-- Connection String for SQL Server 2000/2005 -->

<add name="SiteSqlServer"

connectionString="Server=SERVER1\SQLEXPRESS;Database=RIVERFRIENDSuid=dotnetnuke;pwd=dotnetnuke;"

providerName="System.Data.SqlClient" />

</connectionStrings>

<appSettings>

<!-- Connection String for SQL Server 2000/2005 - kept for backwards

compatability - legacy modules -->

<add key="SiteSqlServer"

value="Server=SERVER1\SQLEXPRESS;Database=RIVERFRIENDS;uid=dotnetnuke;pwd=dotnetnuke;"

/>

So, after three weeks, I'm still no farther along that I was before. However I did discover that using the phrase "I can't log on" will get you the silent treatment faster that yelling Hi Jack! on a plane will get you shot.

Thanks
Joe

 
New Post
7/3/2008 4:41 PM
 

I feel your pain dude. I'm forced to use this framework, and frankly, it strikes me as something which is designed for people who can't write code, which I can, and I have little use for the overcomplicated mess it's going to create on my web server.

Anyway, it appears you are missing a semicolon in your connection string, right after the password. Try that and see if it helps...

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...I quitI quit


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