Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Ok this is what i have. I have a web application where any visitor can access pages except pages located in a directory called "SECURE".

 

  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 'namespace.Login'.

Source Error: 


Line 1:  <%@ Page language="c#" Codebehind="Login.aspx.cs" AutoEventWireup="false" Inherits="namespace.Login" %>
Line 2:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3:  <HTML>

 

Hi, I am getting the above error when i try to secure a directory in my Web App. I have placed a second web.config file in the SECURE directory and set the authentication and authorisation nodes properly. When i request a page from the Secure folder the application redirects to the login page with the necessary querystring but the above error comes up.

I have looked everywhere on the net and changed the settings of the directory to make it a web application but doesn't work :(

Please help as this is quite important.

Thanks

Posted
What is the namespace of this app? Is it called 'namespace' ?

 

Lol no, its the name of the company which i am developing the app for so i couldn't put their name on. I need to figure this out cos i am on internship thingy :(

 

Weird things are happening, The Virtual Directory from the IIS has disapeared but the project still works. When i try to recreate the virtual directory i am told that it needs to be a unique alias.

Neways thats isnt the main issue.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...