Last post Jun 25, 2006 07:33 AM by Weezy
Dec 21, 2005 12:34 AM|ahrensy|LINK
Dec 21, 2005 09:13 AM|christoc|LINK
Dec 21, 2005 11:57 AM|jjmartin|LINK
more specifically - if the machine keys are not the same in both your previous installation and your current then, the logins will not be able to be successfully decrypted and your logins will fail.
Background: all your passwords are encrypted using the machine keys (located in web.config and regenerated when a new DNN installation is done from scratch) from your first installation. When you move your database/installation, its important to maintain
the same machinekeys so that your new installation can successfully decrypt the passwords.
Dec 21, 2005 05:30 PM|ahrensy|LINK
Dec 21, 2005 06:23 PM|ahrensy|LINK
Dec 21, 2005 11:16 PM|pmaugust|LINK
I had done something similar... could not login to anything... assuming you have access to the database, you can fix by doing the following (I just now finished doing it):
1) Register a new user
2) Open the aspnet_Users table and copy the Userid GUID to notepad for "host" and "newuser"
3) Open the aspnet_Membership table. Find the row with the Userid (GUID) for "newuser" and copy paste the values from Password and PasswordSalt columns to notepad
4) Find the row with the userid (GUID) for "host", edit the row, and past the values from "newuser" into the Password and PasswordSalt columns.
5) Save the data
You should now be able to login to host using the password you used to setup the new user account. Now you can go reset all the passwords for all the other users and send notification to them to let them know that their password has been reset and their
new password is now xxxxx.
Hope this helps... Paul
"Screw ups make the BEST teachers" LOL
Jan 02, 2006 06:00 PM|ahrensy|LINK
May 15, 2006 06:33 PM|Weezy|LINK
Jun 06, 2006 05:42 AM|vandan_desai|LINK
even i am facing the same problem. it just wont allow me to login to the applicaiton. I am using DNN 4.x. also please tell me how do i make registration on.
Thanks and Regards
Jun 06, 2006 02:37 PM|Weezy|LINK
Jun 07, 2006 01:41 AM|vandan_desai|LINK
ppens exactly is
you click on any button which is doing a postback it just gives me one common error.
Object Reference not set to an instance of an object. I feel there is an error in the OnBeginRequest but can say. For seeing this practically just check
www.gcaflorida.com and try to do a forgot password or anything...
Jun 08, 2006 09:02 AM|vandan_desai|LINK
even i am facing the same problem. it just wont allow me to login to the applicaiton. I am using DNN 4.x. you can have a loot at
www.gcaflorida.com. go to the login section and click the forgot password it gives me an error saying object reference not set to an instance of any object. than i noticed that any button you click it gives the same
error. even the print icons on my site are giving me this error. I some how feel that the begin request is giving me these errors. can you please help me out in understanding the problem and giving me a solution. I tried the 5 steps but all in vain, it
still dosent work :(
Jun 24, 2006 09:52 PM|DataSprings Inc.|LINK
Hi. I am also running into an installation with this issue. Has anyone found out what is causing this yet? This upgrade is from 3.1 to 3.3 and the web.config keys were moved over. I can tell that its doing something during login because if I get the password
wrong it doesn't do anything but if I get the password right it just displays 'Object not set to instance of object' and doesn't sign me in.
Jun 25, 2006 07:33 AM|Weezy|LINK
Read through the posts above carefully, especially Jeff Martin's excellent answer, then put that together with pmaugust's clever solution. So, you need three things more or less: machine keys, password salt and password hash. If you are unable to get the
machine keys from the old installation, then use pmaugust's solution: create a new user, which creates a new record in the aspnet_Membership table, take the new salt and hash and paste it into the record for the host (you have to match the GUID to figure out
which record is for host). Now when you try to login, use host and the password for the new user you created. DNN uses the machine keys to decrypt the salt and hash and since you just created, cut and pasted those values, they will match and you can login.