S
shaun.laughton
Hi All.
I am new to ASP.NET 2.0 development, and am writing a small
application to log time and expenses for projects.
I have successfully set up Membership, Role and Profile providers
using the 'SqlProvider's and all appears to be well while I am using
the built in 'ASP.NET Development Server'. I am also using SQL Server
2005 Standard Edition - not Express.
I am able to log in as users and get the 'You are logged is as
<username>' response displayed in my LoginVierw control. I have even
created a new webform which returns the GUID of the logged in user.
This successfully displays a user GUID.
However, when I use IIS 6.0 I can enter my username and password but I
am not logged in successfully. **No** error message is generated, and
I am **not** presented with the 'failed to log in' message or an
incorrect password message. I am redirected to another page and the
LoginView control still stays 'Not Logged In'. When I go to my web
form which returns the logged in user GUID I get an error because the
control is empty - because the user isn't logged in.
I have checked the applicationName properties in web.config, and these
match those in the aspnet_Applications database table. I have also
tried creating a new user via my application, and the user is created
correctly as I can see it in the aspnet_Users database table. However
I cannot log in as this new user as I get the same behaviour as I
described above.
I have seen other posts on this, but they all mention getting 'failed
to log in' messages, but I don't. I have tried everything I can thing
of and goole for, but am getting nowhere
Please help!!!!! )
TIA
Shaun
I am new to ASP.NET 2.0 development, and am writing a small
application to log time and expenses for projects.
I have successfully set up Membership, Role and Profile providers
using the 'SqlProvider's and all appears to be well while I am using
the built in 'ASP.NET Development Server'. I am also using SQL Server
2005 Standard Edition - not Express.
I am able to log in as users and get the 'You are logged is as
<username>' response displayed in my LoginVierw control. I have even
created a new webform which returns the GUID of the logged in user.
This successfully displays a user GUID.
However, when I use IIS 6.0 I can enter my username and password but I
am not logged in successfully. **No** error message is generated, and
I am **not** presented with the 'failed to log in' message or an
incorrect password message. I am redirected to another page and the
LoginView control still stays 'Not Logged In'. When I go to my web
form which returns the logged in user GUID I get an error because the
control is empty - because the user isn't logged in.
I have checked the applicationName properties in web.config, and these
match those in the aspnet_Applications database table. I have also
tried creating a new user via my application, and the user is created
correctly as I can see it in the aspnet_Users database table. However
I cannot log in as this new user as I get the same behaviour as I
described above.
I have seen other posts on this, but they all mention getting 'failed
to log in' messages, but I don't. I have tried everything I can thing
of and goole for, but am getting nowhere
Please help!!!!! )
TIA
Shaun