Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

↑ Back to the top


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.

↑ Back to the top


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

↑ Back to the top


Status

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

↑ Back to the top


References

For more information about BizTalk Server support for WSS, visit the following MSDN website:
For more information about how to set up and deploy the WSS adapter, visit the following MSDN website:
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

↑ Back to the top


Keywords: kb, kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, kbbiztalk2009presp1fix, kbbtsadapters

↑ Back to the top

Article Info
Article ID : 2628869
Revision : 1
Created on : 1/7/2017
Published on : 11/17/2011
Exists online : False
Views : 420