J
Jimi
Hi all, we are deploying a test ASP.NET 2.0 website and as such our test url
looks something like
http://202.45.201.25/testfolder
Now if I go to the above url and view my default page
http://202.45.201.25/testfolder/default.aspx
I get the old
==========
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 'Default'.
Source Error:
Line 1: <%@ Page Language="C#" MasterPageFile="~/Default.master"
AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default"
Title="Untitled Page" %>
Line 2:
Line 3: <%@ Register Src="UserControls/AdminNav.ascx" TagName="AdminNav"
TagPrefix="uc1" %>
==========
As I believe that the ASP.NET engine is looking for the bin files in the
root folder
e.g.
http://202.45.201.25/bin
instead of
http://202.45.201.25/testfolder/bin
in the 1.1 framework I would have simply copied the necessary dll out of the
BIN folder under http://202.45.201.25/testfolder/bin and placed it in the
bin folder under http://202.45.201.25/bin
How can I do this in ASP.NET 2.0??
TIA
Mark
looks something like
http://202.45.201.25/testfolder
Now if I go to the above url and view my default page
http://202.45.201.25/testfolder/default.aspx
I get the old
==========
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 'Default'.
Source Error:
Line 1: <%@ Page Language="C#" MasterPageFile="~/Default.master"
AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default"
Title="Untitled Page" %>
Line 2:
Line 3: <%@ Register Src="UserControls/AdminNav.ascx" TagName="AdminNav"
TagPrefix="uc1" %>
==========
As I believe that the ASP.NET engine is looking for the bin files in the
root folder
e.g.
http://202.45.201.25/bin
instead of
http://202.45.201.25/testfolder/bin
in the 1.1 framework I would have simply copied the necessary dll out of the
BIN folder under http://202.45.201.25/testfolder/bin and placed it in the
bin folder under http://202.45.201.25/bin
How can I do this in ASP.NET 2.0??
TIA
Mark