The post summarises the steps required to set up DotNetNuke 5 (DNN5) locally on Windows using the full Microsoft SQL Server using SQL Server authentication, ie not the Express version. Getting the Logins and Users right is the crucial trick that I want to remember.
Click on each image to see it larger.
Click on each image to see it larger.
- In Microsoft SQL Server Management Studio, connect to your local server. Right-click on Databases on the left. Select "New database". In the following screen, enter a database name, eg "DNN522pen" and click OK without changing anything else.
- Now, find the server Security and right-click on Logins and select "New Login...":
- Enter a login name such as "dnn522pen", select "SQL Server Authentication" and enter the password. Untick "Enforce password policy" if you wish. Do not set the Default database. Click OK.
- Open up your database tree on the left: open "dnn522pen" then Security then Users. Right-click and select "New user...":
- In the new user dialog, enter a User name such as "dnn522pen" and the Login name you used before eg "dnn522pen". Tick "db_owner" twice below and click OK:
- Next, create a new folder on disk somewhere, eg in directory "D:\dnn522pen\". Unzip the DotNetNuke community installation file in there
DotNetNuke_Community_05.02.02_Install.zip
. - Open up Internet Information Services (IIS 7) Manager. Expand the menu on the left to open Sites and Default Web Site. Click on "Add Application..." on the right.
- Enter a suitable alias and physical path, eg "dnn522pen" and "D:\dnn522pen\":
- In IIS Manager, select the new alias on the left, select Content View and click "Browse" to start the DNN installation:
- After a delay you should see the first DNN install screen. Choose custom:
- Test file permissions.
- Now, set up your database connection:
- First, click on "SQL Server 2005/2008 Database" and wait for the screen to refresh
- Enter "(local)" for the Server
- Enter the database name, eg "dnn522pen"
- Uncheck "Integrated Security" and wait for the screen to refresh
- Enter the User ID and password
- Keep "Run as db Owner" checked
- If desired, enter a database table name qualifier, eg "DNN_"
- Click on "Test Database Connection"
- If OK, click on Next
- Proceed with the rest of the DNN installation as normal.
No comments:
Post a Comment