Tuesday, March 27, 2012

How to add a Active Directory Domain Controller to Windows server 2008

This Active directory configuration I have did to configure VPC with SharePoint and  Active Directory services.

First you need to run the Active Directory service binary installation. therefore you need to run the “dcppromo”. Thus you can simply type it in the run window to execute it.

image

Then it checks the Domain services installations and prompt you for selection mode.

image

Select Use advanced mode installation and proceed to next.

image

This will prompt a compatibility note. So make it next to proceed. Then it will ask for forest configuration. since this is a new configuration we want to select create a new forest root domain.

image

after that it is asking domain name for the forest. therefore you can provide a fully qualified name for the domain.

image

the it will prompt for net bios name (you can leave the default)

image

After that it will ask the functionality level. I choose Windows Server R2. You can see the available functionalities in the description itself.

image

And Click the DNS.

image

Then it will warn for zone resolution. Make it yes to proceed.

image

Specify password for Admin Account to manage AD.

image

The proceed it to next.

image

after doing the configuration, wizard will take you to finish page.

image

Now you are done. Smile

Thursday, March 15, 2012

Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list

I recently installed visual studio 2010 and then  installed IIS server. But when I tried to run a aspx application it gave this error.

I found that because of not registering ASP.NET properly. So I ran the reg command and it worked for me.

image

windows\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe –i

the bold one represent your framework version.

Thursday, March 8, 2012

SharePoint Workflow not publishing

Recently i encountered with a major problem. I created a Workflow using a SharePoint designer and publish it. But when i did some changes and publish it is publishing and SharePoint also  showing it as a latest version by putting existing one as a previous version. But  the functionality remain the same. It took many days to identify actually workflow is not publishing to the server, it will publish same old workflow though i modify it.

SharePoint Designer cache workflow activities in the local user folder. thus it is actually publishing the cached workflow but not the original one.

so use following steps to clear the designer cache.

Go to C:\Users\username

and then go to \AppData\Local\Microsoft\WebsiteCache (AppData is a hidden folder so you can use the explorer to access the folder)

and Delete the cache which named in your site name.

Friday, March 2, 2012

InfoPath Forms not working (Rendering) in My Custom Master Page in SharePoint 2010


Recently i have created a master page based on the StarterMaster page giving in the Codeplex/Msdn. But i got a problem that InfoPath forms are not working in the master page i created.

By analyzing the  V4.master page i found that Body tag Java Script is different.


<body onload="javascript:if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();">