HEXAQ : A friendly question - answer site for IT professionals

SharePoint 2010: Error occurred in deployment step 'Activate Features': Invalid file name.The file name you specified could not be used. It may be the name of an existing file or directory, or you may not have permission to access the file


0

I have gone through this link. I am getting same error but the question is not same. I couldn't find any place to re-ask this question, so created new one.

I have developed a SharePoint feature and deployed it using Visual Studio 2010. Deployment was successful.

When I tried to activate the feature, it is throwing an error

Error occurred in deployment step 'Activate Features': Invalid file name.The file name you specified could not be used. It may be the name of an existing file or directory, or you may not have permission to access the file.

Can anyone provide quick help??

Â
asked
 


≡ Total 1 Answer

0

When you have the same feature already existing, you may face such error.

Ensure that you have properly deactivated any previously deployed version of this feature.

After IIS reset, try to deploy and activate feature.

This should work.

Best Luck!!

Â
replied


Enter your reply here
Answer Preview: