Quantcast
Viewing all articles
Browse latest Browse all 2179

Closed Issue: Can't reset password after upgrade to 1.5 [141]

Hello.
We made an upgrade to BugNet 1.5. When user with russian locale in the preferences try to change password via __ForgotPassword.aspx__ page then ASP.NET yellow screen of death is shown with next message:

```
Could not find file 'C:\inetpub\wwwroot\bugnet\templates\Html\ForgotPassword.ru-RU.xslt'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\bugnet\templates\Html\ForgotPassword.ru-RU.xslt'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\bugnet\templates\Html\ForgotPassword.ru-RU.xslt'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +12901783
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +2481
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +229
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +107
System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) +139
System.IO.StreamReader..ctor(String path, Encoding encoding) +20
System.IO.File.InternalReadAllText(String path, Encoding encoding) +68
BugNET.BLL.Notifications.CultureNotificationContent.LoadContent(String cultureString, String[] contentKeys) +436
BugNET.BLL.UserManager.SendForgotPasswordEmail(MembershipUser user, String token) +364
BugNET.Account.ForgotPassword.SubmitButton_Click(Object sender, EventArgs e) +428
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
```

I can see that appropriate files (__ForgotPassword.ru-RU.xslt__ inside __Text__ and __Html__ folders) already under source control here, but:
* russian template files were not copied to the [Install package](https://bugnet.codeplex.com/downloads/get/722202).
* Default template should be accepted when specific template does not exist.

Viewing all articles
Browse latest Browse all 2179

Trending Articles