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

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_machinename 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 2477
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**********@gmail.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_machinename 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.aspx" ) and download
pdf files, but suddenly
Page.aspx with normal controls won't load anymore until I add
IUSR_machinename to administrators.

And that's with the pages set to allow IIS_WPG Read and Execute access
rights, while IUSR_machinename
is explicitly denied Write and Special Permissions. Now, even after
removing IUSR_machinename
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
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. ...
2
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...
3
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...
12
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)...
0
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...
4
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). ...
1
by: naeembhatti | last post by:
here is my code please can u correct it. <A HREF="javascript:window.external.AddFavorite('javascript:(function(){myRef =...
5
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...
1
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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
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...

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.