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

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 2057
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.com" 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.com" 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.com 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.com" 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.com 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.com 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.com" 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
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...
9
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...
7
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...
2
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...
4
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
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...
4
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
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.