The following error occured validating the name
So, if your dependencies are valid and you still are getting this problem, then you resolve this if it is a problem with VS2010 .
Basically, if you run MSBuild and see this warning: Then the problem is Visual Studio versioning.
Sometimes there may be a need to rename the SQL Server Network Name for a failover cluster and in this tip we will walk through the steps needed to successfully rename the SQL Server Network Name for a failover cluster.
The SQL Server Network Name is used to identify a failover cluster on the network.
Delete these lines at a beginning of the .vdproj file: Build again - the error is gone.
That error didn't stop me from deploying, building, debugging (or anyting) my project; it just annoyed me.
:) Common Reason My problem was not a dependency error. So, basically, you need to check your MSI file and make sure that all dependencies are still valid.
Probably the best blog response on how you can easily resolve this if it is a dependency issue is Alternative Reason My problem had to do with Visual Studio versioning, however.
I simply searched all files in my project for In my case my solution (VS2008) had a project that was also referenced from another solution (VS2010).In the VS2010 solution I had upgraded the project to . When I later realized the project was also used in another solution I downgraded it to . For some reason everything seemed to be changed correctly in the csproj file except one place which is mentioned here: Error in setup project HRESULT = '80004005' I know this is already solved somewhere else but I wanted to shed some light on this from another problem angle.The error message "An error occurred while validating.I finally tracked it down to connection Strings in a parent web.config (my service was deployed to a child application to an admin site).Yes sounds ridiculous, but as soon as I wrapped the connection strings in the parent web.config with a location element all started working.