My login control works perfectly well in Visual Studio 2008 on localhost, but when published to Internet logins simply refresh the login.aspx form and don't redirect to the requested page.
Annwvyn, have you gotten answers to your problem? I am having a similar problem. The login control which uses Membership works fine in my local, but after published to Discount ASP.NET server, the login encounters error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) I don't know what's wrong. Can someone help? Thanks, 00
If you are using membership and roles, did you see this article: http://support.discountasp.net/KB/a...20-membershiproles-provider.aspx?KBSearchID=0
I had a similar problem while testing out the login features. It turns out that the access roles for the user were set to "deny". When that happens and you login, you'll be sent to the default page. When I changed the access role to "allow" for the user, I was sent to the page I'd intended to display.
Thanks buff. That's exactly what happened. when I change to deny users="?" it works. This is confusing because asp.net configuration says allow roles="Users" has priority over it. But it works now .