473,586 Members | 2,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Default runtime error page regardless of customerrors setting

Probably a simple one, but I've found nothing in groups or google so
here goes;
trying to deploy a simple .net asp app to our web server, which has
been hardended as it's public facing. It's only ever run classic asp
apps before. I've tried to upload a basic app with nothing but an empty
web form, and I get the default "Runtime error, The custom error
settings prevent you blah"

I've tried setting customErrors but I get the same page, I've tried
aspnet_regiis -i to reinstall, I've tried doing a -ua then an -i to
remove and install. I'm guessing it's something to do with whatever
security settings were applied to the box, but I've even tried giving
everyone full control to the folder and still nothing!

Please has anyone got any ideas?

ta

Jun 9 '06 #1
4 2065
If this is IIS 6.0, have you "Allowed" the webservice extension for ASP.NET?
They all come locked down by default, except for plain old HTML.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"kr************ **@googlemail.c om" wrote:
Probably a simple one, but I've found nothing in groups or google so
here goes;
trying to deploy a simple .net asp app to our web server, which has
been hardended as it's public facing. It's only ever run classic asp
apps before. I've tried to upload a basic app with nothing but an empty
web form, and I get the default "Runtime error, The custom error
settings prevent you blah"

I've tried setting customErrors but I get the same page, I've tried
aspnet_regiis -i to reinstall, I've tried doing a -ua then an -i to
remove and install. I'm guessing it's something to do with whatever
security settings were applied to the box, but I've even tried giving
everyone full control to the folder and still nothing!

Please has anyone got any ideas?

ta

Jun 9 '06 #2
Yeah, but thanks for reminding me to check though - "ASP.NET v1.1.4322
Allowed". Any other ideas?

Peter wrote:
If this is IIS 6.0, have you "Allowed" the webservice extension for ASP.NET?
They all come locked down by default, except for plain old HTML.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"kr************ **@googlemail.c om" wrote:
Probably a simple one, but I've found nothing in groups or google so
here goes;
trying to deploy a simple .net asp app to our web server, which has
been hardended as it's public facing. It's only ever run classic asp
apps before. I've tried to upload a basic app with nothing but an empty
web form, and I get the default "Runtime error, The custom error
settings prevent you blah"

I've tried setting customErrors but I get the same page, I've tried
aspnet_regiis -i to reinstall, I've tried doing a -ua then an -i to
remove and install. I'm guessing it's something to do with whatever
security settings were applied to the box, but I've even tried giving
everyone full control to the folder and still nothing!

Please has anyone got any ideas?

ta


Jun 9 '06 #3
Just to thicken the plot slightly, if I just copy a default app up I
get told
"Server cannot access application directory 'E:\site\atest\ '. The
directory does not exist or is not accessible because of security
settings. "

This is true, and interestingly I get the footer giving me the
information about the framework and asp.net versions. If I grant
permissions to the relevant accounts, I get the default runtime error
page, but without the footer. It's like it can't find some part of
asp.net and it giving up.

kr************* *@googlemail.co m wrote:
Yeah, but thanks for reminding me to check though - "ASP.NET v1.1.4322
Allowed". Any other ideas?

Peter wrote:
If this is IIS 6.0, have you "Allowed" the webservice extension for ASP.NET?
They all come locked down by default, except for plain old HTML.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"kr************ **@googlemail.c om" wrote:
Probably a simple one, but I've found nothing in groups or google so
here goes;
trying to deploy a simple .net asp app to our web server, which has
been hardended as it's public facing. It's only ever run classic asp
apps before. I've tried to upload a basic app with nothing but an empty
web form, and I get the default "Runtime error, The custom error
settings prevent you blah"

I've tried setting customErrors but I get the same page, I've tried
aspnet_regiis -i to reinstall, I've tried doing a -ua then an -i to
remove and install. I'm guessing it's something to do with whatever
security settings were applied to the box, but I've even tried giving
everyone full control to the folder and still nothing!

Please has anyone got any ideas?

ta


Jun 9 '06 #4
horrah, got it working!

In case anyone else has problems with this, I edited the machine.config
to set customerrors to off, go the actual error (which was due to me
being stupid, as I didn't grant asp.net permissions to the folder of
the website, only the app folder which was underneath) and now it
works. Only taken me 5 hours!!

kr************* *@googlemail.co m wrote:
Just to thicken the plot slightly, if I just copy a default app up I
get told
"Server cannot access application directory 'E:\site\atest\ '. The
directory does not exist or is not accessible because of security
settings. "

This is true, and interestingly I get the footer giving me the
information about the framework and asp.net versions. If I grant
permissions to the relevant accounts, I get the default runtime error
page, but without the footer. It's like it can't find some part of
asp.net and it giving up.

kr************* *@googlemail.co m wrote:
Yeah, but thanks for reminding me to check though - "ASP.NET v1.1.4322
Allowed". Any other ideas?

Peter wrote:
If this is IIS 6.0, have you "Allowed" the webservice extension for ASP.NET?
They all come locked down by default, except for plain old HTML.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"kr************ **@googlemail.c om" wrote:

> Probably a simple one, but I've found nothing in groups or google so
> here goes;
> trying to deploy a simple .net asp app to our web server, which has
> been hardended as it's public facing. It's only ever run classic asp
> apps before. I've tried to upload a basic app with nothing but an empty
> web form, and I get the default "Runtime error, The custom error
> settings prevent you blah"
>
> I've tried setting customErrors but I get the same page, I've tried
> aspnet_regiis -i to reinstall, I've tried doing a -ua then an -i to
> remove and install. I'm guessing it's something to do with whatever
> security settings were applied to the box, but I've even tried giving
> everyone full control to the folder and still nothing!
>
> Please has anyone got any ideas?
>
> ta
>
>


Jun 9 '06 #5

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

Similar topics

0
1468
by: Kamal Dhingra | last post by:
Hi Guys, I am developing an asp.net application .In error handling , I have 2 web.congif files ,one is in Web(which is the virtual directory) ,other i have created in a folder in Web/Admin. The problem is i want 2 different custom error handling files ,one for the main site and other for the admin.In the config file in admin I wrote...
9
2992
by: Marina Anufreichik | last post by:
Hi, After deploymnet web application on web server I can access page on local machine and login fine but when I'm trying to access web site from remote machine I can see login page, but when I'm trying to login with correct credentials it give me error: Server Error in '/PDVMgr' Application. ...
7
2850
by: Yongsub Eric Shin | last post by:
Hi. I'm just a beginner in ASP.Net. I started writing codes and I keep on getting this Runtime Error page, where it says "Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could,...
2
1575
by: Nobody | last post by:
I am using C# ASPX and responding to the client with a page depending on what is in the query string. If the location in the query string is not found, I want to return the default 404 page. How do I output the DEFAULT 404 page? I know I can send manual headers, but I don't want that... I want to return to the client what the web server...
4
1554
by: VB Programmer | last post by:
If I try ANY aspx pages on my server, even INVALID, bogus pages, I get a "Runtime Error". Any idea why? Here is the full message: Server Error in '/' Application. ---------------------------------------------------------------------------- ----
4
13594
by: Pat | last post by:
In my Web.config i have :- <customErrors mode="On" defaultRedirect="genericerror.htm"> <error statusCode="404" redirect="pagenotfound.aspx"/> </customErrors to get page not found error but instead i keep getting a RUN TIME error below: Any ideas.. Runtime Error
4
5229
by: news.citenet.net | last post by:
I keep getting the following error message after my web site running 2 or 3 days I share one folder with about 200 domain names Any one can help? --------------------------------------------------------------------------------
15
7874
denny1824
by: denny1824 | last post by:
I have a working website. I copied all the files to a new folder in inetpub/wwwroot and then set that folder as a Virtual Directory in IIS. I try going to that site from the new folder and i am getting a default error page. It is an aspx page that I am trying to view. If I put in a fake page name it gives a different error about that fake name...
0
7912
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
7839
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
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...
1
7959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8216
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...
1
5710
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
5390
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...
1
2345
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
1449
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.