473,779 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error executing child request for... "permission " security

Hello Everyone,

I've suddenly started running into the error

"error executing child request for Page.aspx"
when doing a Server.Transfer ("Page.aspx" );

That's on a Win2003 Server machine.

This same code works fine on another Win2003 Server machine, and a
Win2K
machine.
The prior version of the code works fine on all machines.

After hours of installing/uninstalling/reinstalling back I came across
a
post
from 2003 in m.p.d.f.aspnet which proved The most useful so far.
I was able to get the code to work, i.e Page.aspx to finally load, by
adding
ASPNET and IUSR_machinenam e to the Administrators group temporarily.

Replacing Page.aspx in the latest version of the program, with
Page.aspx
from
the prior working version of the software had seen the same problem
persist.

My question is, if it's a permissions issue, then where could it be
set and
how would it come about? It's just a Server.Transfer (), no access to
the
filesystem
(yet).. Just asking for a page that had been loaded countless times
before
in
earlier versions.

If someone could help shed some light here, I'd really appreciate it.
Thanks.

Rico.

Aug 23 '07 #1
2 2510
Check the file permissions on Page.aspx, so that the ASP.NET worker
process's user account (ASPNET) has access to the file.
Steve C.
MCAD,MCSE,MCP+I ,CNE,CNA,CCNA
ri**********@gm ail.com wrote:
Hello Everyone,

I've suddenly started running into the error

"error executing child request for Page.aspx"
when doing a Server.Transfer ("Page.aspx" );

That's on a Win2003 Server machine.

This same code works fine on another Win2003 Server machine, and a
Win2K
machine.
The prior version of the code works fine on all machines.

After hours of installing/uninstalling/reinstalling back I came across
a
post
from 2003 in m.p.d.f.aspnet which proved The most useful so far.
I was able to get the code to work, i.e Page.aspx to finally load, by
adding
ASPNET and IUSR_machinenam e to the Administrators group temporarily.

Replacing Page.aspx in the latest version of the program, with
Page.aspx
from
the prior working version of the software had seen the same problem
persist.

My question is, if it's a permissions issue, then where could it be
set and
how would it come about? It's just a Server.Transfer (), no access to
the
filesystem
(yet).. Just asking for a page that had been loaded countless times
before
in
earlier versions.

If someone could help shed some light here, I'd really appreciate it.
Thanks.

Rico.
Aug 23 '07 #2
Check the file permissions on Page.aspx, so that the ASP.NET worker
process's user account (ASPNET) has access to the file.
Thanks. It seems it's IIS_WPG that's the relevant process account here
on Windows 2003 Server.
>From what I've checked, the permissions for Page.aspx are no different
from other pages
that are successfully loaded or transferred to using
Server.Transfer ( ).
I mean, I can do Server.Transfer ( "FileDownload.a spx" ) and download
pdf files, but suddenly
Page.aspx with normal controls won't load anymore until I add
IUSR_machinenam e to administrators.

And that's with the pages set to allow IIS_WPG Read and Execute access
rights, while IUSR_machinenam e
is explicitly denied Write and Special Permissions. Now, even after
removing IUSR_machinenam e
from administrators group, and restarting IIS, the application seems
to be working fine.

Rico.

Aug 24 '07 #3

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

Similar topics

0
3321
by: John Dalberg | last post by:
How can I enable "list folder contents" ntfs permission only programmatically? The docs for cacls and xcalcs do not have an example to set this up without setting up the other read permissions. John Dalberg
2
14958
by: John Mack | last post by:
Intermittently I get the following error on Firefox: "Error: uncaught exception: Permission denied to get property HTMLDocument.window" What can cause this error? I do an image switch via JS just before redirecting the page (also via JS), could this be the problem - not giving enough time to do the image switch before redirecting? Pieces of the page I created that generated this error are below. The
3
6493
by: Robert Oschler | last post by:
I have a Javascript bookmarklet that people want to add to their bookmarks. In Win 2k and below, addToFavorites() works fine. In Windows XP it generates a permission error and does nothing except show the "javascript error" icon in the lower left hand corner of Internet Explorer. My questions: - Is there a way to do this that works with Windows XP? - If it's a security level thing, is there a way for the Windows XP user to...
12
2967
by: Vlad de Mille IV | last post by:
Well, as the subject says.... Briefly, when I try to run *any* wizard, I get a simple dialog, stating "Permission Denied", to which I can only click "OK". I suspect this is a windows (XP) problem rather than an actual Access one, as the error only occurs in my power user (and any other) account. It goes away if I am logged on (to windows) as Administrator. Full Permission for Everyone is set on the drive and folder(s)
0
2718
by: ElGordo | last post by:
I have a routine which opens a command shell and runs an executable. This all worked fine until recently, and I noticed that each time the statement is run, an event is logged in the event viewer stating: ______ The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {CLS-ID} to the user ASPNET SID (ID). This security permission can be modified
4
9802
by: Russell Warren | last post by:
I've been having a hard time tracking down a very intermittent problem where I get a "permission denied" error when trying to rename a file to something that has just been deleted (on win32). The code snippet that gets repeatedly called is here: ... if os.path.exists(oldPath): os.remove(oldPath) os.rename(newPath, oldPath)
1
3284
by: naeembhatti | last post by:
here is my code please can u correct it. <A HREF="javascript:window.external.AddFavorite('javascript:(function(){myRef = window.open(\'http://localhost/dealarmy/bookmarklet/index.php?page=\'+escape(location.href), \'Bookmarklet\',\'menubar=yes,status=yes,location=no,toolbar=no,scrollbars=yes,width=770,resizable=yes,left=120\');setTimeout(\'myRef.focus()', document.title);">Add Results to Favorites</a>
5
13726
by: workingstiff19 | last post by:
I just want people to click on a link to download a file. I've done it before, but this is a new computer and I must be missing something. (Possibly an Apache configuration setting?) Here is the source for the link that generates the error: <a href="./procedures/ODBC_installation.pdf">ODBC driver installation procedure</a><br /> The permissions on the file and the directory containing it are wide
1
2422
FLEB
by: FLEB | last post by:
Something in my gut tells me this is an FAQ, but my furious Googling thus-far hasn't found the answer (Biggest problem? The terms I'm looking for are in the license itself. Search, and... get... 50 copies of the license. Great.) I've heard it said that the MIT license is one of the most permissive licenses, and that it allows a person to put MIT-licensed code into proprietary works (with the proper attribution). However, I don't understand...
0
9636
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
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
10306
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...
0
10138
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9930
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8961
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
7485
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
6724
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
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.