473,503 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET works on one site but not another on same iis machine

I'm having trouble with setup of an asp.net application on Windows 2003.
When I attempt to start the app I get "Server Error in '/MyApp' application.
The message also says that error details cannot be displayed because
customErrors is set to remoteOnly in web.config. Right now the application
consists of a single page that displays the current date and time --
test.aspx. I can browse plain html files in the same directory without any
problems. The virtual directory is defined properly.

I changed web.config so that customerrors now says "Off". The error message
still say the same thing -- it hasn't detected the change to web.config! I
checked for other web.config files in the site root and there are none. If
I run test.aspx in the site root I get the same error and same message
saying that customerrors=remoteonly - even though the site root doesn't have
a web.config.

I can usually find an error message in the event log if ASP.NET won't run,
but I didn't see any entries where the source was ASP.NET.

The site is a second web site on the web server. The first site is the
default site. When I run test.aspx in the default site it runs. So ASP.NET
is basically sound on the machine. I compared the properties of the 2 sites
in IIS manager, and saw no significant differences. Both sites run in the
same application pool, so they are using the same process identity.

I tried granting permissions explicitly to NETWORK SERVICE on my
application's directory (Modify, Read/Execute,List Folder Contents, Read,
Write) and it made no difference.

Has anyone seen anything like this? I'm especially puzzled that I can't get
an error message, and that the changes to web.config aren't being detected.


Nov 19 '05 #1
1 1464
Try reading through:-
http://msdn.microsoft.com/library/de.../en-us/cpgenre
f/html/gngrfCustomerrorsSection.asp
Hope it helps
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #2

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

Similar topics

26
2451
by: Dan Nash | last post by:
Hi guys I have a page that is *supposed* to list the directories on the server. Here's the code... folderspec = server.MapPath("./images/") set fso =...
3
4964
by: jeremy | last post by:
Hello. I have an asp.net application that resides on a non-DC / BDC Sharepoint Server (although it is logged into the domain). The application will perform lookups based on the current user...
12
5535
by: catyionic | last post by:
hi, Due to trying many different form options, with none of them working, I opted for this to receive info back from this site: http:\\www.elderslastwish.com <form name="feedback_form"...
11
2338
by: lkrubner | last post by:
We are working on a website that is here: http://www.lauradenyes.com/ The site was working till I put up an .htaccess file that was suppose to redirect all html files to the PHP parser. The...
2
1620
by: scott ocamb | last post by:
hello We are using forms authentication in asp.net for our web site. The code we have implemented works on 2 developers machines and not on a single developers machine. We all use source safe...
0
1218
by: Peter Row | last post by:
Hi, BACKGROUND: Win2K Server SP4, ASP.NET 1.1 Win2K Pro SP4, ASP.NET 1.1 I have a wrapper class around all the asp objects. Website physical directory structure (phoney names) Server:...
0
1201
by: Peter Row | last post by:
Hi, BACKGROUND: Win2K Server SP4, ASP.NET 1.1 Win2K Pro SP4, ASP.NET 1.1 I have a wrapper class around all the asp objects. Website physical directory structure (phoney names) Server:...
3
1860
by: Chris Botha | last post by:
Hi, sorry, cross-post with the ADONET newsgroup. I have a web site on a 2003 server. The web site runs under Framework 1.1 and works with oracle, no problem. On the same server I have another...
3
4089
by: John Kotuby | last post by:
Hi all, Within an IFRAME of a standard site constructed of mostly static HTM type pages, I am calling up one page from a large ASP.NET 3.5 site. I have precompiled the ASP.NET site and...
0
7323
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...
1
6984
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
7453
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...
1
5005
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
4670
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
3162
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
1507
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 ...
1
732
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
377
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.