DotNetNuke Source Install System.NullReferenceException

Error Message:

Server Error in ‘/DotNetNuke_2′ Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:

 

Line 930:  ' first call GetProviderPath - this insures that the Database is Initialised correctly
Line 931:  'and also generates the appropriate error message if it cannot be initialised correctly
Line 932:  strMessage = DataProvider.Instance().GetProviderPath() 
Line 933:
Line 934:  ' get current database version from DB

Luckily this is a quick fix… Rename the ‘release.config’ to ‘web.config’ and all is good!

Windows XP missing the Security Tab

To reveal the Security tab follow three simple steps:

  1. Open Windows Explorer, and choose Folder Options from the Tools menu.
  2. On the View tab, scroll to the bottom of the Advanced Settings and clear (click) the check box next to “Use Simple File Sharing.”
  3. Click OK to apply the change, and you should now have a Security tab when viewing the properties of a file on an NTFS volume.

Additionally you can visit this link to get more info :

How to Set Security in Windows XP Professional That Is Installed in a Workgroup : http://support.microsoft.com/?kbid=290403

HTML Form Submissions from DNN/ ASP.NET

Source: Mitchel Sellers Blog

You can do this with a simple javascript trick.

Step 1. Remove the <Form> </Form> tags from your PayPal “Buy Now” code.

Step 2. Add onClick=”this.form.action=’https://www.paypal.com/cgi-bin/webscr’;his.form.submit();return false;”

to the buy now input button.

Step 3. Paste what is left into the html module

What it does is change the action for the Form that is already embedded into the DotNetNuke default.aspx page.

Note that in Step 2 I added a ‘return false;’. This is because intermittently the page is submitted twice… This gets rid of that issue.