Visual Studio 2013, using Identity account register/change password/login functions.
When sending a "confirm" or "reset password" email, the URL in the email is correct when running within the Visual Studio IDE, but is incorrect for a published project.
The URL comes through as "http://testsvr10/Account/ResetPassword?code....." but should be "http://testsvr10/projstatusexternal/Account/ResetPassword?code....", i.e. the top level folder name "projectstatusexternal" is missing.
We are using the /Account/Forgot.aspx, /Account/ResetPassword.aspx, and /Account/Confirm.aspx that are provided with a new web project in Visual Studio 2013.
We have coded a work around that alters the paths for the variables in the IdentityModel.vb, by passing in the correct top level folder name from a variable in the web.config. This works, but we would not expect to have to alter code in this file.
The following snapshots show the url paths in the code.