Sunday, December 20, 2009

Microsoft Desktop Optimization Pack

Recently I got an opportunity to participate 3 day training on MDOP held by Microsoft. In this post I will provide a brief introduction.

Microsoft Desktop Optimization Pack (MDOP) is a suite of solutions for common IT problems faced by organizations. MDOP consist of six different technologies that simplify the application management process. After the purchase of MDOP license it is possible to consume all of those six technologies and the cost of a CAL is very low.

This is highly recommended to large/medium enterprises where this technology will be a life saver for the IT department and for the enterprise users.

Following are the 6 technologies that form the MDOP suite.

App-V (Microsoft Application Virtualization)

This is the most important product of the MDOP. It has the capability of removing compatibility issues among the applications. As an example, we can’t execute Microsoft Office Word 97 and Microsoft Office Word 2007 together. But using App-v it is possible to achieve that task very easily. The secret behind the technology is that those applications are packaged with the OS components (e.g.: system services and configurations) and they are not shared with other apps in the runtime.

Another great feature of App-V is that it is possible to manage enterprise applications centrally. So application installation, updates and uninstallation can be done centrally.

Furthermore it is possible to create target audiences for the applications so unnecessary applications are not installed.

Another big advantage is that applications are streamed downed from the App-v server (in the first time and only the changes afterwards) and run on the client machine. So a connection to the App-v server is not required to run the application unlike in Terminal services where the application is run on the server.

Med-V (Microsoft Enterprise Desktop Virtualization)

Med-V is used to remove application to operating system compatibility issues. As an example we can’t run IE 6 on Vista. But using Med-V it is still possible to run those legacy applications latest Oss. It is achieved by installing those legacy applications on a VPC and hiding the guest OS background. So users can still see IE 6 on their Vista start menu.

Tuesday, December 2, 2008

Active Directory Membership Provider with Forms Authentication in MOSS 2007

ASP.NET 2.0 Provider model has introduced a set of rich features to store states using a layer of providers . So users are not needed to directly call to databases or active directory. Some of these Providers are SqlMembershipProvider, ActiveDirectoryMembershipProvider, SqlSiteMapProvider ..etc .

The ASP.NET 2.0 Provider model has built in a way that the main functionality of the system is separate from the data sources. It means we can easily change data sources without harming the logic by simply changing providers. ASP.NET Membership Provider works in a similar way where controls like logins and membership service talk to membership data sources through data providers.

MOSS 2007 can use Active Directory as the data source using the ActiveDirectoryMembershipProvider.You can establish forms authentication with AD using the following procedure

in the web.config add following LDAP connection string
   1: < connectionstrings> 
   2: < add connectionstring="LDAP://10.11.12.13/CN=MLEARNINGTEST,
   3:       DC=IRONONEMS" name="ADServices"> 
   4: </connectionstrings> 

After that provide information on the membership provider

   1: < membership defaultprovider="ADProvider"> 
   2:   < providers> 
   3:     < add name="ADProvider" 
   4:       type="System.Web.Security.ActiveDirectoryMembershipProvider, 
   5:       System.Web, Version=2.0.0.0, Culture=neutral,
   6:       PublicKeyToken=b03f5f7f11d50a3a" 
   7:       connectionstringname="ADServices" 
   8:       connectionusername="MLEARNINGTEST\Test" 
   9:       connectionpassword="****"           
  10:       attributemapusername="sAMAccountName"> 
  11:     </add> 
  12:   </providers> 
  13: </membership> 

provide above information in the web.config file of the Central Administration site as well.

Now go to Sharepoint Central Administration to include authentication provider details.

In Application Management section click on Authentication Providers and select the current web application. Click on the default provider and modify the authentication type to be Forms Authentication. Enable anonymous access and give the name of provider as ADProvider which we had entered in the web.config.

After that go to Site Collection Administrators and select the first administrators for the site from the domain specified in the ldap connection string of the ADProvider

This should switch on Forms authentication for your MOSS 2007 web application

Saturday, November 22, 2008

Recover Linux after installing Windows XP

Recently I had to repair windows xp due to some errors. But after the repair i found that i'm unable to log in to Debian because Grub boot loader is missing and instead grub windows boot loader has activated. I did some research and found out following process.

   1: sudo grub

Then grub> will appear

   1: find /boot/grub/stage1 

The reply was (hd0, 8) so i had to use them as parameters in later commands

   1: root (hd0,8) 
   2: setup (hd0) 
   3: quit 

Easy as that .. that did solve my problem

Thursday, October 23, 2008

MOSS 2007 "Cannot complete this action please try again" Error

Recently in a SharePoint site i came across this error when i was accessing the Default.aspx page. A page refresh would bring the actual page but error is so annoying. I did some research in to the matter and found out the problem resides with the Shared Service Provider(SSP) associated with my site.

I couldn't access the default SSP from the sharepoint central administration as well.the link did not work. So the trick was to create new SSP with a new sharepoint website and bring the default website(whatever you need to work properly) to the new SSP. then make that SSP the default.you can delete the old SSP as it is no longer required.

Tuesday, October 21, 2008

Move a SharePoint site from one server to another

Recently i got a task to backup a running SharePoint site from a development server and to restore in another server for deployment.SharePoint server 2007 comes with a nice web interface called sharepoint central administration.in central administration there is a section for backup and restore section in Operations -> Backup and restore -> Perform a backup . although backups work (sometimes) restore jobs failed completely.

Then i tried the stsadm command which worked for me ultimately.

Using command prompt cd to the directory “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN” where the Sharepoint is installed

then type
   1: stsadm -o backup -url http://bakupsite/ -filename backup.bak

At the server you need to deploy the site,create new SharePoint site and then type

   1: stsadm -o restore -url http://restoresite/ -overwrite -filename backup.bak 

Wednesday, February 20, 2008

Toshiba Satellite with Ubuntu -the sound problem

Toshiba satellite A200 notebooks equipped with 82801G (ICH7 Family) High Definition Audio Controller which does not have built in ubuntu support.
you can either compile the module from the source or just do an apt-get which is much easier

just do this
apt-get install linux-backports-modules-2.6.22-14-generic

it will solve the problem.(i tested with gutsy but it may work with others also)

Tuesday, January 1, 2008

GSOC 2007

Although its very late....i thought of writing something about Google Summer of Code 2007.It was one of the best experience i had in my life.thanks to Google and my mentor organization(LSF - Sahana Project) i finally managed to complete my project which is regarding a Fund Management Module for Sahana(My Proposal)



Thanks Google...I love You !!!!!