error incorporating siFR
Last Post 10/12/2006 12:42 PM by Kenis Polanco. 2 Replies.
Author Messages
Kenis Polanco
Nuke Pro
Nuke Pro
Posts:63


--
10/01/2006 11:00 AM
    Hi lee,
    I am still getting the error even after I have upgrade to 4.3.5
    htmlfile: Could not set the innerHTML property. Invalid target element for this operation. In my js/sifr.js file
    I am thinking it has to do with a coding problem with in the skin.css or index.html which I did not follow through correctly
    However I did upgrade successful to 4.3.5, it took me a while but I finally understood the process
                    (note: make sure this is done with a website that is actually working properly)
    1.        I back up my website files by simply coping and pasting the website folder to another directory within a different folder.
    2.        then I took the original web.config and copied it and named it a different name (web.config.09.30.06.config)
    3.        I then download the upgrade file from dotnetnuke website and extrated it to the website folder
    4.        Copied and paste (web.config.09.30.06.config) to the upgraded folder/website. Copied and paste the machineValidation, machineDycryption and InstallationDate from web.config.09.30.06.config to the new upgraded web.config
    5.        run website
     
    Correct me if I am wrong, but I am not sure what’s the main point about the machine keys, is it just to upgraded a chosen website to a new version (4.3.5) or is this obligated to pass the
     keys to even a new website created through vwd on dotnetnuke version (4.3.5)
    Even after passing the keys (from 4.3.3 web.config to 4.3.5) and date I still can’t login after creating a new website with or without the oldkeys?
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    10/08/2006 10:18 AM
    Hello,

    In a previous post you mentioned that you placed the changes in the release.config file.

    Can I confirm this is what you have done:

    Make a backup copy of your original web.config file

    Upload the upgraded files of DNN v 4.3.5

    In the new 4.3.5 version of the web.config file edit it to match the details in your original web.config file - ie. the machine keys and date installed.

    The machine keys are used to interpret the passwords within DNN and each installation has different machine keys.
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Kenis Polanco
    Nuke Pro
    Nuke Pro
    Posts:63


    --
    10/12/2006 12:42 PM

    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

     

     

    ===================USERID========================================

    acd49bb8-45df-4f34-aa04-5168a4858f8b newuser

    11f9b2fd-6c97-4419-8808-803c4ed1ab0f host

    ======================PASSWORD============================

    soOX21Xj2G1QnDt6GTifEuI3l63O4dRGpXgbPATPuU/5TNJWfUhpUQ== newuser password

    Z2cUcRyP1i43NaJUhgaX0Q==     newuser passwordsalt


    below is were I got the first Info:

    =========================http://forums.asp.net/thread/1147944.aspx==========================================

    I am not sure if this was the SOLLUTION that worked
    after i followed the above instructions and tried to login the same problem occured

    however after i tried restarting it and doing other things i decided to let go
    the next day I came upon this hack:

    Dim uc AS UserController = new UserController
    objUser = uc.GetUser(PortalID, UserID)

    which is placed in the file admin/security/Signin.ascx.vb right under line 332

    332 (' Windows/DNN password validation should be same, check this status here
                    strMessage = UserController.GetUserCreateStatus(createStatus)
                ElseIf (Not objAuthUser Is Nothing) AndAlso (Not objUser Is Nothing) Then)

     Dim uc AS UserController = new UserController
     objUser = uc.GetUser(PortalID, UserID)

    then i login in with the same newuser password and under host username.. everything went fine for now.

    I decided to test it to find out the right sollution and took off the code and login in again and it work

    so my conclusion is that the first sollution worked and the second may help but I am not sure.

    Here is were I got the info:

    http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/118/threadid/75389/scope/posts/Default.aspx



    ---