Archive for October, 2010

Understanding DNN User Registration

October 27, 2010

Most modern websites and web applications require some form of user authentication in order to “unlock” their entire feature set. Social networking sites and message boards are perfect examples: you are asked to register before making your first contribution.

In DotNetNuke, a valid user profile forms the basis for the role-based permission model.

It starts with the [USER] or <dnn:User runat=”server” id=”dnnUser” /> skin object deceleration, which generates a “Register” link for unauthentic users to the registration form. The procedure of collecting user profiles is implemented via Private, Public, or Verified user registration types. The only real difference between the 3 of them is the degree of human intervention in the authorization process:

  • Private – ensures that the DNN Admin manually screens all website registrations and grants or denies portal access accordingly.
  • Public – there is no manual intervention or screening whatsoever, meaning the user is granted access to the portal environment immediately after registration.
  • Verified – located somewhere in between Private and Public, DNN emails a verification code to the registering user to “verify” her / his identity. The user then has to take the code back to the website to complete the registration process.

The following is a walkthrough of configuring and customizing Private DNN registrations. However, with slight modifications, it’s just as applicable to Public and Verified registration.

Enable Private Registration

  • log in with either DNN Admin or Host (SuperUser) privileges
  • navigate to Admin > Site Settings > Advanced Settings > Security Settings >User Registration and tick Private

Customize Notification Emails & Register Page

  • navigate to Admin > Languages > Language Editor in DNN 4 and Host > Languages > Edit Default Language > Edit Language Files in DNN 5
  • use your browser (Ctrl+F) to search GlobalResources.resx for email_user_registration_administrator_body.text and email_user_registration_administrator_subject.text to customize the notification email that gets send to the DNN Administrator
  • use your browser (Ctrl+F) to search GlobalResources.resx for email_user_registration_private_body.text and email_user_registration_private_subject.text to customize the notification email that gets send to the registering user
  • use your browser (Ctrl+F) to search SharedResources.resx for PrivateMembership.Text to customize the default copy of the registration control / page

Manage Users

  • DNN Admin (or any other user with the proper permissions in DNN 5): navigate to Admin > User Accounts to authorize portal access and to manage security role membership

Manage Profile Properties and User Settings

  • by default, the DNN registration form asks for User Name, First Name, Last Name, Display Name, Email Address, and Password
  • to edit the default fields or to collect additional information during registration, navigate to Admin > User Accounts > Manage Profile Properties
  • to manage general user settings such as min password length, password aging, redirect after login, redirect after logout, captcha, etc, navigate to Admin > User Accounts > User Settings
Advertisements

Error Reporting in MS Dynamics CRM

October 26, 2010

Have you ever had the error window pop up on you, and wondered what’s going on?

Whenever you see the window, it means we’ve encountered some sort of unexpected error. This is your chance to help us improve the quality of our product! By clicking the button marked “Send Error Report”, you’re giving us valuable information about the error you’ve encountered, and allowing us to analyze and fix the problem in upcoming releases.

When you click on the link “View the data that will be sent to Microsoft”, you can see everything that will be uploaded.

The data that we receive from you is sanitized to remove your personal information, while still retaining the salient points that we need to track down the problem. Every time you send us an error report, it gives us more valuable information that we can use to find out what’s going wrong and correct it. We’ve already been able to use information like this to track down some issues with CRM 4, and fixes for those are in the pipeline to be released in future Update Rollups. So the more information we get, the more we can improve CRM!

If you want to help us out by sending this information, but don’t want to be bothered when these errors happen, it’s easy to have CRM automatically upload reports for you. You can access your settings either by clicking the “Change error notification settings” on the error dialog, or by clicking “Tools” > “Options…” on the global menu bar. On the options page, choose the “Privacy” tab. By selecting the second option (shown below), you indicate to us that we can automatically upload error reports whenever errors are encountered.

Now you can help us find and fix these bugs, and you won’t be bothered by these pop-ups getting in the way of your work!

As a side note, we use an infrastructure called “Watson” to do our error reporting. Chris Pratley has a wonderful posting about the history of Watson available at http://blogs.msdn.com/chris_pratley/archive/2004/02/04/watson.aspx.

Promoting DNN User to Super User

October 22, 2010

If you have an user account that you would simply like to promote to a host account it is a very simple single SQL Script. This process can be very helpful if you are looking to take for example your personal account and promote it to a host to fix errors. However, you want to be sure that you are careful which account you promote as anyone that would log in with this account after the change will have host permissions!

The Script

To update the user account simply run the below script, be sure to put your username in for the username.

UPDATE users
SET IsSuperUser 1
WHERE username ‘TestUser’

August 2010 Cumulative Update for SharePoint has been released

October 15, 2010

The product group released the August 2010 Cumulative Update for the SharePoint 2007 and 2010 product family.

The KB articles are available and the fixes can already be downloaded.

As soon as the KB articles are live they can be found at the following locations:

  • KB 2276474 – WSS 3.0
  • KB 2276472 – MOSS 2007
  • KB 2352346 – SharePoint Foundation 2010
  • KB 2352342 – SharePoint Server 2010
  • KB 2352345 – SharePoint Server 2010 with Project Server

As you see there is a separate Full Server Package for SharePoint Server 2010 with Project Server which simplifies patching of this common installation.

The Full Server Packages for August 2010 CU can be downloaded here:

After installing the fixes you need to run the SharePoint 2010 Products Configuration Wizard on each machine in the farm.

For more details on SharePoint updates have a look at the Update Center for Microsoft Office, Office Servers, and Related Products.

OpenVPN, the smart way

October 11, 2010

Multi-Platform Client

OpenVPN Client availability in multi-OS environment ranging from Windows XP, VISTA, Windows 7, MAC, Linux, and Mobile devices.

Server Portability

OpenVPN Access Server runs on many Linux OS platforms and virtual environments.

Multi-Mode Client

OpenVPN Client can run in various modes ranging from a simple remote user accessing the private network resources to remote gateway interconnecting multiple private networks.

Multi-Mode Access

OpenVPN supports Layer 2 and Layer 3 network access capabilities.

Access Control

Allow/ Deny Users or Groups granular access to Network resources/ services, groups, and users.

Dynamic Application Deployment

Dynamically deploy and execute any application, client scripts, and python scripts on a client machine based on specified events

Host Checking

Verifying that the Client Machine contains up-to-date and proper applications

Multi-Authentication Methods

Supports PAM, LDAP, RADIUS, and Local DB methods.

Scalability

Scales from 10 to 100,000s concurrent VPN sessions/ connections.

High Availability

Supports Active/ Standby failover mechanism.

Statistics and Reporting

Detailed statistics and log reporting of users activities.

Multi-Level Security

Various security levels controlled by network administrator. This is ranging from simple to complex and strict authentication policies.

Flexible DMZ Configuration

Any network resource within the private network can be exposed and be accessible through DMZ

Datagram Transport Service

Supports both Datagram Transport Layer Service (DTLS) based on UDP and Transport Layer Service (TLS) based on TCP.

Application Programming Interface (API)

Supports API, enabling third-party applications access to Server and Client services.

Download

Project 2010 Quick Start Training – Upgrade and Migration

October 8, 2010

We have significantly improved the upgrade process to Project 2010 so that it is now easier and more reliable. Upgrading from 2007 is as easy as backing up the databases and attaching them to the newly installed Project Server 2010, but being well prepared is key. This session of the Quick Start training walks you through the process and outlines key resources and tools.

Project 2010 Quick Start Training – Planning, Design, and Deployment

October 7, 2010

In the Planning, Design, and Deployment module of the Quick Start training, we introduce Project Server 2010 architectural changes and typical farm topologies, discuss scenarios and best practices to deploy within a SharePoint farm, and present hardware and software requirements as well as deployment procedure.