Sunday, March 14, 2010

Team Foundation Server 2010 RC Installation

After a lengthy hard work we were able to install and configure the Team Foundation Server 2010 RC on Windows 2008 R2. Eventhough the installation and the configuration is easy we had some trouble with the DNS naming of the host machine (thanks to Usman – Team Lead to identifying that issue).

kick off the installation by clicking the setup file and follow the screens just clicking the next button.

clip_image002

clip_image004

clip_image006

After the completion of the installation its time to configure the TFS 2010.

clip_image002[4]

clip_image004[4]

In this situation you have to enter a authenticated user who has the administrator rights in the domain.

image clip_image008

from the following screen you can double check all your entries are valid or not by clicking the Verify button. Its one of the best feature in this configuration wizard rather messing up the things after the completion of the installation.

image clip_image014

clip_image016

clip_image018

image

image

Thursday, March 11, 2010

Missing Application Pools Folder in IIS - Windows Server 2003

to get the application pools back to the IIS please follow the steps as mentioned below:

1. In IIS Manager, expand the local computer, right-click Web Sites, and then click Properties.
2. Click the Service tab, clear the Run WWW service in IIS 5.0 isolation mode check box, and then click OK.
3. To start the WWW service, click Yes when asked if you want to restart IIS now.

WCF and Web service

Features Web Service WCF
Hosting

It can be hosted in IIS

It can be hosted in IIS, windows activation service, Self-hosting, Windows service
Programming

[WebService] attribute has to be added to the class

[ServiceContract] attribute has to be added to the class

Model [WebMethod] attribute represents the method exposed to client [OperationContract] attribute represents the method exposed to client
Operation One-way, Request- Response are the different operations supported in web service One-Way, Request-Response, Duplex are different type of operations supported in WCF
XML System.Xml.serialization name space is used for serialization System.Runtime.Serialization namespace is used for serialization
Encoding XML 1.0, MTOM(Message Transmission Optimization Mechanism), DIME, Custom

XML 1.0, MTOM, Binary, Custom

Transports Can be accessed through HTTP, TCP, Custom Can be accessed through HTTP, TCP, Named pipes, MSMQ,P2P, Custom
Protocols

Security

Security, Reliable messaging, Transactions

State state less

can manage states

Installing a SQL Server 2008 named instance – Windows Server 2008 R2

Run the setup from your SQL Server 2008 CD

clip_image002

clip_image004

Click Installation tab and click New SQL Server Stand Alone installation or add features to an existing installation.

clip_image006

clip_image008

clip_image010

clip_image012

clip_image014

clip_image016

Accept the licensing terms.

clip_image020

clip_image022

Give a name to the SQL Server instance.

clip_image024

clip_image026

clip_image028

i am not going to install this particular instance in mixed mode hence i have selected the windows authentication mode. Setup wont allow you to go to next step unless if you didn't specify a administrator account. I have added the current user credential as one of the administrator account for the SQL Server.

clip_image032

clip_image036

clip_image038

clip_image040

clip_image042

clip_image044

clip_image046

clip_image048

clip_image050

http://support.microsoft.com/kb/955499

http://support.microsoft.com/kb/956173

Wednesday, March 10, 2010

Uninstalling SQL Server 2008 Instance

please follow the steps mentioned below to uninstall a named instance of a SQL Server 2008. For the reference of others I have published the screen shots to help you guys in some way. Please make sure before uninstalling that none of the SQL services are not used by other applications.

Go to the control panel => Programs => Programs and Features

clip_image002

Browse to SQL Server 2008 and click the Uninstall/Change button above.

clip_image004

Click continue when a prompts comes and make sure that no one is logged into the server.

Click Remove and please follow the screen shots as mentioned below.

clip_image006

clip_image008

clip_image010

Select the SQL Server 2008 instance to uninstall.

clip_image012

Select the features belonging to the instance that you are going to uninstall and keep the shared features.

clip_image014

clip_image016

clip_image018

clip_image020

clip_image022

At the time of uninstallation process I had problem with uninstalling the reporting services and the error was:

"An error has occurred: Access to the path '<Path of perf-ReportServer-rsctr.dll>' is denied"

Please refer this link to resolve the error:

To resolve this issue, close or stop any process or application that may be using the Report Server performance counter, and then try to uninstall Report Server.

http://support.microsoft.com/kb/956173

Wednesday, March 03, 2010

VS 2008 SP1 ISO image

when we are installing VS 2008 SP1, initially we can download a .exe from the microsoft site and upon executing that file we should have the internet connection as it fetches all the latest patches online.

if we need to apply the same SP1 to multiple machines then it will be really a headache, so rather doing like that from the following link we can download the ISO image file.

http://www.microsoft.com/downloads/details.aspx?FamilyId=27673C47-B3B5-4C67-BD99-84E525B5CE61&displaylang=en

You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5.

When you are trying to install Visual Studio 2008 professional edition on a Windows 2008 R2 suddenly you will be prompted to an error saying "You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5."


In this case what you have to do is, from the Service Manager install the .NET Framework 3.5.1 Feature as Windows 2008 R2 is integrated with .NET Framework 3.5.


so before installing VS 2008 make sure that you are enabling this feature .NET Framework 3.5.1 Features via the Add Features Wizard in Server Manager.


Wednesday, February 24, 2010

Deploying BizTalk 2009 Applications

After long time i had to refresh my knowledge about deploying a BizTalk application. I did all these things some time back and totally forgot the things what i did. Anyhow after developing a small orchestration sample in VS 2008, i tried deploying the application. It successfully deploys but i couldn't see the Application in the Biz Talk Administration Console. totally confused and was searching for the deployed Application name after restarting the service for one, two, three times. I had to make sure is that the schema, map were deployed or not. When i checked in the All Artifacts node, so i was able to find my schema, map were deployed successfully.

So after that i had to check the properties of the BizTalk project what i did developed in VS. When i checked the properties so the Application Name was empty.

image

In this case at the time of deploying, VS automatically deploys the application as “BizTalk Application 1” and when i checked the maps, schema folders, all my files were deployed there.

image

so i had to insert a name for the Application Name in VS 2008 and had to redeploy it again. At the time of deploying VS prompts you saying that the DLL is already deployed. What you have to do is remove the assembly from the GAC (C:\Windows\Assembly) and as well as the orchestration, map and schema files from the BizTalk Administrator Console. Once its done try to deploy it again and finally it was deployed successfully. :)

image

Sunday, February 14, 2010

Nintex Context menu doesn't appear in IE8

Once we have configured the Nintex workflow 2007 in our development server, I was unable to see the context menu which should appear in the Nintex workflow controls.

so the reason was when the IEs Enhanced Security Configuration (ESC) settings are turned on then have to add the about:blank to the trusted site list.

Tuesday, January 26, 2010

Uploading a InfoPath form which is an Administrator Approved Template for SharePoint 2007

As i described in my previous post once we finished saving a InfoPath form which prompted us “Administrator must approve this form template before it can be filled out by using a browse” at the time when we followed the normal usual way to publish a InfoPath form in SharePoint library, as the next step we have to upload this template to the SharePoint via Central Administration.

Browse to the Central Administration home page and go to Application Management, Under InfoPath Form Services Click on Upload Form Template.

image

Find the location of the template and browse to it. (If you saved it to SharePoint you'll need to save a local copy on your computer and upload from there.)

image

to be continued…

An Administrator must approve this form template before it can be filled out by using a browser.

Currently i was working with InfoPath forms for me to design some form templates and later which will be published in SharePoint to enable nintex workflow. Most of time we were used to develop InfoPath forms which is compatible with browser. In other words browser compatible InfoPath forms.

I came across a situation where we need to get the current IP address of the logged in user to the InfoPath form. So at that time i had to write some C# codes in InfoPath form. Upon finished with the codes when i tried to publish the form, mid of the publishing wizard it didn't allow me to publish the InfoPath template directly to the SharePoint library, instead it forced me save it in locally informing “Administrator must approve this form template before it can be filled out by using a browser”.

image

the reason was :

This behavior occurs because a Microsoft Visual Studio 2005 Tools for the Microsoft Office System form contains managed code by default.

Note: If a form template contains managed code, the Publishing Wizard lets you click only the Administrator-approved form template (advanced) option.

the only way in this situation is to save the InfoPath template locally and to upload the same template via the Central Administration.

Friday, January 15, 2010

Error creating package - Failed to save package file “\path” with error 0x80040154 "Class not registered"

When I tried to create a new SSIS package in the BIDS, I received an error saying : “Failed to save package file “\path of the file" with error 0x80040154 "Class not registered".

It was due to MSXML6 setup package did not get installed in my machine properly or due to some reason it should have corrupted. So you have 'MSXML 6.0 Parser' in Add/Remove Programs, click Change and then Repair. If it does not exist in your Add/Remove Programs - rerun the SQL Setup, then it should install it.

Wednesday, January 13, 2010

Adding SQL Server Reporting Services Report Viewer Web Part - SharePoint

Once i have installed the Reporting Services add in for the SharePoint by default the SQL Server Reporting Services Report Viewer web part should be enabled in SharePoint web part library. But in my case it was not added and listed in the library. So i had to add it manually.

follow the steps as below:

clip_image002

clip_image004

clip_image006

clip_image008

clip_image010

After adding the web part to your page just configure the same to view your report.

clip_image012

you can download the addin from the following link:

http://www.microsoft.com/downloads/details.aspx?familyid=1E53F882-0C16-4847-B331-132274AE8C84&displaylang=en

Tuesday, January 05, 2010

Biztalk Poster

Biztalk poster (Silverlight enabled) -

Check this out :

http://www.microsoft.com/biztalk/capabilities/reader/ .

Scroll/Zoom + click on a section where the help and various MSDN articles come up. really helpful for us. :)