473,506 Members | 11,491 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS 5.0 + Win 2000 Server + .NET 1.1 => customErrors stopped working...

I have an IIS 5.0 server that is running both .NET 1.0 and .NET 1.1
applications.

I installed .NET 1.0 first.

Recently I added .NET 1.1 just for specific new IIS virtual
directories.

A problem I've encountered is that for some reason my customErrors

<customErrors mode="On" defaultRedirect="error.aspx"/>

doesn't seem to work for my new .NET 1.1 applications. For example,
if I intentionally try to convert a null object to a string in a page
load, it gives me an exception page about having to configure
customErrors. First, it mentions that there was a runtime error.

The same code works fine on the same machine when setup as a .NET 1.0
application.

Does anyone have any clues on what I may be doing wrong? Or, what may
have changed between .NET 1.0 and .NET 1.1 that may be impacting what
I see.

Thanks,

Frank
Nov 18 '05 #1
1 1154
I found that specifying a full URL solved the problem as in

http://localhost/myvirtualdirectory/def/errors.aspx

versus

def/errors.aspx

where the IIS 5.0 virtual directory name is "myvirtualdirectory"

Does anyone know what I may have changed where this appeared to work
in .NET 1.0, but now doesn't work in .NET 1.1?
Nov 18 '05 #2

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

Similar topics

1
3498
by: Luis | last post by:
I use CDO to send an email to users as part of a 'Reset Password' functionality I have on a intranet site. I use: METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB- 00C04FB1625D" NAME="CDO...
6
635
by: Javier Cortés Cortés | last post by:
i am getting this error when i am trying to access any file(with the ext. aspx) from my remote server. the error is : Server Error in '/' Application....
5
449
by: Matthew Louden | last post by:
I have no idea what this run-time error about. Any ideas? I already change the web.config file for the attribute <customErrors mode="Off"/> but still not work. Server Error in '/'...
4
5374
by: tommy | last post by:
hello everbody, i write a little asp-application with forms-authentication. i copy my aspx-files with web.config to my webspace and i get the error above... i tried to set the...
6
1830
by: Shaun Wilde | last post by:
I am trying to handle a 404 errors and redirect them to the correct page based on criteria I was hoping to catch the error in the global error handler and forward via Server.Transfer to the...
1
1440
by: Jay | last post by:
I have a simple asp.net 2.0 website that runs fine on Windows XP and Windows 2003 / IIS 6.0, but I cannot get it to run on Windows 2000 / IIS 5.0. I get the general error shown below. My...
4
21493
by: Mike | last post by:
Hi We are developing an ASP.NET 2.0 application and using the in built Crystal report system that it comes with. We have everything running fine on our development server but when we publish...
7
1305
by: ivo | last post by:
Hi everyone I am having trouble with deploying VS 2005 Express Edition web app to real server on the net. Since VS 2005 ExpressEdition is free - is it for that reason unpossible to do...
1
1079
by: viveknaik17 | last post by:
When i upload aspx pages, it gives error of type.. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a...
0
7220
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
7371
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
7479
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...
0
5617
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,...
1
5037
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...
0
4702
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...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3178
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
410
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.