473,569 Members | 2,472 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET 1.1: Unable to generate a temporary class (result=1). error CS0011

63 New Member
Hello people.

im back to the forum with another problem:
Unable to generate a temporary class (result=1). error CS0011

It seems this error appeared after installing ServicePack 1 for .net 1.1, and
after some windows updates some people here did to the server. Anyway
it seems to happen when i try to consume a webservice. i really have absolutley no idea whats wrong with this thing. stupid updates...

i did find a similar post on this forum in the past. but the post's date was sometime on 2005, the thing is there was no answer, so here i am 2 years later hoping someone knows how to fix this now.

microsoft seems to know the issue, but did not give any real fix to it. they talk about some hotfix, but you have to contact them. and im kinda faraway in central america so...no real microsoft support around here.

any help is welcome, thanx!
Nov 1 '07 #1
6 2289
Plater
7,872 Recognized Expert Expert
Hmm.
Do you also get this?
Referenced class '<page name>' has base class or interface
'System.Web.UI. Page' defined in an assembly that is not referenced. You must
add a reference to assembly 'System.Web'. error CS0011: Referenced class
'<page name>' has base class or interface 'System.Web.Ses sionState.IRequ iresSessionStat e' defined in an assembly that
is not referenced. You must add a reference to assembly 'System.Web'.
Nov 1 '07 #2
mikeyeli
63 New Member
Hmm.
Do you also get this?
Yup thats it man, if you know how to fix this...youll be my new god dude...im in real trouble, since this issue appeared in about three apps, and its a real chaos.
Nov 1 '07 #3
Plater
7,872 Recognized Expert Expert
Open up the project and add the references they mention?
And if they're there already, remove them and re-add them?

I would guess that it's looking for a hard reference to say "webUI1.0.d ll" and you now have "webUI1.1.d ll" and it refuses to use it until you add a reference to the new "file"

Hopefully it's pretty easy.
Nov 1 '07 #4
mikeyeli
63 New Member
Open up the project and add the references they mention?
And if they're there already, remove them and re-add them?

I would guess that it's looking for a hard reference to say "webUI1.0.d ll" and you now have "webUI1.1.d ll" and it refuses to use it until you add a reference to the new "file"

Hopefully it's pretty easy.
ok, i tried that.
the thing is everything im doing is on an aspx. so what i do is:

aspx:
Expand|Select|Wrap|Line Numbers
  1. <%@ Import Namespace="System.Web.Services"%>
how do i know to wich "System.Web " is it pointing to(1.0 or 1.1) ?? how can i change this.

one other thing the reason im working on an aspx(no code behind), is that i have no code to this applications(pe ople here expect me to make miracles), so what i do is kind of workaround things, by doing what i need on a seperate aspx file with server code in it. i dont know if working this way(aspx file not belonging to the solution) may be causing this problem...

it was working fine....until the updates were done...
Nov 1 '07 #5
Plater
7,872 Recognized Expert Expert
The project itself should contain a set of references, check those?
Nov 1 '07 #6
mikeyeli
63 New Member
The project itself should contain a set of references, check those?
I was able to obtain the applications code....fixed the problem, thanks for your time plater.
Nov 2 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2650
by: James Proctor | last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my clients is intrested in a web based application, so im trying to play on and learn it a tad. However im comming across lots of problems. Up until now ive managed to sort most of them, but now im strugling. When i run my application i keep getting this. Server Error in...
16
4184
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the project in debug mode (by hitting F5) it gives an error message "Error while trying to run project: Unable to start debugging on the web server.
1
2317
by: A Traveler | last post by:
Hello, i am having this problem. The exact error message is: "Unable to generate code for a value of type 'System.Web.UI.Page'. This error occurred while trying to generate the property value for Page." After a lot of googling, all i can find that this applies to is when trying to use enum-type datatypes as bit-vector flags, or when use...
1
3396
by: James Proctor | last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my clients is intrested in a web based application, so im trying to play on and learn it a tad. However im comming across lots of problems. Up until now ive managed to sort most of them, but now im strugling. When i run my application i keep getting this. Server Error in...
0
12020
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in '/CinemaBookingSystem' Application. -------------------------------------------------------------------------------- ERROR General error Unable to open registry...
2
2670
by: UJ | last post by:
I've got a web service that is giving me back this error message. The directory is Windows\Temp and I have given everybody complete access to this directory and am still getting the error. Any suggestions? TIA - Jeff
0
789
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. Stack Trace at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
3
14039
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. Stack Trace at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
1
10513
by: Martin Plechsmid | last post by:
Hello, (After investigating my real problem) I've got a C# web service containing a single method: public MyBDO Test() { return null; }
0
7703
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...
0
8138
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...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6287
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...
1
5514
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...
0
5223
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...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2117
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
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.