Handle AllowDuplicateResourceURL

On the basis of the value of AllowDuplicateResourceURL paramter fires an error (default) or allows to register a resource with same URL.