FIX: "Error encountered while querying virtual server state for URL" error when you configure WSS adapter in BizTalk Server 2009

Article ID: 2628869 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You install the Microsoft .NET Framework 2.0 and the Microsoft .NET Framework 4.0 on a computer.
  • The computer hosts a website that is extended by Windows SharePoint Services (WSS) or by Microsoft Office SharePoint Server (MOSS).
  • You install the Windows SharePoint Service (WSS) adapter Web service on the computer.
  • You try to configure a WSS adapter to access the website in BizTalk Server 2009.
In this scenario, you receive an error message that resembles the following:
Error encountered while querying virtual server state for URL: http://URL. Make sure the site is extended by Windows SharePoint Services. (CWssAdaCfg)
If you use the Microsoft.BizTalk.KwTpm.StsOmInterop3.exe utility to check the URL, you receive an error message that resembles the following:
Error:
ASP.NET version string = 4.0.30319, framework found = Framework
ASP.NET version is not as expected.
4.0

CAUSE

This issue occurs because the .NET Framework 4.0 is detected before the .NET Framework 2.0.

When the WSS adapter uses the Microsoft.BizTalk.KwTpm.StsOmInterop3.exe utility, the utility requires the .NET Framework 2.0. However, the utility locates the .NET Framework 4.0. Therefore, the issue that is described in the "Symptoms" section occurs.

RESOLUTION

Cumulative update information

The hotfix that resolves this issue is included in cumulative update package 4 for BizTalk Server 2009.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2604321 Cumulative update package 4 for BizTalk Server 2009

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

REFERENCES

For more information about BizTalk Server support for WSS, visit the following MSDN website:
General information about BizTalk Server support for WSS
For more information about how to set up and deploy the WSS adapter, visit the following MSDN website:
General information about how to set up and deploy the WSS adapter
For more information about service packs and cumulative update packages for BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:
2555976 Service Pack and Cumulative Update list for BizTalk Server
For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information on BizTalk Server hotfixes

Properties

Article ID: 2628869 - Last Review: November 17, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft BizTalk Server 2009 Branch
  • Microsoft BizTalk Server 2009 Developer
  • Microsoft BizTalk Server 2009 Enterprise
  • Microsoft BizTalk Server 2009 Standard
Keywords: 
kbqfe kbfix kbexpertiseadvanced kbsurveynew kbbiztalk2009presp1fix kbbtsadapters KB2628869

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com