|
|
| |
| |
| |
|
|
Mitchel Sellers' DotNetNuke, .NET, and Other Topics Blog
|
 |
|
|
| |
Subscribe To Blog Updates by E-Mail
|
|
|
| |
|
|
| |
Installing DotNetNuke 4.5.5 Locally
By Mitchel Sellers on Thursday, July 26, 2007 @ 4:32 AM
|
|
| |
9446 Views ::
94 Comments :: :: DotNetNuke, Tutorials
|
|
|
| |
Installing DotNetNuke can be somewhat difficult at times, therefore I am writing
this article to give you a full step by step guide to installing DotNetNuke on
a Windows XP Pro system. The instructions are similar for Windows 2000 and XP
Home but might vary slightly, I have tried to note as many differences as
possible. Windows Vista installation is similar but requires a few different
steps relating to IIS. This article is a re-visit to my first article of
this type geared towards DotNetNuke 4.4.1..
Prior to following this instruction guide please ensure that you have downloaded
the "install" version of DotNetNuke 4.5.5 from http://www.dotnetnuke.com.
You can save the zip file to your desktop for the time being. You will
also need to have SQL Server Express 2005 installed, (Other versions work, but
these instructions might not match 100% on other versions). Lastly you
must be logged in to your machine with administrative permissions.
The setup will be broken into the following 3 sections; creating the needed SQL
Serveer database and user account, unzipping DNN and configuring the web.config
file, and finally setup of the virtual directory and starting DotNetNuke.
Creating SQL Server Database
-
Start SQL Server Management Studio Express (SSMSE), (if you don't have this
please install it from
here.)
-
Once SSMSE has opened, please note the "Server Name" of the server that you are
connecting to, this is the full text of the information in that field. (Circled
in below picture)
-
Once you have connected and opened the utility you will want to expand the node
for your server name as located in step 2
-
Right Click on the "Databases" node and select "Create New Database"
-
Specify a name for your database, I will use DotNetNuke455 for this example,
then click create
-
Now expand the "Security" node, then right click on "Logins" and select add
-
Provide the information for the dnn account, be sure to select "SQL Server
Authentication" and remember the password. (If SQL Server Authentication is not
available see
this
to enable mixed mode on your server)
-
Now select "User Mappings" and check the box next to your newly created
database at the top, then select the "dbowner" role from the listing at the
bottom, this maps the account to have full access to your database.
-
Click "Create" to have your user account created. Once this is completed you
are now done with the databse setup. Please remember the database server name
from step two and the username and password used to create the SQL Server
account as we will be using this in the next section
Unzipping and Configuring DotNetNuke
All files from the DotNetNuke install zip must be extracted to a common folder,
typically this folder is created as a sub directory of C:\inetpub\wwwroot. The
instructions below will be based on installation to this location, if you
desire to install DotNetNuke at a different location simply substitute your
folder path anytime it is referenced in the below instructions.
-
Using windows explorer navigate to c:\inetpub\wwwroot, then right click and
select "New" -> "Folder" and create a folder called "DotNetNuke455". This
folder will become the install directory for DotNetNuke
-
Right click on your newly created file and select "Sharing and Security"
-
Switch to the security tab, if you do not see the "Security" tab, you will need
to disable the "Use Simple File Sharing" option in your Folder View Options.
-
Click "Add.."
-
In the textbox type ASPNET if on Windows 2000/XP or NETWORKSERVICE if on
Windows 2K3/Vista, then press ok
-
Under permissions for this account check the box for full control, then press
"Ok" to save the changes
-
Open the DotNetNuke 4.5.5 Install Zip package
-
Select "Extract All Files/Folders"
-
For the extraction location select the folder you created in step 1
-
Once all files have been extracted you need to edit the "Web.config" file
located in the root of the DotNetNuke folder
-
Modify the circled sections of the web config, you will need to set this up to
connect to your database, so substitute your values for "Server", "Database",
"uid", and "pwd". This format of connection string will work for both SQL
2000 and SQL Express. You may use other valid connection string settings,
you may visit http://www.connectionstrings.com
for assistance with other formats
-
Also inside the web.config look for a setting called <add name="AutoUpgrade"
value="True" />, change the value on this to "False"
-
Lastly inside the web.config look for a setting called <add name="UseWizard"
value="True" />, change the value on this to "False"
-
Save the modified document
The above finishes the actual configuration of the DotNetNuke file system first
we created the needed directory, then we assigned the proper file permissions,
then we configured the web.config file to not only connect to the database but
to also do some preventative settings changes to secure the site.
Setup Virtual Directory and Start DotNetNuke
Now that we have the database and file system setup we will proceed to the final
step of setup, configuring IIS to host your website.
-
Open the IIS Snap-In tool, this can be found via "Start" -> "Settings" ->
"Control Panel" -> "Administrative Tools" -> "Internet Information
Services"
-
Expand the root notes until you can expand the "Default Web Site" node
-
You should see your application folder listed under the "Default Web Site",
right click on the folder and select "Properties"
-
On the first tab, click the "Create" button next to the application name, you
should then see DotNetNuke455 listed
-
Now, switch to the "Documents" tab. Remove all current entries and add
"Default.aspx" to the listing. Your window should look like the following when
complete.
-
Now, switch to the "Dierectory Security" tab
-
Click "Edit" in the "Anonymous access and authentication control"
-
Ensure that a checkmark is included in the "Anonymous Access" box at the top of
the screen then click "Ok" to exit
-
Now switch to the "ASP.NET" tab and ensure that "2.0.50727" is selected for the
ASP.NET version
-
Click "Ok" to save your changes and complete the IIS setup
-
Now open Internet Explorer and navigate to
"http://localhost/DotNetNuke455/Install/install.aspx
-
You should see some test indicating the DNN installation progress then a link
that says "Click here to access your portal"
This walks you through the entire setup process to get a local copy of
DotNetNuke working with SQL Server 2005 Express. This installation guide can
help you get up and going on a hosting provider as well, simply noting that the
first portion of the setup is typically completed by your web hosting provider.
If you have any comments please leave them below, if you have any trouble and
need assistance please utilize my forum to request assistance! |
|
|
|
|
|
| |
| |
| |
Share/Save This Article |
|
| |
Use the below controls to save this article to one of many popular social bookmarking sites!
|
|
|
|
|
| |
| |
| |
Article Comments |
|
| |
By
Wissam @
Monday, July 30, 2007 1:28 AM
|
The following site is still under construction http://localhost/DotNetNuke455/Install/install.aspx
What should I do?
|
|
|
By
Gonzalo @
Monday, July 30, 2007 3:35 AM
|
I've the same problem:
DotNetNuke Error: - Version 04.05.05
--------------------------------------------------------------------------------
The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.
|
|
|
By
Mitchel Sellers @
Monday, July 30, 2007 3:46 AM
|
I would ensure that both connection strings are set properly.
Did your installation screens appear showing the proper messages including successful install?
|
|
|
By
Gonzalo @
Monday, July 30, 2007 3:48 AM
|
Great, In the WebSite IIS properties I checked 'script source access' and I selected the option: 'Scripts and executables' in the Execute Permissions and it runs ok
Thks
|
|
|
By
Wissam @
Tuesday, July 31, 2007 1:11 AM
|
this is my connection string
connectionString="server=localhost\\SQLEXPRESS;database=DotNetNuke455;uid=dnn;pwd=*****;"
now I have this error: Instance Failure (unhandeled exception)
Server.ScriptTimeout = Integer.MaxValue Select Case GetUpgradeStatus() <--- Error here! Case Globals.UpgradeStatus.Install InstallApplication()
|
|
|
By
Mitchel Sellers @
Tuesday, July 31, 2007 3:29 AM
|
|
Try removing the localhost portion of the servername.
|
|
|
By
Wissam @
Tuesday, July 31, 2007 11:01 PM
|
|
|
By
Mitchel Sellers @
Wednesday, August 01, 2007 3:43 AM
|
|
Can you connect to your SQL Server instance via management studio? Have you confirmed that the server name you have entered matches EXACTLY to what is displayed in management studio?
|
|
|
By
Tim @
Wednesday, August 01, 2007 2:46 PM
|
For SQL Express, the server should be refered to as:
.\SQLExpress
|
|
|
By
Tim @
Wednesday, August 01, 2007 2:48 PM
|
So the completed string would be:
connectionString="server=.\SQLEXPRESS;database=DotNetNuke455;uid=dnn;pwd=*****;"
|
|
|
By
Stilian Gueorguiev @
Wednesday, August 01, 2007 6:03 PM
|
I am getting the following error, please help:
Server Error in '/DotNetNuke455' Application. --------------------------------------------------------------------------------
Failed to access IIS metabase. 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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.
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:
[HostingEnvironmentException: Failed to access IIS metabase.] System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3609834 System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9 System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +169 System.Web.CachedPathData.GetConfigPathData(String configPath) +382 System.Web.CachedPathData.GetConfigPathData(String configPath) +243 System.Web.CachedPathData.GetApplicationPathData() +68 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3503459 System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
|
|
|
By
Mitchel Sellers @
Wednesday, August 01, 2007 6:22 PM
|
Stilian,
You will need to uninstall and re-install ASP.NET on your machine.
Open a command prompt and move to the following directory.
C:\Windows\Microsoft.net\framework\v2.0.50727
Then type the following command to uninstall
aspnet_regiis.exe -u
Then type the following command to re-install
aspnet_regiis.exe -i
You should now be set to go!
|
|
|
By
Stilian Gueorguiev @
Wednesday, August 01, 2007 8:03 PM
|
Thanks a lot Mitchel. The error disappeared but now I am getting another one:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
I am going to go and redo all of the instructions form the beginning to make sure i did not skip a step before posting again. Thanks for the help!
|
|
|
By
Mitchel Sellers @
Thursday, August 02, 2007 3:34 AM
|
Most likely this error is an ASP.NET config error and nothing related to your DNN installation.
If you look at the Event Log in Control Panel under windows you should see an error listed for ASP.NET. If you can provide that error we should hopefully be able to get you going.
Also, if possible please post the error under the forum to move this type of troubleshooting out of the comments! (Thanks!)
|
|
|
By
Stilian Gueorguiev @
Thursday, August 02, 2007 12:40 PM
|
Thanks a lot for the help, i got it to work, just a final question before i refer myself to the forums, how so I know it has installed succcessfully. I am currently getting a
This site is currently Unavailable Please check back later
when i go to the URL
Stilian
|
|
|
By
Mitchel Sellers @
Thursday, August 02, 2007 2:33 PM
|
I am not sure what that would be caused by.
What does the page look like?
|
|
|
By
Randy @
Friday, August 03, 2007 1:03 PM
|
Thank you for these instructions. When I installed 4.5 I ran into several bugs. I uninstalled and installed 4.4. and it works. I try to see my site from the web but I get a 403 permissions error any suggestions? Thanks again
|
|
|
By
Mitchel Sellers @
Friday, August 03, 2007 1:25 PM
|
You will want to make sure that you have a portal alias setup for your external ip address/url if you accessed the site the first time from localhost.
This can be done via the Site Settings when logged in as host.
|
|
|
By
Randy @
Sunday, August 05, 2007 10:11 AM
|
Thanks. Saved me alot of time.
I have one last question. I am working on a page for my boy scout troop and I would like the ability to let users download large files of videos or pictures ziped, about 150meg any suggestions? when I try to upload the file I just get page not availiable screen. TIA Randy
|
|
|
By
Alejandro Angel @
Monday, August 06, 2007 12:12 PM
|
This site is currently Unavailable Please check back later I had version 4.5.1. it work fine. Now i want to install 4.5.5 i made what say the documentation and have this error. I make a new installation but i have this error. Win2003/SQL2000. Anybody can help me?
|
|
|
By
blacko @
Monday, August 06, 2007 7:43 PM
|
Server Error in '/DotNetNuke455' Application. --------------------------------------------------------------------------------
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The configuration section cannot contain a CDATA or text element.
Source Error:
Line 24: name="SiteSqlServer" Line 25: connectionString="Server=(local);Database=DotNetNuke455;uid=rud;pwd=shafa;" Line 26: providerName="System.Data.SqlClient" /> Line 27: --> Line 28: </connectionStrings>
Source File: c:\inetpub\wwwroot\dotnetnuke455\web.config Line: 26
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
what should i do????
|
|
|
By
Mitchel Sellers @
Tuesday, August 07, 2007 4:29 AM
|
That is one that I have not seen before.
I would try to re-save the file and see if you happen to get any different results.
From the looks of it you do have it setup properly.
|
|
|
By
mark @
Tuesday, August 07, 2007 4:47 AM
|
I too get an error messsage like so:
"Error Installing DotNetNuke Current Assembly Version: 04.05.05 ERROR: Could not connect to database specified in connectionString for SqlDataProvider"
I have no default website and this is the name of my development server: "sypadevelopment"
therefore my install file seems to be here: http://sypadevelopment/DotNetNuke_2/Install/install.aspx
If I enter http://localhost... I get a 'page not found message'
my connection string is:
connectionString="Server=(sypadevelopment);Database=DotNetNuke_2;uid=****;pwd=****;"
I have tried changing server name to "Server=(local)
but I get the same error message.
I am running XP Pro service pack 2 , with IIS 5.1 version installed: 'DotNetNuke_04.05.05_Install' file.
regards, mark
|
|
|
By
Mark @
Wednesday, August 08, 2007 2:31 AM
|
Further Info from above:
1. How can I test the connection from the database?
I presume I can connect to the database; I have been in SQL Server Management Studio Express and can right click on my database name: DotNetNuke_2 and select properties (I can also view connection properties).
But not sure how to "test connection settings".
<b>2. DotNetNuke installation Wizard</b>
Initially I had to enter the actual IP address of the server to get this working or connect via IE on my own browser (and not the server's browser), but strangely enough it seems to open up now from the server's browser with the server name.
Anyway I get as far as: <i>"Configure Database Connection"</i> screen, then get this error message: .....................................................
Invalid value for key 'attachdbfilename'.
I entered: SERVER: (myservername) FILENAME: DotNetNuke_2
|
|
|
By
Mitchel Sellers @
Wednesday, August 08, 2007 5:38 AM
|
Mark,
First of all if you are able to connect via SQL Management Studio, be sure to note the servername that appears in the "connection" box when you open that utility.
Then since you have created a db already, you need to use a connection string that looks like this.
connectionString="server=.\SQLEXPRESS;database=DotNetNuke455;uid=dnn;pwd=*****;"
Placing the proper values in for server, database, username, and password.
|
|
|
By
Mark @
Wednesday, August 08, 2007 6:43 AM
|
Further Info:
It turns out, I wasn't using the SQL Server 2005 Express version of the connection string. I have since changed it (as shown below):
............. <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" /> connectionStrings>
<appSettings>
<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" /> .............
However, I can't find anywhere to edit the above settings - Do they need editing?
I beleive there is no need to assign a uid / password? (I have left the Database.mdf name the same.)
Now my Install wizard comes up with the following errors:
Connection Error(s): Index #: 0 Source: .Net SqlClient Data Provider Class: 16 Number: 1813 Message: Could not open new database 'C:\INETPUB\WWWROOT\DOTNETNUKE_2\WEBSITE\APP_DATA\DATABASE.MDF'. CREATE DATABASE is aborted.
Index #: 1 Source: .Net SqlClient Data Provider Class: 14 Number: 15350 Message: An attempt to attach an auto-named database for file C:\Inetpub\wwwroot\DotNetNuke_2\website\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Index #: 2 Source: .Net SqlClient Data Provider Class: 0 Number: 5111 Message: File activation failure. The physical file name "C:\Inetpub\wwwroot\DotNetNuke_2\website\App_Data\Database_log.ldf" may be incorrect.
Index #: 3 Source: .Net SqlClient Data Provider Class: 0 Number: 5129 Message: The log cannot be rebuilt when the primary file is read-only.
|
|
|
By
Mitchel Sellers @
Wednesday, August 08, 2007 6:50 AM
|
Mark,
It appears to be an issue with dynamic attachment of the db.
I personally follow the instructions listed above which result in an actual database being created and a specific login.
|
|
|
By
George Lew @
Wednesday, August 08, 2007 8:32 AM
|
I'm doing clear install on Windows XP Pro SP2 using Visual Studio 2005 and SSMSE 2005.
I'm have the same problem that is : { Error Installing DotNetNuke
Current Assembly Version: 04.05.05
ERROR: Could not connect to database specified in connectionString for SqlDataProvider
}
I'm pretty sure it is the connectionstrings problem after much testing. Just wonder how to fix it.
Is that due to security issues?
Also, sometimes when I edit those strings, It leads me to " Underconstruction.html" page....
I really hope that you can help us fix this thing. I owe you one.
Also, please don't just copy 4.4.1 version installation as 4.5.5....
|
|
|
By
Mitchel Sellers @
Wednesday, August 08, 2007 8:44 AM
|
George,
The process is EXACTLY the same for all versions of 4.x.
The issue you are experiencing is due to differences in connection string information which no tutorial can give you 100% direction on how to configure as SQL Server can be configured in many ways.
With that in mind, the easiest manner is to simply copy the server name that is displayed with SSMSE then place the other specific information in your connection string and to NOT dynamically attach a database.
|
|
|
By
George Lew @
Wednesday, August 08, 2007 9:03 AM
|
I'm sorry...
Ok, this is the original string I've downloaded:
Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;
Then I've tried to remove AttachDBFilename... and used [sa] in database as user with full assess etc.
I've also tried yours example:
Server=DHNVRP1S\SQLEXPRESS;Database=DotNetNuke455;uid=dnn;pwd=dnn;
DHNVRP1S is my pc name, I've also tried replace with a "."
It's 2am here...struggling for the past 14 hours wakaakka....sorry for the trouble...
|
|
|
By
Mitchel Sellers @
Wednesday, August 08, 2007 9:06 AM
|
George,
No worries...I just want to make sure that everyone know that the process is still the same.
For your issue, have you double checked in the Surface Area Configuration that you allow external connections? My simplified connection is typically the best bet...I have used it on the hundreds of installations that I have completed without issue.
|
|
|
By
George Lew @
Wednesday, August 08, 2007 9:23 AM
|
Ya, I did that also...
Configuration and suface Configuration also set to highest accessible.
I even turn off my all firewall and antivirus for the past 10 minutes to run it....can't...
Maybe...afterall...I just need to restart my pc....so...I go to bed 1st....hope tomorrow got some miracle...
|
|
|
By
George Lew @
Wednesday, August 08, 2007 4:49 PM
|
HI, I've figured out the problem!!!
use "localhost" !
server="localhost;....."
Somehow, I think "localhost is needed in Branded PC with OEM XP PRO installed...
|
|
|
By
How @
Wednesday, August 08, 2007 4:50 PM
|
i solve the connectionstring problem already.
ConnectionString="Server=localhost;Database=DotNetNuke455;uid=dnn;pwd=****;"
|
|
|
By
aadhoog @
Sunday, August 12, 2007 12:31 AM
|
Getting crazy of it! Have tryed it for many times, many configuration's, readed al the post comments, but still getting no result when opening: http://localhost/DNN/install/install.aspx or http://localhost/DNN I'm getting the message in IE: "The page cannot be found. (blablabla) HTTP Error 404 - File or directory not found. Internet Information Services (IIS)" Is this an IIS problem, or a connection string problem in web.config ?
Windows 2003 Server SP2 SQL Server 2005 Express computername: webserver, already tried folowing server names in the connection string parameter: .\SQLExpress | WEBSERVER\SQLEXPRESS | .\webserver | localhost None of them works, same problem. Can anyone help me ?
|
|
|
By
Mitchel Sellers @
Sunday, August 12, 2007 8:06 AM
|
If you are getting a 404 error it is most likely NOT due to the connection strings.
I would ensure that you have ASP.NET configured properly (And using version 2.0.50727) I would also then ensure that you have default.aspx listed as a default document.
|
|
|
By
aadhoog @
Sunday, August 12, 2007 11:35 AM
|
Don't know WHAT to configure in ASP.NET !? I am using version 2.0.50727, and also Default.aspx is the only one listed as default document.
I have tried to do the installation a few times on a clean VMWare session, but every time i got the same problem.... Really don't know what i am doing wrong every time.
|
|
|
By
Mitchel Sellers @
Sunday, August 12, 2007 11:40 AM
|
aadhoog,
A few things.
1.) Ensure that in the virtual directory that you have the proper version selected
2.) Test accessing a image or other NON aasp.net file types. This will isolate an issue with either IIS or ASP.NET
|
|
|
By
hari @
Monday, August 13, 2007 1:39 AM
|
Can you just tell how did you solve the connectionString problem, where do you use localhost
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />
|
|
|
By
hari @
Monday, August 13, 2007 1:39 AM
|
Can you just tell how did you solve the connectionString problem, where do you use localhost
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />
|
|
|
By
morad @
Tuesday, August 14, 2007 12:34 AM
|
How to Install DotNetNuke 4.5.5 Please Help Me! Firends Help Me With Vedio
|
|
|
By
Peter @
Tuesday, August 14, 2007 1:13 AM
|
How To Install DotNetNuke Source Code Ver 4.05.05. Please Help Me!!!
|
|
|
By
Mitchel Sellers @
Tuesday, August 14, 2007 3:43 AM
|
morad/peter,
If you have specific questions on how to install please use the forums to ask questions!
|
|
|
By
aadhoog @
Tuesday, August 14, 2007 11:55 AM
|
Mitchel,
I can, for example, browse to: http://localhost/DNN/logo.gif, that works fine, the logo.gif is displayed in IE, so it seems not to be an IIS problem, but if go to http://localhost/DNN/Install/install.aspx its not displayed and i get the "The page cannot be found, HTTP Error 404 - File or directory not found." message.
I have also given, for the test, Everyone Full Control permissions on the DNN folder, marked "Script source access" but same problem.
Is there any DNN log file i can look at to see what's the problem ?
|
|
|
By
Peter @
Wednesday, August 15, 2007 6:26 AM
|
I am CREATION Directory To IIS The DotNetNuke 4.5.5 Source Code But When Runing ASP.NET 2.0 runtime Error SHOUT!!
|
|
|
By
JimmyC @
Thursday, August 16, 2007 10:59 AM
|
|
aadhoog, I had a similar issue last time i installed php on a 2003 machine. I'm sure there are multiple ways for this to happen, but for me I had changed all the properties to what i needed under "Web Sites" but not under "Default Web Site" So they had different settings. IIS didn't know where to send any file with a .php extension, and the 404 error was showing. So you might just double check that your settings under Default Web Site or whatever website your files are in are set correctly. If all of the extensions are listed properly than i would double check that your extensions are pointing to the correct dll under Home Directory - Configuration. For me my asp.net dll is in c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll - Hope that helps
|
|
|
By
Peter @
Saturday, August 18, 2007 1:16 AM
|
Hi! Mitchel I see to installing DotNetNuke 4.5.5 this error: Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. c:\DotNetNuke\Website\Web.config 61 Please Help me!
|
|
|
By
Mitchel Sellers @
Saturday, August 18, 2007 8:30 AM
|
Peter,
Ensure that the virtual directory is setup to be at the root of where you placed DNN?
So, basically make sure that where DNN is, is the ONLY place that has a web.config file.
|
|
|
By
Memoranda @
Saturday, August 18, 2007 3:21 PM
|
Hi! Mitchel, I got the same problem like Peter. DNN directory is "C:\inetpub\wwwroot\dotnetnuke455\web.config". Please help.
|
|
|
By
Peter @
Monday, August 20, 2007 10:30 AM
|
Hi! Mitchel Please More EXPLAIN... (I Setuping DNN Source Code Ver 4.5.5)
|
|
|
By
Mitchel Sellers @
Monday, August 20, 2007 12:00 PM
|
Peter,
Please make a post in my forum for help with this issue.
|
|
|
By
Peter @
Monday, August 20, 2007 8:48 PM
|
Mitchel, I donot Know Your Forum!
|
|
|
By
Mitchel Sellers @
Tuesday, August 21, 2007 4:34 AM
|
Peter,
The "Forums" link in the left navigation menu.
|
|
|
By
MarkQ @
Tuesday, August 21, 2007 9:57 PM
|
Hi Peter, I've followed your dnn 455 install instructions verbadum.
Using: Win 2003 server enterprise SQL 2005 enterprise
Same results after runnung the http://localhost/dnn455 It grinds a bit then redirects to http://localhost/dnn455/Install/UnderConstruction.htm The text on the page says: "This site is currently under construction" "Please check back later" Looking at the db, there's no tables created yet so I suspect it's a SQL perms issue but I can go to another machine and manually create a test table with the sql-Usr acct. Any thoughts?
|
|
|
By
Mitchel Sellers @
Wednesday, August 22, 2007 3:12 AM
|
Mark,
Be sure that you have both connection strings set to the proper values. Also if using a SQL Server account, ensure that "TrustedConnection" is NOT listed in your string.
See a few posts above for a simple example of a connection string.
|
|
|
By
Déclic Vidéo FX @
Wednesday, August 22, 2007 11:43 PM
|
Hello Mitchel,
Just to let you know that it works perfectly! Thank you so much (I find it a little bit more difficult to install it locally than remotely on a shared environment)
For your information, two tips that may help some people:
1/ The connection string for me was the following: ------------------------------------- <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" /> ------------------------------------- It is ABSOLUTELY necessary to modify it this way: <add name="SiteSqlServer" connectionString="Server=(local);Database=your-database-name;uid=your-login-name;pwd=your-password;" />
2/ You should add a note in your tutorial, to inform people that they should have IIS already installed (otherwise, I run into trouble... This should be put in the first part, to ensure that iis is installed (Add/Remove Windows Components, ...)
Déclic Vidéo FX
|
|
|
By
Déclic Vidéo FX @
Wednesday, August 22, 2007 11:45 PM
|
But now come the other question... I would like to copy my database (remote one hosted on SQL Server 2005) locally on my computer... Is there any possibility to do so ? To copy a database (SQL 2005) locally in SQL Express ?
DV FX
|
|
|
By
Mitchel Sellers @
Thursday, August 23, 2007 3:34 AM
|
DV FX,
Yes you can do that, as long as your production database is under the 4Gb size limitation of SQL Server Express.
My restore tutorial should explain everything for you, but basically you just need to request the .bak file from your hosting provider, then do the restore, ensuring that you overwrite the existing database and specify the proper file locations.
I do this on a weekly basis with my db for this site.
|
|
|
By
wcopenhaver @
Friday, August 24, 2007 2:45 PM
|
I was having the the following problems; When i went to http://localhost/dotnetnuke455/Install/install.aspx I either got, the under construction page or the message saying it could not connect to the database, with the provided information.
I tested my connection through the computer Data Sources (ODBC) connection and it work fine. I try every option for the "Server=***" section in the connection string and it still didn't work.
<SOLUTION>(For me)
I replace my connection string from "Server=(local);Database=DotNetNuke455;Uid=dnnUser;Pwd=***;" TO "Server=nameofserver.domain.com;Database=DotNetNuke455;Uid=dnnUser;Pwd=***;" I changed the server name to the fully qualified name for the server. After this it worked fine.
Hope It Helps.
|
|
|
By
aadhoog @
Sunday, August 26, 2007 10:21 AM
|
I still can NOT get it working under Windows 2003 Server....: "The page cannot be found, HTTP Error 404 - File or directory not found." But... i can get it working under Windows XP Pro ! I had some error's, but they where solved easily: "Create failed for login 'dnnuser'. Additional information: An exception occurred while executing a Transact-SQL statement or batch. The MUST_CHANGE option is not supported by this version of Microsoft Windows." (has to do with the security policy) and i had: "Server Error in '/DNN' Application. The current identity (VMWARE\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'." These are error's with an logic message, so easily to solve. I must notice that it took a realy LONG time before the module gave its install log file. (Installing DotNetNuke Version: 04.05.05 Installation Status Report 00:00:00.031 - Installing Version: 4.4.0)
BUT, the problem with IIS under XP Pro is that it is limited to 10 concurrent connections.....
Still frustrated that i cannot get it working under 2003 server....
|
|
|
By
Mitchel Sellers @
Sunday, August 26, 2007 7:32 PM
|
aad..
Please post in the forums for assistance!
|
|
|
By
ecah @
Monday, August 27, 2007 7:26 PM
|
hi, i've installed dotnetnuke 4.5.5 by refering to your notes. when i debug, the page is displayed successfully. however when i try to access using localhost (http://localhost/....) it didn't work. hope anybody can help me... tq
|
|
|
By
ecah @
Monday, August 27, 2007 7:28 PM
|
hi, i've installed dotnetnuke 4.5.5 by refering to your notes. when i debug, the page is displayed successfully. however when i try to access using localhost (http://localhost/....) the page cannot display. hope anybody can help me... tq
|
|
|
By
Mitchel Sellers @
Monday, August 27, 2007 9:47 PM
|
My guess is that when you are debugging you are using the Cassini built in webserver. You will then need to add another portal alias in for just localhost.
SO, when debugging, login as host and add a portal alias for your localhost without the port number. This is under Admin -> Site Settings
|
|
|
By
Reeni @
Friday, August 31, 2007 5:07 AM
|
Hi I just downloaded 4.5.5 (XP pro & IIS) and followed the instructions to a T and got "This site is unavailable. Please try later." After going through the posts here to no avail I decided to take a look at Install.aspx. I put a breakpoint on the private InstallApplication method and ran the site. I went to the Install.aspx page and the stepped through the code from there. Voila! the install completed and I'm looking at the portal! I don't know if it has to do with IIS or not as the only difference was the ASP.NET developer server that ships with VS 2005. I hope this helps someone! :)
|
|
|
By
Mitchel Sellers @
Friday, August 31, 2007 5:47 AM
|
Reeni,
The one thing I noticed with IIS is that for one reason or another at times it is taking two calls to the install.aspx page to actually get the install going.... I still have not figured out why.
|
|
|
By
Rohirrim @
Thursday, September 06, 2007 2:28 PM
|
I just wanted to say thank you and all of you who give for free they knowloedge, time and effort for us newbies.
Thx, the world keeps on moving due to you all
|
|
|
By
Ruhani @
Monday, September 10, 2007 6:39 AM
|
|
Hi Thanks for the walkthrough guide. I'm having some trouble with Windows Vista, IIS 7.0 and SQL 2005, i'm keep getting the error in iE that "HTTP 500 internal Server Error" .. IIs7 making me confused ... :[ any idea bro? thanks in advance
|
|
|
By
Mitchel Sellers @
Monday, September 10, 2007 4:22 PM
|
|
Ensure that your virtual directory is set to use the "Classic" application pool.
|
|
|
By
rypki @
Sunday, September 16, 2007 12:03 AM
|
|
Hey Mitchell, your article helped me a lot. Thanks
|
|
|
By
delm @
Sunday, September 16, 2007 4:55 PM
|
another note. i folowed this step by step, and readed all comments but mi problem was not resolved (site not avaliable and then stored procedure dos not exist).
I finally got DNN working by enabling named pipes on network configuration (Start->Programs->Microsoft SQL Server 2005->Configuration Tools->SQL Server Configuration manager) and then run /Install/install.aspx in order to generate database (Database must exist first)
there's a lot of details missing in this step by step (i used my experience in windows servers to get alog this, a regular user could not resolve this by it's own), but it gives a starting point.
Thanks Mitchel.
|
|
|
By
Mitchel Sellers @
Sunday, September 16, 2007 7:07 PM
|
Delm,
Yes, in your case there was some additional setup needed, I guess this article is really designed towards users with a properly configured base install of SQL Server (Express) and IIS. If there are configuration/setup items needed there I don't cover them here.
|
|
|
By
steve b @
Monday, September 17, 2007 5:27 AM
|
Hi, I've been trying for 2 days to install dnn now i get this message: Error Installing DotNetNuke Current Assembly Version: 04.05.05 ERROR: Could not connect to database specified in connectionString for SqlDataProvider
My connection string is: <connectionStrings> <add name="SiteSqlServer" connectionString="server=GENESIS\SQLEXPRESS;database=DotNetNuke455;uid=sqladmin;pwd=***;" providerName="System.Data.SqlClient" />
I'm assuming that i have connected to the SQL server okay but not the database.
Is this assumption correct? Any suggestions for what to check? thanks in advance
|
|
|
By
steve b @
Monday, September 17, 2007 5:33 AM
|
I started SSMSE and tried logging in using SQL server authenticartion and using the same username pwd as in connection string and i get this error message: TITLE: Connect to Server ------------------------------
Cannot connect to GENESIS\SQLEXPRESS.
------------------------------ ADDITIONAL INFORMATION:
A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476
|
|
|
By
steve b @
Monday, September 17, 2007 6:27 AM
|
I'd really like some help with this so here's some more info. I reinstalled SQL server i suspect that the latest version has switched something off that is needed here's what it says after installing sql server: Configuring and Managing SQL Server Express · For improved manageability and security, SQL Server 2005 provides more control over the SQL Server surface area on your system. To minimize the surface area, the following default configurations have been applied to your instance of SQL server:
o TCP/IP connections are disabled o Named Pipes is disabled o SQL Browser must be started manually o OPENROWSET and OPENDATASOURCE have been disabled o CLR integration is disabled o OLE automation is disabled o xp_cmdshell is disabled
To enable or disable features and services, run the SQL Server Surface Area Configuration tool from the Start menu.
· To install SQL Server Management Studio Express Edition, download it from the SQL Server Developer Center on MSDN (http://go.microsoft.com/fwlink/?linkid=51793).
|
|
|
By
Mitchel Sellers @
Monday, September 17, 2007 6:47 AM
|
Steve,
If you enable named pipes from the configuration section, or TCP/IP connections you should then be set to go!
|
|
|
By
steve b @
Tuesday, September 18, 2007 4:56 PM
|
I deleted the database and install directory and downloaded the install utility 4.1.1 from dotnetnuke.com site using windows authentication it installed first time and is now working. http://www.dotnetnuke.com/Products/Development/Projects/UtilityInstaller/Downloads/tabid/871/Default.aspx
Don't know why 4.5.5 wouldn't work for me but i gave it a good try. I'll play with this for a while before attempting an upgrade. please tell me the upgrade path from 4.1.1 is a lot easier. I would rather pay someone a $100- for an install utility that worked first time with 4.5.5. i wasted to much time with this install. I'm wondering if having apache running on my first attempt may of been a problem. steve
|
|
|
By
Kees Henzen @
Saturday, September 22, 2007 1:22 AM
|
Hello everybody, I went this morning completely through the video tutorial and it helped me a lot. My previous error 500 and other errors are solved yet. I am trying to install DNN on a Vista machine and I have installed the 4.5.5 version.
My next error is this one:
Error Installing DotNetNuke Current Assembly Version: 04.05.05 ERROR: Could not connect to database specified in connectionString for SqlDataProvider
SO, it must have to do with my web.config where I have changed the connection string and the application settings as follows:
<connectionStrings> <add name="SiteSqlServer" connectionString="server=PC-VAN-KEES\SQLEXPRESS;Database=DotNetNuke;uid=Kees;pwd=*******;" providerName="System.Data.SqlClient" /> </connectionStrings> <appSettings> <add key="SiteSqlServer" value="Server=PC-VAN-KEES\SQLEXPRESS;Database=DotNetNuke;uid=Kees;pwd=********;"/> <add key="InstallTemplate" value="DotNetNuke.install.config" /> <add key="AutoUpgrade" value="false" /> <add key="UseInstallWizard" value="false"/> <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--> </appSettings>
Please! Who has any further suggestions?
|
|
|
By
Mitchel Sellers @
Saturday, September 22, 2007 4:12 AM
|
I would validate that you have the proper database server, database name, username and password values. Also validate that the user does have permission to the database.
The overall format of your strings looks correct.
|
|
|
By
Kees Henzen @
Sunday, September 23, 2007 11:06 PM
|
Hi Mitchell,
All the web.config settings were OKE. The problem was the initial setup with SQLServer 2005 Express. The mixed mode authentication for Windows AND SQLServer does the trick !
|
|
|
By
Chris @
Monday, October 22, 2007 3:07 AM
|
Okay, heres the deal: I installed DNN once succesfully on a local computer, after struggling with it for a while. then i accidentally deleted the folder containing the DNN files. So i tried re-installing it. I delted the database, re-created it and repeated the virtual directory creation, unzipped the install files in the virtual directory, and proceded to grant necessary permissions to the folder. Also modified the config file to put the connection string
the thing is, now, the application doesnt start!!!!!!!
Basically this is what i get:
Server Error in '/nuke_roms' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The code subdirectory '/nuke_roms/App_Code/HTML/' does not exist.
Source Error:
Line 101: --> Line 102: <codeSubDirectories> Line 103: <add directoryName="HTML" /> Line 104: <add directoryName="Reports" /> Line 105: <add directoryName="Survey" />
Source File: c:\inetpub\wwwroot\web.config Line: 103
Ive repeated the process a dozen of time, but each time i get the same damned error page.
Any idea of where i went wrong?
|
|
|
By
Mitchel Sellers @
Monday, October 22, 2007 3:46 AM
|
Chris,
Simply remove line 103 from your config file.
|
|
|
By
Chris @
Monday, October 22, 2007 9:02 PM
|
been there done that :S I mean i removed the line 103 from the config file, but it reports it to the following lines eg it tells me error at line 104 and that directory was not found
|
|
| | | | |