Monday, July 19, 2010

log error in DotNetNuke

(new DotNetNuke.Services.Log.EventLog.EventLogController())
.AddLog("Exception", ex.ToString(), DotNetNuke.Entities.Portals.PortalSettings.Current,
-1, DotNetNuke.Services.Log.EventLog.EventLogController.EventLogType.ADMIN_ALERT);


or


catch (Exception ex)
{
DotNetNuke.Services.Exceptions.Exceptions.LogException(ex);
//throw;
}

Generate a self-signed certificate

makecert -pe -n "cn= www.domain.co.nz " -ss my -sr LocalMachine -r " www.domain.co.nz " -sky exchange

Thursday, July 8, 2010

Dotnetnuke Logging to the EventLog

First, create an instance of the EventLogViewer...

Dim objEventLog As New DotNetNuke.Services.Log.EventLog.EventLogController

Next, log the event you wish to trap...

objEventLog.AddLog("Sample Message", "Something Interesting Happened!", PortalSettings, -1, DotNetNuke.Services.Log.EventLog.EventLogController.EventLogType.ADMIN_ALERT)

Friday, July 2, 2010

Blackra1n ASL. dll Error

Go to: C:\ program files\common files\apple\apple application support


Than copy blackra1n into that folder.

Iphone restore error 3194 fix

Navigate to “c:\windows\system32\drivers\etc\” and open the ‘hosts’ file in notepad. To do so, right click on the file and select Open With->Notepad. At the end of the document, add this string “74.208.10.249 gs.apple.com”.