473,395 Members | 1,762 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,395 software developers and data experts.

.Net Framework 1.1 sp1 and references in web application

Greetings,

I recently installed the .Net Framework 1.1 sp1 on my development box (XP
pro with everything but sp2, running VS.NET 2003).

I have a C# web application that was running just fine yesterday (all my
code is in C#). There have been no code changes and I can successfully
compile it, but:
1. When I try to access the newly compiled web applications via a link or
redirect, I get a Configuration Error at the following location <add
assembly="*"/>.
2. When I try to start this application in Debug mode, I get a "An unhandled
exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll"
and the following entry in the Application Event log for ASP.NET 1.1.4322.0,
Category: None, Type: Error, Event ID: 1000, User: N/A, Description:
"aspnet_wp.exe (PID: 3124) stopped unexpectedly."

The web application has several references to in-house code libraries. 2 of
the libraries are web specific and function in all web applications tested
thus far. 3 of the libraries are specialized utility libraries that are only
used in this web application, but they successfully function as components of
all Windows applications tested thus far. 1 of the libraries is only used in
this web application and it provides a MarshalByRefObject remoting interface
to a remote server application, but like above, it appears to function
normally when referenced by a Windows application.

Any ideas what might be the root cause. Following up on the error in the
Application Event Log yeilds a "We're sorry...".

I also noticed that the following code will now generate a run-time error
when alMyList.Count = 0:
ArrayList alSRoot = (ArrayList) alMyList.syncroot;
This line of code used to work just fine in routines that would accept
asynchronous calls to add objects to the ArrayList , or to query the list for
existence of an object.

Is there an updated list of "Dos and Don'ts" for .Net Framework 1.1 sp1?

I have been building my own list from the news groups, but have had little
success at MDSN. I have also read of numerous deployment issues experienced
since the relase of sp1, but I have not had the opportunity to get that far
in my own testing. I have already accepted the fact that I will need to
fully re-test ALL of my .Net applictions for newly occuring run-time errors,
but any hints toward known changes in functionality would be very useful.
Thanks.
Nov 18 '05 #1
1 1439
billrom123 wrote:
Greetings,

I recently installed the .Net Framework 1.1 sp1 on my development box
(XP pro with everything but sp2, running VS.NET 2003).
[...] ArrayList alSRoot = (ArrayList) alMyList.syncroot;


I guess you mean

ArrayList alSRoot = (ArrayList) alMyList.SyncRoot;

but that's wrong anyway. According to MSDN, SyncRoot is of type object, so
any downcast to a more specific type is impending doom. It worked so nicely
before because SyncRoot's implementation in .NET 1.1 is

{ return this; }

which obviously defeats the purpose if having such a property ;-)

..NET 1.1 SP1 returns a plain System.Object.

Cheers,

--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #2

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

Similar topics

1
by: Gary Varga | last post by:
I have an application which runs on both CE.NET and the full framework. To allow for a shared code base the following describes the assembly structure: 1) There is an executable binary for each...
4
by: Richard | last post by:
I have a service which is used to call differenct versions of an application depending on the database version that is being used. The service has been compiled in framework 1.1 and it needs to...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
11
by: xenophon | last post by:
I have a web site with forms authentication and a single logon page. I have 4 subdirectories, each that should be protected by a different username/password combination. For testing purposes, the...
10
by: Niklas | last post by:
Hi I have Visual Studio 2003 but I want to do a VB .NET project with Framework 1.0.3705. Is this possible? I created a Hallo world application and changed the Reference Path to...
2
by: chandy | last post by:
Hi all, I am trying to run some asp.net 1.1 code under v2.0 of the framework. I changed the IIS config to use v2.0 of the framework for my web site and I cannot get the site to run. I thought...
4
by: JaiPrakash Sharma | last post by:
Hi All, I have a question regarding Using a Windows based UserControl or Applications on the Web. My question is Must be the .NET Framework to be Installed on Client Machine, When any...
7
by: Cirene | last post by:
How do I change an application to target the .NET 2.0 framework, NOT the ..NET 3 framework? I'm creating a winform app, but I would think it's the same method. The option to change doesn't...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.