472,805 Members | 2,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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

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 2248
Plater
7,872 Expert 4TB
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.SessionState.IRequiresSessionState' defined in an assembly that
is not referenced. You must add a reference to assembly 'System.Web'.
Nov 1 '07 #2
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 Expert 4TB
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.dll" and you now have "webUI1.1.dll" and it refuses to use it until you add a reference to the new "file"

Hopefully it's pretty easy.
Nov 1 '07 #4
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.dll" and you now have "webUI1.1.dll" 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(people 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 Expert 4TB
The project itself should contain a set of references, check those?
Nov 1 '07 #6
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
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...
16
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...
1
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...
1
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...
0
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...
2
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...
0
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...
3
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...
1
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; }
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.