Click here to Skip to main content
16,005,114 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.Net 2.0 Modal window - Master/Child page Pin
minhpc_bk18-Apr-06 16:09
minhpc_bk18-Apr-06 16:09 
QuestionSetting Datagrid column width dynamically Pin
Veeves18-Apr-06 3:19
Veeves18-Apr-06 3:19 
AnswerRe: Setting Datagrid column width dynamically Pin
NeverHeardOfMe18-Apr-06 3:42
NeverHeardOfMe18-Apr-06 3:42 
GeneralRe: Setting Datagrid column width dynamically Pin
Veeves18-Apr-06 4:55
Veeves18-Apr-06 4:55 
AnswerRe: Setting Datagrid column width dynamically Pin
VaibhavJ19-Apr-06 5:26
VaibhavJ19-Apr-06 5:26 
QuestionASP.NET Pin
kuwl_mark18-Apr-06 2:53
kuwl_mark18-Apr-06 2:53 
AnswerRe: ASP.NET Pin
minhpc_bk18-Apr-06 6:05
minhpc_bk18-Apr-06 6:05 
QuestionForms Authentication and deploying Pin
dabs18-Apr-06 2:08
dabs18-Apr-06 2:08 
Hi,

I have an ASP.NET application I've been developing using Visual Studio 2005 and therefore I've been using the built-in webserver for debugging. So far so good, and everything works as expected. The application includes a login page which uses the standard Login ctrl, and it uses a custom membership provider for Access (http://msdn.microsoft.com/vstudio/eula.aspx?id=96713a8e-b8d4-4d6e-bb8f-027e6c8e15d8[^]). However, when I deploy (just to the local IIS on my computer), the login stops working. I.e., when I try logging in supplying wrong username or password I get a "Invalid login" message. But if I supply a correct username and password, all I get it a "The page cannot be displayed". There is no indication of a redirect - after all, I set the Login control to just stay on the Login.aspx page after login succeedes. I've also tried to bypass the Login control, supplying my own username and password controls, and then adding the code myself which calls Membership.ValidateUser. The funny thing is, the try/catch block inside that function never catches anything, and even if my code looks like this:

if ( Membership.ValidateUser( strUsername, strPassword ) )
{
// No code in here!
}

the login *still* fails, i.e. it does not seem to matter if there is any code after the ValidateUser function call.

I honestly don't know what could be causing this but I have a feeling it could be something of the following:

- security, is someone (the membership provider) trying to write to the database and doesn't have the sufficient rights to do so? In that case, I should get an "Operation must use an updateable query" error, right?
- IIS configuration, is there something I haven't set correctly?
- something more I'm forgetting...

Anyway, I would welcome any help/ideas how to solve this!

Regards,
Daniel
AnswerRe: Forms Authentication and deploying Pin
Mike Ellison18-Apr-06 6:05
Mike Ellison18-Apr-06 6:05 
QuestionDataGrid, DataList Pin
ndkit18-Apr-06 1:25
ndkit18-Apr-06 1:25 
AnswerRe: DataGrid, DataList Pin
jitendra gupta18-Apr-06 1:59
jitendra gupta18-Apr-06 1:59 
QuestionDatagrid Formatting....... Pin
daviiie18-Apr-06 0:52
daviiie18-Apr-06 0:52 
AnswerRe: Datagrid Formatting....... Pin
Mike Ellison18-Apr-06 5:56
Mike Ellison18-Apr-06 5:56 
QuestionASP.Net 2 Menu Control and MultiView Control Pin
colin mcadam18-Apr-06 0:37
colin mcadam18-Apr-06 0:37 
AnswerRe: ASP.Net 2 Menu Control and MultiView Control Pin
minhpc_bk18-Apr-06 5:23
minhpc_bk18-Apr-06 5:23 
GeneralRe: ASP.Net 2 Menu Control and MultiView Control Pin
colin mcadam18-Apr-06 5:28
colin mcadam18-Apr-06 5:28 
GeneralRe: ASP.Net 2 Menu Control and MultiView Control Pin
minhpc_bk18-Apr-06 5:59
minhpc_bk18-Apr-06 5:59 
GeneralRe: ASP.Net 2 Menu Control and MultiView Control Pin
colin mcadam19-Apr-06 0:12
colin mcadam19-Apr-06 0:12 
Questiontextbox substring Pin
kirthikirthi18-Apr-06 0:35
kirthikirthi18-Apr-06 0:35 
AnswerRe: textbox substring Pin
J4amieC18-Apr-06 1:03
J4amieC18-Apr-06 1:03 
GeneralRe: textbox substring Pin
kirthikirthi18-Apr-06 1:09
kirthikirthi18-Apr-06 1:09 
GeneralRe: textbox substring Pin
J4amieC18-Apr-06 2:05
J4amieC18-Apr-06 2:05 
Questiongridview problem Pin
sohne18-Apr-06 0:32
sohne18-Apr-06 0:32 
AnswerRe: gridview problem Pin
minhpc_bk18-Apr-06 5:21
minhpc_bk18-Apr-06 5:21 
GeneralRe: gridview problem Pin
sohne18-Apr-06 19:01
sohne18-Apr-06 19:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.