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

D

Dean R. Henderson

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
 
B

Brock Allen

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


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>>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top