473,770 Members | 2,153 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=re moteonly - 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 1476
Try reading through:-
http://msdn.microsoft.com/library/de.../en-us/cpgenre
f/html/gngrfCustomerro rsSection.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
2480
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 = CreateObject("Scripting.FileSystemObject") set fold = fso.GetFolder(folderspec) for each subfolder in fold.subFolders Response.Write(subfolder.name & "<br>")
3
4983
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 (integrated auth) to an LDAP server which requires no login (AuthenticationTypes.None). When I run it, I get the following ambiguous error: Security Exception Description: The application attempted to perform an operation not allowed
12
5578
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" method="post" action="mailto:mymail@yahoo.com?subject=Elder's Last Wish Application Form" enctype="text/plain">
11
2365
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 site then stopped working, because I had the address of the PHP parser wrong. I then deleted the .htaccess file, and the site began to work again. However, on one machine it still does not work in FireFox.
2
1632
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 and the problem developers machine has the latest version of the code. As we step through the code on the problem developer's machine, when RedirectFromLoginPage is executed, it does not redirect but goes back to the login page.
0
1231
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: C:\MySite
0
1217
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: C:\MySite
3
1868
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 web site that runs under Framework 2.0 and connects to the same Oracle database, same connection string. In this case I get the following error: ORA-12154: TNS:could not resolve service name Thanks
3
4119
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 published. "Allow precompiled site to be updateable" is NOT checked. "Enable strong naming on precompiled assemblies" is NOT checked. However, "Use fixed naming and single page assemblies" IS checked. I did with the idea that if I call a single page from...
0
9425
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10228
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10002
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8883
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7415
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6676
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3970
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
2
3575
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.