473,387 Members | 1,485 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

parser error: Can't load type 'namespace.page'.

In my website I have 2 applications. The first web application is the root
of the website. The second one is a subfolder of the root application. I
have it set that all "sub applications" compile their code and put it in the
bin folder of the root project. So, My sub project called "InHim" compiles
its output and puts it in the bin folder of Root project. That way all of
the compiled code is together and in one place (easier to find that way).
Anyways, I have in each project a masterPage called Layout.master. I ended
up getting the Layout.master for the root project to work. All I have to do
is figure out why the InHim project wont work. I build the solution, publish
it to the test server and I get this error:

Parser Error Message: Could not load type 'InHim.Layout'.

Source Error:

Line 1: <%@ Master Language="C#" AutoEventWireup="true"
CodeBehind="Layout.master.cs" Inherits="InHim.Layout" %>
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: /Layout.master Line: 1
--------------------------------------------------------------------------------

Does anybody know how to fix this? I am using vs2005 and web application
projects to do this. I tried making references to the root project from the
sub project and the other way around but it is still broke...

Nov 21 '07 #1
0 942

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
2
by: John G. | last post by:
I am getting the following error when attempting to browse a page, "WebForm1.aspx", in a web forms project sub-folder, "/FormsAuth1/Protected/". Parser Error Message: Could not load type...
6
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
6
by: dhnriverside | last post by:
Hi peeps Ok, I've got a web application running (lets call it MyApp, so its namespace is MyApp). I've created a subdirectory within this application called "secure", and made than an Application...
2
by: Marshall | last post by:
Hi All, I am building an asp.net web app using Visual Studio 2003. Today I created a new folder called 'Secured' at the root of my web app so I could partition off all of the restricted...
1
by: z f | last post by:
hi, I have a vb.net asp.net web app. suddenly after working for long time, I get this error message in my app: Could not load type when trying to show a web form. what can be the error? the...
1
by: brittogladez | last post by:
Hi Friends, Please carefully go through my prob which is listed below and give me a solution. Server Error in '/<Appname>' Application....
3
by: Olav | last post by:
I get this error in the EventLog when I try to open an ASP.NET 2.0 web page. What should I look for to fix the problem? Olav Event code: 3006 Event message: A parser error has occurred....
0
by: yashgt | last post by:
I have a web application which has two projects in one solution. The proper build order and dependencies have been set. The solution compiles and builds properly. But when I invoke any URL from the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.