473,626 Members | 3,936 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could not load type 'test'.

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="tes t.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="tes t.aspx.vb" Inherits="test" %>
<HTML>
<HEAD>
</HEAD>
<body>
</body>
</HTML>

Test.aspx.vb
Public Class Test
Inherits System.Web.UI.P age

End Class

Nov 18 '05 #1
1 2823
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

"Nigel Findlater" <an*******@disc ussions.microso ft.com> wrote in message
news:05******** *************** *****@phx.gbl.. .
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="tes t.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="tes t.aspx.vb" Inherits="test" %>
<HTML>
<HEAD>
</HEAD>
<body>
</body>
</HTML>

Test.aspx.vb
Public Class Test
Inherits System.Web.UI.P age

End Class

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4308
by: rh | last post by:
Executing the script given below Opera, Netscape and Mozilla successfully load the js file in both the "main" and "test" window. However, while IE 6 manages to load OK in "main", it produces the "Load failed in test" alert. IE behaviour is the same if a local file is used for the js source, so the problem doesn't appear to be zone security related. Any ideas of what's wrong here, or what needs to be done to get it to work in IE?
8
7290
by: Rene | last post by:
Hi, I'm spend many hour to fix this problem, read many articles about it but no article gave a solution. To isolate the problem I've created in IIS6 (WServer2003) a virtual directory test to the local C:\test, in this directory I have index.htm and test.asp (just a simple Response.Write "TEST"). Opening the server/test/index.htm show the page, server/test/test.asp gives
2
6865
by: brianbender | last post by:
I am trying to load and unload assemblies dynamically and call methods and properties when loaded into an Appdomain I can load assemblies all day in the current AppDomain without references and without interfaces if need be. But try as I may they will ot unload. I have been working on this problem for weeks. I have seen other apps using Remoting but I know there has got to be a way to create a child AppDomain and reference obkect via...
0
3309
by: M | last post by:
Hi There, I am having lot of trouble getting out the ASP.NET "dll hell", i hope i can find the help here. i have coded a simple page using Visual Studio compiled it. keep on getting works on my computer but when i put this page on the test sever online on which i have very control and can't recompile over there. i keep on getting error could not load type "_default". Code for the page is as follows <!------------------------- HTML PAGE...
0
5312
by: phillip | last post by:
This is interesting, I have attached my web.config file and the exception I have been logging. I created a library which provide data access to a database and a control system. The library is written in C#. I created a small .exe file to test that the library builds propertly from configuration and that it communicates properly. This work great in the System.Windows.Forms. However, when I use the library in a web enviroment things...
2
10474
by: Daniel Bass | last post by:
Scenario (Hardware) ---------------------- I've got an engineering source server with Win 2k on it. We use it for all the source files for our projects etc... Let's call it "Engineering" for this scenario's sake. Next, I have a test machine, again running Win 2k, we'll call it "Test", that we use to drop all our compiled applications onto for testing before release to our clients.
5
1701
by: =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post by:
Hi, I know that VS 2005 has a lot of testing features and already used them for doing web load testing. I am wondering if it is possible to load test a win forms application. I don't mean writing unit tests, what I need to do is run a load test against my executable and watch CPU utilization and memory usage. When doing web load testing, a wizard help us to write the scenario through recording steps in a session. Ultimatly I need to...
0
2029
by: =?Utf-8?B?TGFzdGJ1aWxkZXJz?= | last post by:
Hi all, I have a weird problem which has been causing me a headache for the last two days. I have to dynamicly generate a schema in memory and load it into a dataset in memory to be returned for further use. To create the schema I am using the XMLSchema classes and the result is the
4
8399
hemantbasva
by: hemantbasva | last post by:
We have designed an aspx page having five ajax tab in it. the data of first four are designed on page whereas for the fifth tab it renders a user control named MYDOMAIN. in the tab container's even onactivetabindexchanged we have called a method loadtabpanel() which is defined in javascript in same page.the problem is it sometime give the message load tab panel undefined. this error does not come regularly. it comes in usercontrol rendering . i...
0
8266
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8199
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8705
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8638
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7196
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5574
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2626
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.