Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parser error, Cannot load Codebehind.

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
US
These are the first 3 lines of my code:
Code:
<%@ Page Language=&quot;vb&quot; CodeBehind=&quot;lRollReorder.aspx.vb&quot; Inherits=&quot;century.lRollReorder&quot; AutoEventWireup=&quot;false&quot; %>
<%@ Register TagPrefix=&quot;UserControl&quot; TagName=&quot;Head&quot; Src=&quot;smallHead.ascx&quot; %>
<%@ Register TagPrefix=&quot;UserControl&quot; TagName=&quot;Foot&quot; Src=&quot;mainMenu.ascx&quot; %>

I get the message that Could not load type 'century.lRollReorder'.

My codebehind starts like this:
Code:
Public Class lRollReorder
 Inherits System.Web.UI.Page

Any ideas why I get this problem?
 
K, here is the latest on this. If the page is in the root folder of the web, no prob. It is only when I put this page in the /secure/ folder (rootWeb/secure/) that I get this problem. The secure folder is a virtual directory in IIS set as an application named /secure/.

Hmmm... just thought of something. What if I made the secure folder a separate project/solution in VS? Hmmm... any ideas/thoughts about how to procede with this?
 
That was it! I simply excluded 'secure' from the root web's solution, and created a new solution called secure, and included the module and all those files!!! That's it! Done and over. Thank you everybody for all your help on this one through various threads and such. Now it should be smooth sailing, for a while.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top