Please help me with this problem.
When my project is added as a virtual directory, I am able to browse all of the pages very fine. But since my project is ecommerce application, i wanted to use Form Authentication to my login page and when i add
______________________
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.
Source Error:
Line 59:
Line 60:
Line 61:
Line 62:
Line 63:
________________________________
But, When i convert my project to application through Application Create in IIS, i am not able to browse the page at all. The error i get is:
_________________________
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type Application.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Application.Global" Language="C#" %>
Source File: /Apps/global.asax Line: 1
________________________________________
Replies
Know the answer? Post it — somebody with the same question will find it here.