In VS I created a subfolder and configured it for forms authentication. When I build and browse a page I get:
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 2:
Line 3: <system.web>
Line 4: <authentication mode="Forms">
Line 5: <forms name="CookieFormApplication"/>
Line 6: </authentication>
I went into IIS and made the folder into an application as suggested by an earlier archive I read. When I did this I get this error:
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 'penny_saver.com.login1'.
Source Error:
Line 1: <%@ Page Language="
vb" AutoEventWireup="false" Codebehind="login.aspx.
vb" Inherits="penny_saver.com.login1" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
Does anyone know why this is happening?
Thanks,
jsmoritz