crm 2011 A webresource with the same name already exists. Use a different name.

Posted on Posted in C#, Microsoft, MS CRM 2011, MS Dynamics, MS Dynamics CRM

Keep getting error below after deleting a web resource file from

VS>Organization>Web Resources>Data(XML)

I had to delete one of the resource file as it was not deploying updated version. After deletion and on deployment I kept getting above error…

Checked in Settings>Solutions>Solution>Web Resources but not there

Checked database in Webresources table but not there

finally got rid of this error by running script below and I was able to deploy my file
update WebResourceLogical set Name=’abc.sql’
where WebResourceIdUnique=’D1DCD917-015C-4613-BE1F-A4BAF4018FD0′