Tuesday, October 12, 2010

Dotnetnuke UserController.UserLogin

Dotnetnuke Login through API

Imports DotNetNuke.Entities.Portals
Imports DotNetNuke.Entities.Users

Function code to login to dotnetnuke CMS

Dim currentPortal As DotNetNuke.Entities.Portals.PortalSettings
currentPortal = PortalController.GetCurrentPortalSettings()
UI = UserController.GetUserByName(0, txtUserID.Text.Trim)
UserController.UserLogin(0, UI, currentPortal.PortalName, Request.UserHostAddress, True)

Friday, October 8, 2010

Manual Removal of SharePoint Services 3.0

Open IIS and delete the 2 websites (sharepoint and sharepoint admin sites)

Then go into services and stop any services relating to sharepoint.
Also, stop the world wide web service.

Stop the following sharepoint services:
-Windows SharePoint Services Administration
-Windows SharePoint Services Search
-Windows SharePoint Services Timer
-Windows SharePoint Services Tracing
-Windows SharePoint Services VSS Writer

Then into add/remove programs and remove sharepoint 3.0. The uninstall will then run.