BizTalk Published Web Service unable to consume, Token-Based Server access validation error

Hi, We have developed a BizTalk application and we have published as web service, but when we are trying to consume the application we are getting the an error and its logged in event log.

While deploying we have allowed Anonymous user access for the web services as well.

Following are the errror details - "Login failed for user 'IIS APPPOOL\ASP.NET v4.0 Classic'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: <local machine>]"

I tried to change it other App pool as well. It seems an issue with permissions related to BizTalk user's/Group,

Please suggest which app pool should we select or should we give permissions to App Pools.

March 31st, 2015 5:03am

You need to create an Application Pool that is running under the "Isolated Host" Host Instance Account. Then you need to assign your application to run under this pool.

Refer https://msdn.microsoft.com/en-us/library/aa577661.aspx for Group and Account permissions and note

BizTalk Isolated Host Users

The default name of the first Isolated BizTalk Host Group created by Configuration Manager. Isolated BizTalk hosts not running on BizTalk Server, such as HTTP and SOAP.

Use one BizTalk Isolated Host Group for each Isolated Host in your environment.

Contains service accounts for the BizTalk Isolated host instance in the host that the Isolated BizTalk Host Group is designated for.

Also refer to https://msdn.microsoft.com/en-us/library/gg634599%28v=bts.70%29.aspx which talks about the planning required for publishing as web service. The role and config required for the app pool account is mentioned there

Regards.

Free Windows Admin Tool Kit Click here and download it now
March 31st, 2015 7:55am

The User of App Pool should be part of "BizTalk Isolated Host Users Group".

In your case user is "IIS APPPOOL\ASP.NET v4.0 Classic", so either you add this user to BizTalk Isolated Host Users Group or create a new App Pool with new user. I would suggest to go for new user specific to BizTalk.

This permission is required because IIS(App Pool(w3wp.exe)) will be publishing new messages to BizTalk Databases. So they should have required permissions to do that and in BizTalk we have a default group for the same, as suggested by Shankycheil.

BizTalk Isolated Host Users

The default name of the first Isolated BizTalk Host Group created by Configuration Manager. Isolated BizTalk hosts not running on BizTalk Server, such as HTTP and SOAP.

Use one BizTalk Isolated Host Group for each Isolated Host in your environment.

Contains service accounts for the BizTalk Isolated host instance in the host that the Isolated BizTalk Host Group is designated for.

BTS_HOST_USERS SQL Server Database Role in the following databases:

BizTalkMgmtDb

BizTalkMsgBoxDb

BizTalkRuleEngineDb

BizTalkDTADb

BAMPrimaryImport


March 31st, 2015 8:15am

You need to create an Application Pool that is running under the "Isolated Host" Host Instance Account. Then you need to assign your application to run under this pool.

Refer https://msdn.microsoft.com/en-us/library/aa577661.aspx for Group and Account permissions and note

BizTalk Isolated Host Users

The default name of the first Isolated BizTalk Host Group created by Configuration Manager. Isolated BizTalk hosts not running on BizTalk Server, such as HTTP and SOAP.

Use one BizTalk Isolated Host Group for each Isolated Host in your environment.

Contains service accounts for the BizTalk Isolated host instance in the host that the Isolated BizTalk Host Group is designated for.

Also refer to https://msdn.microsoft.com/en-us/library/gg634599%28v=bts.70%29.aspx which talks about the planning required for publishing as web service. The role and config required for the app pool account is mentioned there

Regards.

Free Windows Admin Tool Kit Click here and download it now
March 31st, 2015 11:52am

You need to create an Application Pool that is running under the "Isolated Host" Host Instance Account. Then you need to assign your application to run under this pool.

Refer https://msdn.microsoft.com/en-us/library/aa577661.aspx for Group and Account permissions and note

BizTalk Isolated Host Users

The default name of the first Isolated BizTalk Host Group created by Configuration Manager. Isolated BizTalk hosts not running on BizTalk Server, such as HTTP and SOAP.

Use one BizTalk Isolated Host Group for each Isolated Host in your environment.

Contains service accounts for the BizTalk Isolated host instance in the host that the Isolated BizTalk Host Group is designated for.

Also refer to https://msdn.microsoft.com/en-us/library/gg634599%28v=bts.70%29.aspx which talks about the planning required for publishing as web service. The role and config required for the app pool account is mentioned there

Regards.

March 31st, 2015 11:52am

You need to create an Application Pool that is running under the "Isolated Host" Host Instance Account. Then you need to assign your application to run under this pool.

Refer https://msdn.microsoft.com/en-us/library/aa577661.aspx for Group and Account permissions and note

BizTalk Isolated Host Users

The default name of the first Isolated BizTalk Host Group created by Configuration Manager. Isolated BizTalk hosts not running on BizTalk Server, such as HTTP and SOAP.

Use one BizTalk Isolated Host Group for each Isolated Host in your environment.

Contains service accounts for the BizTalk Isolated host instance in the host that the Isolated BizTalk Host Group is designated for.

Also refer to https://msdn.microsoft.com/en-us/library/gg634599%28v=bts.70%29.aspx which talks about the planning required for publishing as web service. The role and config required for the app pool account is mentioned there

Regards.

Free Windows Admin Tool Kit Click here and download it now
March 31st, 2015 11:52am

Thnks Shankycheil it helped me a lot:)
April 22nd, 2015 2:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics