Re: SqlMembershipProvider not working on production server



On Jul 9, 4:23 pm, Dominick Baier
<dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I have seen similar behavior when the required validation scripts are not
in the right place on the server...

Yes, that directory in on the production server.

We found that if we add 'cookieless="UseUri"' to the authentication
tag everything works.

It appears that cookies are not being generated from the produciton
server. This is not a browser setting because it works in dev and
test.

Why would the server to generate the cookies? Is there a setting 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- Hide quoted text -

- Show quoted text -


.



Relevant Pages

  • Re: Image URL?
    ... I did not put MYWEBSITE under Inetput. ... Production Server c:\MYWEBSITE\userControls ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Code Behind vs not
    ... When inline code is deployed to a production server you now have server ... If you have an error during compile time it will occur on the production ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Need for deployment project, VS 2008, WinXP
    ... is proper to put into the production server. ... copying updated DLL to Production server works fine. ... In the staging server, create a bat file named "ReinstallWebSetup.bat". ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.general)
  • RE: Help with NAT
    ... When I visit the development server through the FreeBSD NAT box I ... xl1 is the external interface, xl0 is the internal interface, ... And this is what I see when I try the production server: ...
    (freebsd-questions)
  • Re: Performance problems oracle 8i
    ... > processor, less memory). ... The production server should be faster than ... W2K does not support a bulk of memory, ... > But now we're trying the scripts on the production server and it all ...
    (comp.databases.oracle.misc)