L
Leszek
Hello,
I need to implement form based authentication in my WebForm application.
When I deployed it I have received the following the error:
=========
Configuration Error
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.
=========
The problem is that my Internet provider (Look Communication -
http://www.look.ca/e/index.html) is not able to create a virtual directory
for my application. I had requested it for the codebehind feature, but they
answered that they could not do this because of security reasons (?). I had
to copy and past all code from codebehind files to a <script> section of
each page manually!
Now it turned out I can't use Form authentication! It's too much! If they do
not support .NET why they claim they do!
Anyway is there any workaround to use Form authentication without a virtual
directory. I just need files from one folder to be authenticated.
Thanks for any help,
And remember - NEVER USE LOOK.CA for .NET development!
Leszek Taratuta
I need to implement form based authentication in my WebForm application.
When I deployed it I have received the following the error:
=========
Configuration Error
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.
=========
The problem is that my Internet provider (Look Communication -
http://www.look.ca/e/index.html) is not able to create a virtual directory
for my application. I had requested it for the codebehind feature, but they
answered that they could not do this because of security reasons (?). I had
to copy and past all code from codebehind files to a <script> section of
each page manually!
Now it turned out I can't use Form authentication! It's too much! If they do
not support .NET why they claim they do!
Anyway is there any workaround to use Form authentication without a virtual
directory. I just need files from one folder to be authenticated.
Thanks for any help,
And remember - NEVER USE LOOK.CA for .NET development!
Leszek Taratuta