13 March, 2012

How to check-Forms Server is installed on a server or not ?

Problem Description:
Forms Server was installed on a server and you need to verify its installation.


What excatly we need to check for this?
Check whether the Microsoft.Office.InfoPath.Server.dll is installed on the server.

Resolution:To verify the installation of Forms Server you need to check whether the DLL is properly installed on the server and whether the ASP.NET page is present. You can do this as follows:
1.Go to C:\Program Files\Microsoft Office Servers\12.0\Bin\ and check whether Microsoft.Office.InfoPath.Server.dll is present in this folder.
2.Go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\ and check whether FormServer.aspx is present in this folder.
3.Open the .NET Framework 2.0 Configuration tool by going to Start > Settings > Control Panel, opening the Administrative Tools and then the Microsoft .NET Framework 2.0 Configuration.
4.Click on Manage the Assembly Cache listed under Tasks in the right panel of the .NET Framework 2.0 Configuration dialog box.
5.Click on View List of Assemblies in the Assembly Cache under Tasks in the right panel of the .NET Framework 2.0 Configuration dialog box.
6.Look whether Microsoft.Office.InfoPath.Server is listed among the DLLs that are registered in the Global Assembly Cache (GAC).


Please let me know in case of any queries/questions. I would be more than happy to help you as well as resolves your issues, Thank you

 

11 March, 2012

Security token service is not available

After installing SharePoint Foundation 2010 I noticed a warning in the Central Admin > Review problems and solutions report that the Security Token Service is not available.

The Security Token Service is not available.
The Security Token Service is not issuing tokens. The service could be malfunctioning or in a bad state.
SP Security Token Service (Security Token Service)

This issue happends becuase of the following symptons:

-The following error appears in the SharePoint server’s event log every hour:
“An error occurred while receiving the HTTP response to http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.”
-Users are unable to log in to SharePoint sites protected by claims authentication.

Probable causes:
1.A required WCF hotfix has not been installed on the SharePoint server
2.Authentication for the SecureTokenServiceApplication is not configured properly in IIS.
3.The web.config file of the SecureTokenServiceApplication contains invalid data
4.The SecureTokenServiceApplication is not provisioned properly.

Resolution:
We have followed the microsoft suggested guidelines and the issue has been resolved:
1.Missing WCF Hotfix: If the server is running Windows Server 2008 SP2, please ensure that the hotfix mentioned at http://support.microsoft.com/kb/971831 is installed. If the server is running Windows Server 2008 R2, the hotfix mentioned at http://support.microsoft.com/kb/976462 must be installed.

2.Incorrect Authentication Settings: Please ensure that the authentication settings for the SecureTokenServiceApplication are correctly configured by completing the following steps:
a) Open IIS Manager
b) Expand “Sites”
c) Expand “SharePoint Web Services”
d) Select “SecurityTokenServiceApplication”
e) From the “Features” pane, double click on “Authentication” under “IIS”
f) Right click “Forms Authentication” and select “Disable”
g) The authentication settings page should only have Windows and Anonymous access enable for the security token service to issue tokens properly (and for claims authentication to work properly)

3.Incorrect data in the configuration file: Please review the web.config file of the secure token service application and compare it to a web.config file from a "working" secure token service application.

4.SecureTokenServiceApplication not provisioned: Use the following power shell commands to provision the secure token service application
$sts = Get-SPServiceApplication | ?{$_ -match "Security"}
$sts.Status
$sts.Provision()

If you have any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

10 March, 2012

RCC Call automatically put on hold.

RCC (Click to call) Call automatically put on hold.

Problem Description:-

While using MOC client 2007 R2 and users often complain that when they answer a call on the phone it automatically gets put on hold and it doesn't matter they to answer using speakerphone, headset or headset. If they kill MOC client on their computer and restart it the problem goes away.

Resolution:-
I have reproduced problem on few computers for testing and researched on issue.

-> Only one call is active the other calls are put on hold automatically by communicator, because by design OCS 2007 can only have one active call at a time, it puts other calls on hold.

The call was established on MOC 2007 R2.

When there was a new call coming, MOC found there was two call active so it sent HoldCall event and call put on hold.

Resolution at this point found -

1. Only solutions to quit MOC 2007 R2 or remove RCC from users account.

2. Upgrade the Avaya or Cisco software (soft phone).

08 March, 2012

How Communicator Client Communicate with Address Book Server?

While working as OCS administrator, we must know the communicator client and Address server communication.

Here are the useful information regarding Address Book Server.

The Address Book URLs (that is, one internal and one external) are the paths that clients use to access the data files in the Address Book Server file store. These URLs are configured under the Address Book tab in the Web Components Properties for the given Standard Edition server or Enterprise pool, and are retrieved through in-band provisioning (absInternalServerUrl and absExternalServerUrl) by the client when it logs on to its Standard Edition server or Enterprise pool. The clients can also have these URLs configured through Group Policy Objects.

Communicator client- > Address book Services

Active Directory -> User Replicator -> Database -> Address Book Services -> File Store (NTFS) – IIS 6.0 Server.

04 March, 2012

Script for Listing all Telephone Settings for Remote Click Call user account


Hello Friends,


Many times we need to list the telephone number of users who are enabled for Remote call Control user control.


Here are script which is useful for list the telephone settings.


'List All Telephone Settings for a User Account'


Set objUser = GetObject _
    ("LDAP://cn=Abc,ou=HR,dc=NA,dc=ocs,dc=com")


WScript.Echo "Home Phone: " & objUser.homePhone
WScript.Echo "Pager: " & objUser.pager
WScript.Echo "Mobile phone: " & objUser.mobile
WScript.Echo " IP Phone: " & objUser.ipPhone
WScript.Echo "Information: " & objUser.info
WScript.Echo " Fax Number: " & objUser.facsimileTelephoneNumber


WScript.Echo "Other Home Phone:"
For Each strValue in objUser.otherHomePhone
    WScript.Echo strValue
Next


WScript.Echo "Other Pager:"
For Each strValue in objUser.otherPager
    WScript.Echo strValue
Next


WScript.Echo "oOther Mobile Phone:"
For Each strValue in objUser.otherMobile
    WScript.Echo strValue
Next


WScript.Echo "Other IP Phone:"
For Each strValue in objUser.otherIpPhone
    WScript.Echo strValue
Next


WScript.Echo "Other Fax Number:"
For Each strValue in objUser.otherFacsimileTelephoneNumber
    WScript.Echo strValue
Next




Thank you!