tech·nic·al·ly agile

Error creating listener in Team Build

Resolve the ‘AddressAccessDeniedException’ error in Team Build by granting the right permissions to your service account. Get expert tips and solutions!

Published on
1 minute read
Image
https://nkdagility.com/resources/Eonka3snrWz

If, like me you are trying to run tests against your web services and you the error below, you will need to give permission to the service account that runs your Build Agent to create listeners in IIS.

Class Initialization method TestServiceProjects.RentalCentreServiceRemoteTest.MyClassInitialize threw exception. System.ServiceModel.AddressAccessDeniedException:  System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:3456/RentalCentreServiceRemoteTest/  . Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353  for details). —>  System.Net.HttpListenerException: Access is denied.

I first tried giving the service account administrator rights, and this did not work, so I added “Act as part of operating system”. Lo and behold, that worked…

Happy now…

Technorati Tags: ALM 

Troubleshooting Install and Configuration Windows
Comments

Related blog posts

No related videos found.

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

Xceptor - Process and Data Automation Logo
Kongsberg Maritime Logo
Slaughter and May Logo
Epic Games Logo
Akaditi Logo
Graham & Brown Logo
New Signature Logo
MacDonald Humfrey (Automation) Ltd. Logo
Lockheed Martin Logo
Bistech Logo
Deliotte Logo
Illumina Logo
Cognizant Microsoft Business Group (MBG) Logo
Teleplan Logo
Milliman Logo
Boxit Document Solutions Logo
ALS Life Sciences Logo
DFDS Logo
Washington Department of Transport Logo
Royal Air Force Logo
New Hampshire Supreme Court Logo
Department of Work and Pensions (UK) Logo
Ghana Police Service Logo
Washington Department of Enterprise Services Logo
Capita Secure Information Solutions Ltd Logo
Flowmaster (a Mentor Graphics Company) Logo
Akaditi Logo
Healthgrades Logo
Big Data for Humans Logo
Bistech Logo