User2094860517 posted
I upgraded a project from Visual Web Developer 2008 to 2010. It worked fine in Web Dev 2008. With Web Dev 2010 it publishes fine but the web page throws a"Could not load type" error.
Parser Error Message: Could not load type 'CheckLog2._Default'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="CheckLog2._Default" %> Line 2:
|
Can anyone advise on how I can figure out why I'm getting this error?
Here's some more information:
my .designer.vb starts with
Namespace CheckLog2
Partial Public Class _Default
If I delete the Inherits="CheckLog2._Default" part from the published Default.aspx page then the page works fine. If I delete it from the source file then it removes the Namespace declaration and the class name from the .designer.vb
file and if I try to add that back to the .designer.vb file it automaticall takes it right back out.