Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’.
- This topic has 2 replies, 1 voice, and was last updated 9 years, 10 months ago by
community-content.
-
AuthorPosts
-
-
April 27, 2009 at 8:04 PM #22237
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.
Web service in IIS is running under the user which I have created while configured Biztalk(i.e., BizTalkUser). And this user is local to my machine, and also a member of the BizTalk Isolated Hosts group. And my Operating system is Windows 2003 server.
and .Net2.0, SQL Server2005 and BizTalk server 2006 R2 are installed in same machine i.e. Windows 2003 server.
Still I am 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.
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 6, 2009 at 12:36 AM #22302
Did you check the Application Pool??
-
May 6, 2009 at 6:34 AM #22311
As suggested above,
The application pool for the web service must be running using an identity tht is in the “biztalk isolated hosts” NT authentication group.
Dino
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.