Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Login failed for user ‘NT AUTHORITY\NETWORK SERVICE’.
- This topic has 5 replies, 1 voice, and was last updated 9 years, 10 months ago by
community-content.
-
AuthorPosts
-
-
April 27, 2009 at 6:43 AM #22231
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
-
April 27, 2009 at 12:29 PM #22234
You need to run the web service in IIS using a user that is a member of the BizTalk Isolated Hosts group. You should have created an isolated user when you configured Biztalk. This user could be local to your machine or a domain account, depends how you configured BizTalk
What operating system are you using, is the SQL Server on the same server as Biztalk?.
-
April 27, 2009 at 8:01 PM #22236
Hi,
Yes, 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.
Thanks,
Sudhakar
-
April 28, 2009 at 2:12 AM #22241
Open up IIS Admin console.
Select your web service virtual directory, right click, properties and note the name of the Application Pool
Navigate to the Application Pools, select the application pool from above, right click, properties, identity tab.
Set the identity to your BiztalkUser
Ensure BiztalkUser is a member of the Biztalk Isolated Host Group
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.