Last post Apr 27, 2012 01:10 PM by Ruchira
Apr 24, 2012 08:19 AM|JaniceW|LINK
I get this error message :
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed,
had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /login.aspx
When I store my .aspx files in a folder in the project and when I store the .aspx file outside the folder (together
with Web.config), I get to browse the .aspx.
I've check my security for the folder which is set to "localhost", everyone, admin and they have the full control for the folder (the same security I did for others folder). It doest work. Is there anything else I can do? I tried delete the whole folder, building
new .aspx pages, enable roles. Yet, the problem still occur.
Please help me.
Apr 24, 2012 08:41 AM|nijhawan.saurabh|LINK
Apr 24, 2012 12:21 PM|JaniceW|LINK
But the problem is i don't even have login.aspx file in my project. Moreover the others folder in my project (eg: User Folder and Admin Folder) can be browsed through browser. Please help me. thanks.
Apr 24, 2012 12:38 PM|nijhawan.saurabh|LINK
Ok, well remove the membership tags from web.config as you dont want any authentication.
Search for login.aspx in web.config, i am sure you have specified it somewhere inside it.
Apr 24, 2012 01:18 PM|JaniceW|LINK
I've delete the <properties> that i set for that Folder1 in web.config then i get this:
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 'Simon_Fung__Educational_Management_System.Default'.
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Simon_Fung__Educational_Management_System.Default" %> Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /default.aspx Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
Apr 24, 2012 01:25 PM|nijhawan.saurabh|LINK
Other then removing some tags from web.config did u remove anything else also?
If not, can you share old and new versions of web.config here.
Apr 24, 2012 01:41 PM|JaniceW|LINK
THis is all I have for my web.config. I've deleted everything and even the folder1.
THen I add in the new web.config:
For more information on how to configure your ASP.NET application, please visit
<authentication mode="Forms" />
<compilation debug="true" targetFramework="4.0" />
WHen I debug it, errror occured:
Apr 24, 2012 01:46 PM|nijhawan.saurabh|LINK
Can you check code behind file of Default.aspx and see if it inherits from Simon_Fung__Educational_Management_System.Default or not.
Apr 24, 2012 02:06 PM|JaniceW|LINK
public partial class Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
Apr 27, 2012 01:10 PM|Ruchira|LINK
Moreover the others folder in my project (eg: User Folder and Admin Folder) can be browsed through browser.
Disable the directory browsing in IIS.
Click on the Directory Browsing icon in IIS
And click on the Disable link.
Please 'Mark as Answer' if this post helps you.