By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

How can I resolve error: Could not load type...

P: n/a
I added a new ASP.NET page to an existing project and I get the following error when trying to display the page:

Parser Error Message: Could not load type '<ASP.NET Project Name>.<Page Name>'.

Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="<Page Name>.aspx.vb" Inherits="<ASP.NET Project Name>.<Page Name>" %>

I copied this page to another project and after adjusting some Import references was able to display the page without any errors. I would appreciate any help about how I can get this page to display properly in the initial project I added the page into.

Thanks.

Dean
Nov 28 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Just a guess, but it sounds like the DLL with that class isn't in the ~/bin
directory in the root of the application.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I added a new ASP.NET page to an existing project and I get the
following error when trying to display the page:

Parser Error Message: Could not load type '<ASP.NET Project
Name>.<Page
Name>> '.
Name>> Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="<Page Name>.aspx.vb" Inherits="<ASP.NET Project
Name>> .<Page Name>" %>
Name>> I copied this page to another project and after adjusting some Import
references was able to display the page without any errors. I would
appreciate any help about how I can get this page to display properly
in the initial project I added the page into.

Thanks.

Dean

Nov 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.