2009年9月11日

[WCF] HTTP could not register URL (your wcf url) .Your process does not have access rights to this namespace

While hosting BasicHttpBinding WCF service in windows service , I came accross the following error.

HTTP could not register URL (your wcf url) .Your process does not have access rights to this namespace

The error occurs due to the service account does not have access rights to the namespace.

This is a HTTP WCF Service delegated error, (in other words, this won’t occur if you are hosting Named-Pipe WCF serivces)

To grant the service account access right, in Windows 2008

  1. Open command prompt with administrator account
  2. Execute the following command

netsh http add urlacl url=YourWCFURL user=DOMAIN\username

You should get a message saying “URL reservation successfully added


Reference:

2009年9月10日

[SSIS] Invoke external assembly from SSIS ScriptTask job

To Invoke external assembly from SSIS package, the assembly has to be

  1. Strong named
  2. GAC-ed

From ScriptTask job component, add the assembly reference via SSIS Script designer.

reference

About Me