Browsing "Old"
May 27, 2010 - DotNetNuke    Comments Off on Installing DotNetNuke 4.5.5 Locally

Installing DotNetNuke 4.5.5 Locally

[i:30nv73ko]By Mitchel Sellers[/i:30nv73ko]

Source:
[size=85:30nv73ko][URL=http://www.mitchelsellers.com/Blogs/tabid/54/articleType/ArticleView/articleId/119/Installing-DotNetNuke-455-Locally.aspx]http://www.mitchelsellers.com/Blogs/tabid/54/articleType/
ArticleView/articleId/119/Installing-DotNetNuke-455-Locally.aspx[/URL][/size:30nv73ko]

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 [url=http://www.dotnetnuke.com/:30nv73ko]http://www.dotnetnuke.com[/url:30nv73ko]. 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.

[size=130:30nv73ko]Creating SQL Server Database[/size:30nv73ko]

[list:30nv73ko]
[*:30nv73ko]Start SQL Server Management Studio Express (SSMSE), (if you don’t have this please install it from [url=http://go.microsoft.com/fwlink/?LinkId=64064:30nv73ko]here.[/url:30nv73ko])[/*:m:30nv73ko]
[*:30nv73ko]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) [/*:m:30nv73ko]
[*:30nv73ko]Once you have connected and opened the utility you will want to expand the node for your server name as located in step 2[/*:m:30nv73ko]
[*:30nv73ko]Right Click on the "Databases" node and select "Create New Database"[/*:m:30nv73ko]
[*:30nv73ko]Specify a name for your database, I will use DotNetNuke455 for this example, then click create [/*:m:30nv73ko]
[*:30nv73ko]Now expand the "Security" node, then right click on "Logins" and select add[/*:m:30nv73ko]
[*:30nv73ko]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 [url=http://www.hostmysite.com/support/vps/windows/mixedmode/:30nv73ko]this[/url:30nv73ko] to enable mixed mode on your server) [/*:m:30nv73ko]
[*:30nv73ko]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. [/*:m:30nv73ko]
[*:30nv73ko]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[/*:m:30nv73ko][/list:u:30nv73ko] 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.
[list=1:30nv73ko]
[*:30nv73ko]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[/*:m:30nv73ko]
[*:30nv73ko]Right click on your newly created file and select "Sharing and Security"[/*:m:30nv73ko]
[*:30nv73ko]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.[/*:m:30nv73ko]
[*:30nv73ko]Click "Add.."[/*:m:30nv73ko]
[*:30nv73ko]In the textbox type ASPNET if on Windows 2000/XP or NETWORKSERVICE if on Windows 2K3/Vista, then press ok[/*:m:30nv73ko]
[*:30nv73ko]Under permissions for this account check the box for full control, then press "Ok" to save the changes[/*:m:30nv73ko]
[*:30nv73ko]Open the DotNetNuke 4.5.5 Install Zip package[/*:m:30nv73ko]
[*:30nv73ko]Select "Extract All Files/Folders" [/*:m:30nv73ko]
[*:30nv73ko]For the extraction location select the folder you created in step 1[/*:m:30nv73ko]
[*:30nv73ko]Once all files have been extracted you need to edit the "Web.config" file located in the root of the DotNetNuke folder[/*:m:30nv73ko]
[*:30nv73ko]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 [url=http://www.connectionstrings.com/:30nv73ko]http://www.connectionstrings.com[/url:30nv73ko] for assistance with other formats
[img:30nv73ko]http://www.mitchelsellers.com/Portals/1/Articles/Images/web_config_Settings.jpg[/img:30nv73ko][/*:m:30nv73ko]
[*:30nv73ko]Also inside the web.config look for a setting called <add name="AutoUpgrade" value="True" />, change the value on this to "False"[/*:m:30nv73ko]
[*:30nv73ko]Lastly inside the web.config look for a setting called <add name="UseWizard" value="True" />, change the value on this to "False"[/*:m:30nv73ko]
[*:30nv73ko]Save the modified document[/*:m:30nv73ko][/list:o:30nv73ko]
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.

[size=130:30nv73ko]Setup Virtual Directory and Start DotNetNuke[/size:30nv73ko]

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.
[list=1:30nv73ko]
[*:30nv73ko]Open the IIS Snap-In tool, this can be found via "Start" -> "Settings" -> "Control Panel" -> "Administrative Tools" -> "Internet Information Services"[/*:m:30nv73ko]
[*:30nv73ko]Expand the root notes until you can expand the "Default Web Site" node
[img:30nv73ko]http://www.mitchelsellers.com/Portals/1/Articles/Images/IIS_Tree.JPG[/img:30nv73ko][/*:m:30nv73ko]
[*:30nv73ko]You should see your application folder listed under the "Default Web Site", right click on the folder and select "Properties"[/*:m:30nv73ko]
[*:30nv73ko]On the first tab, click the "Create" button next to the application name, you should then see DotNetNuke455 listed
[img:30nv73ko]http://www.mitchelsellers.com/Portals/1/Articles/Images/IIS_Directory_Properties.JPG[/img:30nv73ko][/*:m:30nv73ko]
[*:30nv73ko]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.
[img:30nv73ko]http://www.mitchelsellers.com/Portals/1/Articles/Images/IIS_Document_Properties.JPG[/img:30nv73ko][/*:m:30nv73ko]
[*:30nv73ko]Now, switch to the "Dierectory Security" tab[/*:m:30nv73ko]
[*:30nv73ko]Click "Edit" in the "Anonymous access and authentication control"[/*:m:30nv73ko]
[*:30nv73ko]Ensure that a checkmark is included in the "Anonymous Access" box at the top of the screen then click "Ok" to exit[/*:m:30nv73ko]
[*:30nv73ko]Now switch to the "ASP.NET" tab and ensure that "2.0.50727" is selected for the ASP.NET version[/*:m:30nv73ko]
[*:30nv73ko]Click "Ok" to save your changes and complete the IIS setup[/*:m:30nv73ko]
[*:30nv73ko]Now open Internet Explorer and navigate to "http://localhost/DotNetNuke455/Install/install.aspx[/*:m:30nv73ko]
[*:30nv73ko]You should see some test indicating the DNN installation progress then a link that says "Click here to access your portal"[/*:m:30nv73ko][/list:o:30nv73ko]
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.

May 27, 2009 - DotNetNuke    Comments Off on Disable Search Feature in DotNetNuke

Disable Search Feature in DotNetNuke

If you want to
remove
the ‘
Search
Web’ and ‘
Search
Site’ radio buttons from your DotNetNuke instance, you will have to open up the ascx for whatever skin you are using, and change the markup for the skin object like so:

[code:2qscbsur]
<dnn:SEARCH runat="server" id="dnnSEARCH" showWeb="False" showSite="False" />[/code:2qscbsur]

May 27, 2009 - Old    Comments Off on Importing Outlook Express Messages (DBX files) into Windows

Importing Outlook Express Messages (DBX files) into Windows

I received a question from a user who had recently upgraded from XP and they wanted to know how to import their Outlook Express DBX files into the Vista and the new email client called Windows Mail. The Outlook Express files in question are DBX files which store user emails. To get these files into Windows Mail isn’t a straightforward task and here’s the process:

[b:lq762e29]To import from the Outlook Express into the Windows Mail do the following:[/b:lq762e29]
[list=1:lq762e29]
[*:lq762e29]Make a new folder under the current user’s Documents, such as Documents\Oldmail. This directory needs to be within the user’s space so as not to prevent possible access permissions problems. [/*:m:lq762e29]
[*:lq762e29]Copy all the dbx files that you have backed-up into this folder, making sure that folders.dbx is included. [/*:m:lq762e29]
[*:lq762e29]Make sure none of these files are ‘Read only’ otherwise the import will fail.
To do this Go to ‘Edit / Select’ all in Windows Explorer and select all the dbx files. Then right click on the selection and choose Properties and ensure that the read only attribute of the files is unchecked. [/*:m:lq762e29]
[*:lq762e29]In Windows Mail go to ‘File / Import Messages’ and choose ‘Outlook Express 6’ format and choose to import from a directory. If you have a mail account open, be sure to select the [b:lq762e29]Local Folders[/b:lq762e29] item, and not any subfolder, such an [b:lq762e29]Inbox[/b:lq762e29], etc.
[url=http://blogs.technet.com/blogfiles/james/WindowsLiveWriter/ImportingOutlookExpressDBXfilesintoWindo_9C34/image.png:lq762e29][img:lq762e29]http://blogs.technet.com/blogfiles/james/WindowsLiveWriter/ImportingOutlookExpressDBXfilesintoWindo_9C34/image_thumb.png[/img:lq762e29][/url:lq762e29]

[url=http://blogs.technet.com/blogfiles/james/WindowsLiveWriter/ImportingOutlookExpressDBXfilesintoWindo_9C34/image_1.png:lq762e29][img:lq762e29]http://blogs.technet.com/blogfiles/james/WindowsLiveWriter/ImportingOutlookExpressDBXfilesintoWindo_9C34/image_thumb_1.png[/img:lq762e29][/url:lq762e29]

[url=http://blogs.technet.com/blogfiles/james/WindowsLiveWriter/ImportingOutlookExpressDBXfilesintoWindo_9C34/image_2.png:lq762e29][img:lq762e29]http://blogs.technet.com/blogfiles/james/WindowsLiveWriter/ImportingOutlookExpressDBXfilesintoWindo_9C34/image_thumb_2.png[/img:lq762e29][/url:lq762e29]

[url=http://blogs.technet.com/blogfiles/james/WindowsLiveWriter/ImportingOutlookExpressDBXfilesintoWindo_9C34/image_3.png:lq762e29][img:lq762e29]http://blogs.technet.com/blogfiles/james/WindowsLiveWriter/ImportingOutlookExpressDBXfilesintoWindo_9C34/image_thumb_3.png[/img:lq762e29][/url:lq762e29] [/*:m:lq762e29]
[*:lq762e29]Use the ‘Browse’ button to go to the directory of dbx files. Make sure that when you set the directory that the path is correct (NOTE: Vista can put the wrong path in here sometimes, so instead of c:\Documents\Oldmail it may put c:\Documents\Oldmail\Documents\Oldmail, so just make sure this is right, if not, change it. [/*:m:lq762e29]
[*:lq762e29]Finally select the files from which you wish to import messages and click ‘Import’ and everything should work ok.[/*:m:lq762e29][/list:o:lq762e29]

May 27, 2009 - Old    Comments Off on Sync’ing Lotus Notes, Google, and Outlook calendars

Sync’ing Lotus Notes, Google, and Outlook calendars

I have a Blackberry which does a great job staying in sync with my Lotus Notes calendar. My goal is to have this calendar info available on my Outlook calendar which is on a different, disconnected computer. My initial thought was to use Google calendar as a go-between these 2 calendars (Notes & Outlook). Lotus Notes is my main calendar, and unfortunately, it doesn’t allow for 2-way sync’ing with a Google calendar.
Another constraint is that I cannot install any apps or plug-ins to my Blackberry (IT policy prevents it). So my Lotus Notes calendar is the main source calendar. This calendar syncs wirelessly with my Blackberry, so changes can be made to either of these two calendars. From there, a few one-way sync’s are done to keep my Outlook calendar updated.
Here’s how it works…[list:23uchxm5]
[*:23uchxm5]Periodically, my Lotus Notes calendar is exported to a .CSV file using a Lotus Notes agent. [/*:m:23uchxm5]
[*:23uchxm5]I then import this file into my Google calendar. Luckily, the import process is able to recognize duplicate items and handles them fine. [/*:m:23uchxm5]
[*:23uchxm5]With my Google calendar updated, I use the Google Calendar sync program on my computer with Outlook installed to keep them in sync. The Google Calendar sync program can be found here:
http://www.google.com/support/a/users/b … opic=14096 [/*:m:23uchxm5]
[*:23uchxm5]The only limitations are that changes cannot be made on the Outlook calendar because they won’t be sycn’ed back to Lotus Notes. So changes must be made either on my Lotus Notes or Blackberry calendars. [/*:m:23uchxm5][/list:u:23uchxm5]
[b:23uchxm5]Here’s what the setup looks like…[/b:23uchxm5]
[img:23uchxm5]http://localgeek.is-a-geek.com/forum/richedit/upload/2k114ae1c489.jpg[/img:23uchxm5]
Lotus Notes – Create an Agent[list=1:23uchxm5]
[*:23uchxm5]In Lotus Notes, open your Calendar view. [/*:m:23uchxm5]
[*:23uchxm5]Go to [b:23uchxm5]Create | Agent…[/b:23uchxm5] [/*:m:23uchxm5]
[*:23uchxm5]Name the agent (for this example, it’s named [b:23uchxm5]Notes Calendar Export[/b:23uchxm5]). [/*:m:23uchxm5]
[*:23uchxm5]In the [b:23uchxm5]Runtime [/b:23uchxm5]section, be sure that the [b:23uchxm5]Target [/b:23uchxm5]menu is set to [b:23uchxm5]All selected documents[/b:23uchxm5]. [/*:m:23uchxm5]
[*:23uchxm5]Close the agent dialog box. [/*:m:23uchxm5]
[*:23uchxm5]In the [b:23uchxm5]Run [/b:23uchxm5]section at the top of the page, select the pulldown menu option called [b:23uchxm5]LotusScript[/b:23uchxm5]. [/*:m:23uchxm5]
[*:23uchxm5]In the left pane, click to select the [b:23uchxm5]Initialize [/b:23uchxm5]item. [/*:m:23uchxm5]
[*:23uchxm5]In the right page, you’ll see 2 lines of code labeled [b:23uchxm5]Sub Initialize [/b:23uchxm5]and [b:23uchxm5]End Sub[/b:23uchxm5]. [/*:m:23uchxm5]
[*:23uchxm5]Paste the agent code (see [url=http://localgeek.us/Forum/tabid/290/forumid/3/threadid/170/scope/posts/Default.aspx:23uchxm5]this thread[/url:23uchxm5]) between these 2 lines. [/*:m:23uchxm5]
[*:23uchxm5][b:23uchxm5]Save [/b:23uchxm5]and [b:23uchxm5]close[/b:23uchxm5]. [/*:m:23uchxm5][/list:o:23uchxm5]To run the Agent[list=1:23uchxm5]
[*:23uchxm5]Open your Lotus Notes calendar. [/*:m:23uchxm5]
[*:23uchxm5]Click on the [b:23uchxm5]Meetings[/b:23uchxm5] tab. [/*:m:23uchxm5]
[*:23uchxm5]Select ALLitems.
Note: Selecting all items using [b:23uchxm5]CTRL+A [/b:23uchxm5]or [b:23uchxm5]Edit | Select All [/b:23uchxm5]caused an import error, but if I manually check each item to select it (start at top and run to the bottom of the list), it works ok. [/*:m:23uchxm5]
[*:23uchxm5]Go to [b:23uchxm5]Actions | Notes Calendar Export[/b:23uchxm5]. [/*:m:23uchxm5]
[*:23uchxm5]The file will be saved as [b:23uchxm5]c:\MyNotesCalendar.csv[/b:23uchxm5]. [/*:m:23uchxm5][/list:o:23uchxm5]To import into Google Calendar[list=1:23uchxm5]
[*:23uchxm5]Sign in to your Google account. [/*:m:23uchxm5]
[*:23uchxm5]Select the [b:23uchxm5]Calendar [/b:23uchxm5]link at the top. [/*:m:23uchxm5]
[*:23uchxm5]In the [b:23uchxm5]My Calendars [/b:23uchxm5]section, click the pulldown menu next to [b:23uchxm5]Add, [/b:23uchxm5]and select [b:23uchxm5]Import Calendar[/b:23uchxm5]. [/*:m:23uchxm5]
[*:23uchxm5]Browse to the [b:23uchxm5]MyNotesCalendar.csv [/b:23uchxm5]file and click [b:23uchxm5]Import[/b:23uchxm5]. [/*:m:23uchxm5][/list:o:23uchxm5]

[b:23uchxm5]Help for Google Calendar sync can be found here:[/b:23uchxm5]
http://www.google.com/support/a/users/b … opic=14097

May 27, 2009 - Old    Comments Off on Disable Aero on Windows Vista

Disable Aero on Windows Vista

[i:ufhrgmey](from [/i:ufhrgmey][url=http://www.howtogeek.com/howto/windows-vista/disable-aero-on-windows-vista/:ufhrgmey][i:ufhrgmey]http://www.howtogeek.com/howto/windows-vista/disable-aero-on-windows-vista/[/i:ufhrgmey][/url:ufhrgmey][i:ufhrgmey])[/i:ufhrgmey]
The Windows Vista Aero glass interface will only work if you have a high-powered video card. For the select few of you that do, you can also disable it so you can act like you don’t really care about cool stuff. (But you do)

You might also have some performance reasons for disabling it… to do so, just right-click on the desktop and choose Personalize. Click the “Window Color and Appearance” link:

[img:ufhrgmey]http://www.howtogeek.com/wp-content/uploads/2007/01/WindowsLiveWriter/DisableAeroonWindowsVista_F507/image%7B0%7D%5B1%5D.png[/img:ufhrgmey]

Then in the next screen, click the link near the bottom for “Open classic appearance properties for more color options”

[img:ufhrgmey]http://www.howtogeek.com/wp-content/uploads/2007/01/WindowsLiveWriter/DisableAeroonWindowsVista_F507/image%7B0%7D%5B3%5D.png[/img:ufhrgmey]

Now you should be able to disable Aero altogether by choosing Windows Vista Basic in this screen:

[img:ufhrgmey]http://www.howtogeek.com/wp-content/uploads/2007/01/WindowsLiveWriter/DisableAeroonWindowsVista_F507/image%7B0%7D%5B4%5D.png[/img:ufhrgmey]