1

Today I have start working on SharePoint Hosted APP.

I have done with prerequisite Setting up on-premises environment for app development

After That I have created New Project.

When first time I have click on F5 button, it shows error below

Error   1   Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

Then one more time I have click on F5 button, this time it shows different error

Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the same version and product ID

enter image description here

Please help me with this

1

For Error 1:

Error says you can not use System Account for app deployment. use other account for app deployment. Or you can change the service account from Central Admin for this web application and try to deploy using same login account.

Reference:

For Error 2:

This type of error can occur when Uninstall is not done properly. Delete the app from Site Contents and Recycle bin completely.

Please change the product id from the appmanifest.xml file. It's random GUID. Generate new GUID and change it in appmanifest file. After that try to deploy your app. If issue persists, then also change version number along with GUID in appmanifest file.

Reference:

Hope this will help you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.