Can't login after update from version 1.2 to 1.5

Topics: Installing BugNET
Sep 4, 2013 at 12:25 AM
i have just updated "successfully" from version 1.2 to 1.5 but after the update I can not log in any more. Sending the forgot password request I receive an email with a link to a password reset page. But the link is as follows:
(There is no token specified)
On the web page I receive "the password reset token is invalid"

I recovered my database and web page back to 1.2, checked my logins, everything fine. After another update I got into the same problem.

What do I do wrong or how can I fix this?
Thanks in advance
Sep 4, 2013 at 1:18 PM
I haven't seen this issue before.
  1. Are you running BugNET in a different language other than english?
  2. Does the token appear in the email at all or is the link just wrong?
  3. Do you have access to the database to check for errors in the log table?
Sep 4, 2013 at 2:03 PM

1. Bugnet is running in english

2. The token is completely missing, it doesn’t exist at all in the mail

3. I have checked in the bugnet_ApplicationLog table. There are only a few old entries. No current entry

I have succeeded to reset the password by using an older post (adding aspx file which is doing the reset with c#).

At least I can login again.

If I try to reset the password again it is still sending an email with the token missing.

Know I am not sure if I have a db problem or something similar. Would not like to run in other problems in a future release.

Is there something else I can check?



Sep 4, 2013 at 5:01 PM
Can you look in your BugNet_UserProfiles table to verify that the token was created in there?

We haven't had any issues like this in our testing at all.
Sep 4, 2013 at 9:06 PM

Hm, I am not sure.

My table BugNet_UserProfiles contains only the following columns:

UserName, FirstName, LastName, DisplayName, IssuesPageSize, PreferredLocale, LastUpdate, SelectedIssueColumns, ReceiveEmailNotifications, PasswordVerificationToken and PasswordVerificationTokenExpirationDate.

Values are only existing for the two users (admin and my account), where I have resetted the password using the c# aspx page.

But even if you click on forgot password again, I do not receive a token in the mail.

Sep 5, 2013 at 2:09 PM
Can you compare your /templates/html/ForgotPassword.xslt to this one and see if they are the same

If you are using plain text email notifications I may see an issue with the forgotpassword template.
Sep 5, 2013 at 2:54 PM

I have checked it and it is equal.

I would say, that I am receiving txt mails.

Here is a mail content how I am receiving it.

Someone has requested a password reset for your Companys DevPoint account. To reset your password, simply click on the following link: servername/BugNet/Account/PasswordReset.aspx?token= If you did not request this password reset, then no action is required and you can ignore this email. Thank you, Companys DevPoint

In the Mail I am receiving there is no new line after „token=“

Perhaps this is an indication? Because the format seems to be strange too?

And YES, you are right! I have just changed it to html and now I do have a token.


If you have a fix for the txt version I can check it for you.


Sep 5, 2013 at 5:16 PM
in the /templates/text/ForgotPassword.xslt file, replace
Account/PasswordReset.aspx?token=<xsl:value-of select="Token" />
Account/PasswordReset.aspx?token=<xsl:value-of select="string" />
Sep 5, 2013 at 5:36 PM


This solved the problem!

The mail still doesn’t contain any carriage return line feed, but it contains the token now.


Von: dubeaud [email removed]
Gesendet: Donnerstag, 5. September 2013 18:17
An: Alexander Knopp
Betreff: Re: Can't login after update from version 1.2 to 1.5 [bugnet:455400]

From: dubeaud

in the /templates/text/ForgotPassword.xslt file, replace

Account/PasswordReset.aspx?token=<xsl:value-of select="Token" />


Account/PasswordReset.aspx?token=<xsl:value-of select="string" />
Sep 5, 2013 at 5:54 PM
Adding another
after that line should add a carriage return.
Sep 5, 2013 at 6:04 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Sep 5, 2013 at 6:21 PM

There is just no difference in the appearance of the mail if a add this line.

It looks just the same even if I delete all existing



It looks like day get ignored. I would be interested in a reason but it is no problem for me.

I am going to use html in future. With html it is well formated