Could not load type 'test'.

N

Nigel Findlater

I have been using Visual Studio 2003 to generate aspx and
aspx.vb file. On my development platform they all work
fine, but when I load them on the server I get the
message:

Parser Error Message: Could not load type 'test'.

Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="test.aspx.vb" Inherits="test"%>

The source files where very simple, Does anyone know what
went wrong?

Nigel...

Test.aspx:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="test.aspx.vb" Inherits="test"%>
<HTML>
<HEAD>
</HEAD>
<body>
</body>
</HTML>

Test.aspx.vb
Public Class Test
Inherits System.Web.UI.Page

End Class
 
B

Branimir Giurov

You need to copy the BIN folder as well on the server. In it you'll see the
dll that holds the compiled version of what you've wrote.
Have you done that?

Branimir Giurov
MCSD.NET, MCDBA
eAgility LLC
 

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

Top