Error :
The password supplied with the username .\Administrator was not correct. Verify that it was entered correctly and try again” Error while creating web application in SharePoint 2010.
Today [28 March 2016] I found the solution.
Resolved: Invalid error by stsadm command
I was trying to register custom profiledeletehandler by using stsadm command line utility. My command, code and assembly were perfect. But even then when I was trying to execute stsadm then it was displaying “The given assembly or codebase was invalid”.
Humnnn what could be the problem then after doing some research I came to know that I wrote the part of the command in notepad first and then copy/paste this part in command line. OMG, that was some encoding problem while copy/pasting the command.
Though if you delete the stsadm command and retype this in command line console then both (earlier & retyped) will look same. But this was only and major difference and solve the problem.
Solution: Please type the whole command by your own including each and everything.
Moral of the Story:
1. Avoid copy/pasting the stsadm command from other application as you can be the victim of this type of problem.
2. Always do check for PublicKeyToken values (If u are using assembly reference) twice and other spelling mistakes in stsadm command, as it can be the cause of these type of problems.
0 comments :
Post a Comment