Problem asp.net login

Discussion in 'Site Programming, Development and Design' started by Codewriter90x, Aug 5, 2010.

  1. Hello

    I've build a web site in asp.net using the asp.net features, on local all works... Exported the web site, rebuilded the MsSql db the problems started...
    The asp.net login forms don't run...
    the web site is: http://kinesiol.w02.Winhost.com/
    on "area studenti" there's the login form ...
    Somebody can help me ?? :confused:
     
    Last edited by a moderator: Oct 14, 2015
  2. Ray

    Ray

    What do you mean that it don't run? Can you be a little more specific? What is the error message you are getting? It would help if you can give us instructions and a test account to use.
     
  3. the username and password are "primo"
    but the server sql don't response I think... Because it say the login is not correct...
     
  4. Ray

    Ray

    Hard to say. You may want to check what login and password is actually stored in the database. What did you do to create this login form? Was it a template from some application you purchased? Or did you start from scratch creating the ASP.Net Membership/Roles provider?
     
  5. yes ... I've read form the db... No is a normal Asp.net login form nothing else ... :'( created by the the membership roles provider
     
  6. it's ok ... resolved ... -.-'
    Now there's another ... the server response :

    Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

    i've add:

    <machineKey
    validationKey="768E60DE4522BD007315B85AC1365B714AB6B562097EA190A28518412835097AEE556E71E0B663E72A9D25780088115185049552DE4501FCB330BE2C08FDFB85"
    decryptionKey="A58A2D1CB8418E0BB2B13A22778A26E5740F4BCDC5F5929AF400AD15B08D96AF"
    validation="SHA1" decryption="AES"
    />

    but ... nothing ... somebody can help me ??
     
  7. Ray

    Ray

    Do you need viewstate? If your application don't need it I suggest turning it off by setting it to false.
     

Share This Page