473,320 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

WTF: Could not load type 'class'

I was in the middle of developing a new Web app with no upgrades, no
system restores nothing except the modification of some methods, when
all of the sudden this garbage started popping up during run time:

Could not load type 'class_type' in file "File:/that_had_worked_fine/
2_minutes_ago.aspx"

Most help says to build the project first, or make sure the solution
is in a virtual folder set up as a web app in IIS. Anyways, duh...but
that still did not fix my problem.
I was running VS 2005, sp2 since the beta. The SP2 is the full General
release now.

Anyways, after messing with visual source safe after it did not
release a DTD file for a typed dataset and the designer would not
display it I ran into a big problem.

All of the sudden, none of the web pages could find their "Type" from
the Inhereits directive of the page.

After messing with this crap for 2 hours, and applying all of the Web
app designer "Add-in" to Visual studio VS80-KB915364-X86-ENU.exe... I
figured out what happened.

the Compiler no longer recognized "CODEBEHIND". Now it only wanted
"CodeFile". So I just did a search and replace through my 80 web pages
that were part of the web app than ran fine 20 minutes before the
problem.

ANYWAYS. C# 2005 SP2, in middle of dev with no VS restart or naything
else I had to use CodeFile instead of CodeBehind.

Jun 7 '07 #1
0 860

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

Similar topics

3
by: hall | last post by:
I have a problem with my design of a templatized class. I'm trying to figure out how to load and save the data inside it, but can't. My class looks like this ------------------------------------...
20
by: jason | last post by:
hello everyone. can anyone tell me why this chunk of code: if (Convert.IsDBNull(oCommand.Parameters.Value)) { p_nErrorCode = 10; p_sErrorMessage = "Login failed, no matching credentials found";...
2
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...
2
by: Joe Van Meer | last post by:
Hi all, I have a page that fills a dataset with 3 tables, relations are created and now I am just simply trying to display the number of returned records from one of the tables in the dataset...
0
by: Mr. SweatyFinger | last post by:
on some user controls i get page load events on others not. wtf is going on
5
by: Alias | last post by:
Hi - I'm trying to implement a custom RoleProvider based on the SqlRoleProvider. I keep receiving a an error that it can't load type 'MyRoleTest.MyRoleProvider' when trying to load my...
2
by: GilBates | last post by:
I was kind of expecting to see a "test" message pop up when I clicked the submit button, but NNNNOOOOOOOOOOO! wtf gives? <form method="post" onsubmit="javascript:window.alert('test');"...
4
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...
2
jamwil
by: jamwil | last post by:
What's up guys. I'm having some issues... I've created a method as part of my lifestreaming class which takes an rss feed, and puts the data into a database... It's fairly simple... Check...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.