The error looks very clear, login failed for the user, maybe the username is bad, maybe the password is bad, maybe the db name is bad, maybe the user does not have any permissions on the mojoportal database.
VS is not a factor in my opinion.
Note that if you make changes in user.config they are not automatically detected so you have to touch Web.config to make it reload all the settings.
Hope it helps,
Joe