Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’
- This topic has 1 reply, 1 voice, and was last updated 9 years, 1 month ago by
community-content.
-
AuthorPosts
-
-
April 27, 2009 at 6:41 AM #22229
Hi, The application scenario is calling WebService through Biztalk2006 from ASP.NET application. For that we have done like below: 1. We have the webservice with a DataBase call (WebMethod is getting data from database). 2. Consuming webservice (which is created in step-1) through biztalk orchestration(added the WebService reference to the BizTalk Orchestration application) . 3. Exposing orchestration (Which is created in step-2) as webservice by using ‘BizTalk Web Services Publishing Wizard’. 4. Adding reference of orchestration webservice (which is created in step-3) to ASP.NET client application. When we are trying to call from client application, we are getting following error: 1) Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’. 2) An attempt to connect to “BizTalkMgmtDb” SQL Server database on server “01HW201536” failed. Error: “Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’.” 3) The Messaging Engine failed to register the adapter for “SOAP” for the receive location “”. Please verify that the receive location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases. Kindly help me how to resolve this issue.
I have tried folowing options:
Option-1)
goto command prompt then navigate to directory
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Now run this command
aspnet_regiis -ga “NT AUTHORITY\NETWORK SERVICE”
Everything will wok fine.Option 2)
submit this line into query analyzer on master or your database to grant access:
sp_grantlogin ‘NT AUTHORITY\NETWORK SERVICE’Thanks Sudhakar
-
May 11, 2009 at 11:10 AM #22352
Can I ask why you are consuming a .NET webservice from a BizTalk orchestration and then exposing that orchestration as a web service in order to consume it from an ASP.Net application?
Why not just consume the .NET webservice from ASP.Net directly?
Ben McFarlin
BizTalk Consultant
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.