Re: SqlMembershipProvider not working on production server



I have seen similar behavior when the required validation scripts are not in the right place on the server...

do you have a /aspnet_client/system_web/2_0_50727 vdir on your production server?


-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

I have an application that uses the SqlMembershipProvider and
SqlRoleProvider for security. I have setup my SQL Server database
using aspnet_regsql.exe and configured my application to hit the
correct database. Everything works as expected when running on my
development machine, and on our test server. But when running on our
production server it will not work.

On the production server, I get this behavior:
If I enter an incorrect password, I get the expected error message.
If I enter the correct password I get nothing - the login page just
reloads. I get no error message and I am not redirected to the target
page.
All three of these servers hit the same SQL Server database for
security and for the application. All machines are running IIS.

How can I get more information about what is happening?

Thanks,
Don


.



Relevant Pages

  • Re: How to connect into remote server
    ... There's always the option of going with some sort of open source database like MySQL. ... If you develop a web application and run it on a web server (Internet Information Server) on your local area network, then you'd use your web browser to connect. ... ASP.NET + SQL server database ...
    (microsoft.public.dotnet.framework.aspnet)
  • Network Load Balancing & Application_Start() not firing & Session clues
    ... SQL Server database is storing session information ... Edit web.config on each webserver to force them to reload the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Typed datasets and DateTime using .NET remoting over differing timezones
    ... There is a SQL Server database at the back-end. ... The server machine is in one time zone. ... If we pass Typed DataSets across the wire then DateTime columns within ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: How to error-proof Doug Steels "FixConnections"?
    ... rather than letting them type in the server and database name. ... you could also store the information in a table in the front-end. ... SQL Server database from the backup, how to get rid of the annoying ...
    (microsoft.public.access.externaldata)
  • Re: Creating a Login Form in VB6
    ... Sounds like you need to add a textbox for the user to enter a "Server name ... > and uses ADO code to validate it on an SQL server database across the ... >> I have a Login form that I have written using VB6. ...
    (microsoft.public.vb.database)