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.

Tuesday, June 1, 2010

Sharing Session Between 2 Web Application

The Session State server is not running for that purpose. It is designed to provide a separation of state from the worker process, and can thus be used for things like web gardens/farms and for some degree (albeit lightweight) of fault tolerance.


Each application receives its own store in the state server, and state cannot be shared between applications this way. The only thing wrong with the code is that you are attempting to use the state server for something that it's not designed to do.


If you want to share data between applications, I'd recommend that you use a database.

Friday, May 7, 2010

Drupal

Drupal is a free software package that allows an individual, a community of users, or an enterprise to easily publish, manage and organize a wide variety of content on a website. Hundreds of thousands of people and organizations are using Drupal to power an endless variety of web sites, including


  • Community web portals

  • Discussion sites

  • Corporate web sites

  • Intranet applications

  • Personal web sites or blogs

  • Aficionado sites

  • E-commerce applications

  • Resource directories

  • Social Networking sites

The built-in functionality, combined with thousands of freely available add-on modules, enables features such as:



  • Electronic commerce

  • Blogs

  • Collaborative authoring environments

  • Forums

  • Peer-to-peer networking

  • Newsletters

  • Podcasting

  • Picture galleries

  • File uploads and downloads

Drupal is develop using PHP language. beside that Drupal has been deployed successfully on both Apache and IIS.


more information about Drupal, please refer to http://drupal.org/



Wednesday, May 5, 2010

DotNetNuke

DotNetNuke is the leading Web Content Management Platform for Microsoft .NET. DotNetNuke can be used as a web content management system (CMS) for simple web sites or as a powerful application development framework which enables businesses to quickly build and deploy feature-rich, interactive web sites and applications in Microsoft .NET.



Click here to
Download Dotnetnuke



DotNetNuke Screen Shot version 5

Monday, April 26, 2010

Access Denied Running STSADM in Window Server 2008

if you who are running Windows Server 2008 and are getting "Access Denied" errors when trying to run any command in STSADM.

  • Make sure you're running the command prompt as an administrator (Right click command prompt in the start menu and select "Run as Administrator..."
  • Make sure the username you're running under is set as farm administrator as well as a local administrator on the server.
  • Make sure User Account Control is switched off (Control Panel > User Accounts). This is only really necessary if the above didn't work.
There was also a bug in older builds of MOSS 2007 (and possibly WSS 3.0?) that under specific conditions would cause Access Denied errors when running certain STSADM operation such as "import". These can be fixed by patching to SP2.