I've tried enable the <Authentication Mode="Forms" /> profile, but I received
the following error message:
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.
How could possibly I resolve this problem?
"Ken Cox - Microsoft MVP" wrote:
Just checking but does your web.config have profiles enabled.
<authentication mode="Forms" />
?
Ken
MVP [ASP.NET]
"Seok Bee" <se*****@yahoo.com> wrote in message
news:34**********************************@microsof t.com... Dear Experts,
I an trying to use the Login controls in asp.net 2.0 in the Visual Studio
2005. I have created the login page as login.aspx and set the
DestinationPageUrl to ont of my webpage. I have included the Loginname
control in my destination webpage to show the current user who is logging
in.
However, after I login through the login page, the Loginname control does
not
show the user login name. It is empty. Do I need to configure anything in
order to show the current login user?
Many thanks in advance.
Regards,
SB