Ok, I had an ASP.NET application which after much trouble worked on a
server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using the
copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the
application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed
Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather than
a true permission denied error which should be logged?).
Any suggestions???
--
James Goodman 11 1589
Hi,
does the ASPNET account (which is used by the aspnet_wp.exe worker process)
has enough access permission on your new server. As your windows app is
working perfectly, it seems it is not a .net framework issue but an issue
with ASP .NET itself.
Let me know if it worked.
Thanks
Joyjit
"James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Ok, I had an ASP.NET application which after much trouble worked on a server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using the copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather
than a true permission denied error which should be logged?).
Any suggestions??? -- James Goodman
It is not running under the ASPNET account, as it uses identity impersonate.
To ensure it is not permissions, the everyone group has full control.
--
James Goodman
"Joyjit Mukherjee" <jo**************@hotmail.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl... Hi,
does the ASPNET account (which is used by the aspnet_wp.exe worker process) has enough access permission on your new server. As your windows app is working perfectly, it seems it is not a .net framework issue but an issue with ASP .NET itself.
Let me know if it worked.
Thanks Joyjit
"James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... Ok, I had an ASP.NET application which after much trouble worked on a server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using the copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather than a true permission denied error which should be logged?).
Any suggestions??? -- James Goodman
I noticed you are using a DC. Could be : http://msdn.microsoft.com/library/de...et_on_a_dc.asp
Patrice
--
"James Goodman" <ja***@norton-REMOVEassociates.co.uk> a écrit dans le
message de news:%2****************@TK2MSFTNGP09.phx.gbl... Ok, I had an ASP.NET application which after much trouble worked on a server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using the copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather
than a true permission denied error which should be logged?).
Any suggestions??? -- James Goodman
Does it show as access denied to the user loged in? If that's the case, let
me know, because it is bug with microsoft, which will send you the address to
the solution - I sweat this for a month and no one could tell me the
solution. Will go look for the address for you....
"James Goodman" wrote: It is not running under the ASPNET account, as it uses identity impersonate.
To ensure it is not permissions, the everyone group has full control.
-- James Goodman "Joyjit Mukherjee" <jo**************@hotmail.com> wrote in message news:uc**************@tk2msftngp13.phx.gbl... Hi,
does the ASPNET account (which is used by the aspnet_wp.exe worker process) has enough access permission on your new server. As your windows app is working perfectly, it seems it is not a .net framework issue but an issue with ASP .NET itself.
Let me know if it worked.
Thanks Joyjit
"James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... Ok, I had an ASP.NET application which after much trouble worked on a server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using the copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather than a true permission denied error which should be logged?).
Any suggestions??? -- James Goodman
Yes it does. However, the very same user can view the files through a shared
folder...
--
James Goodman
"Reza Solouki" <Re*********@discussions.microsoft.com> wrote in message
news:BE**********************************@microsof t.com... Does it show as access denied to the user loged in? If that's the case, let me know, because it is bug with microsoft, which will send you the address to the solution - I sweat this for a month and no one could tell me the solution. Will go look for the address for you....
"James Goodman" wrote:
It is not running under the ASPNET account, as it uses identity impersonate.
To ensure it is not permissions, the everyone group has full control.
-- James Goodman "Joyjit Mukherjee" <jo**************@hotmail.com> wrote in message news:uc**************@tk2msftngp13.phx.gbl... > Hi, > > does the ASPNET account (which is used by the aspnet_wp.exe worker > process) > has enough access permission on your new server. As your windows app is > working perfectly, it seems it is not a .net framework issue but an > issue > with ASP .NET itself. > > Let me know if it worked. > > Thanks > Joyjit > > "James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message > news:%2****************@TK2MSFTNGP09.phx.gbl... >> Ok, I had an ASP.NET application which after much trouble worked on a >> server, SERVER1. I need to move this application to another server, >> DC2. >> >> Both are domain controllers, both are running the same OS, SP etc. >> >> The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2. >> >> I tried manually copying the files to the new server, as well as using >> the >> copy project command inside VS.NET 2003. Both succeed. >> >> When I attempt to load an aspx page I get 'Access Is Denied.' >> >> I have enabled object access auditing & no accesses are logged in the >> application directory (neither succeed or fail). >> >> To test, I created a standard WebApplication1 application which >> printed >> Environ("UserName") to a label control. This worked as expected. >> >> I therefore suspect it is some kind of fault in the application >> (rather > than >> a true permission denied error which should be logged?). >> >> Any suggestions??? >> >> >> >> -- >> James Goodman >> >> >> >> >> > >
I have encountered that problem before. I have configured the machine.config
to use the SYSTEM Account but it still makes no difference...
--
James Goodman
"Patrice" <no****@nowhere.com> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl... I noticed you are using a DC. Could be : http://msdn.microsoft.com/library/de...et_on_a_dc.asp
Patrice
--
"James Goodman" <ja***@norton-REMOVEassociates.co.uk> a écrit dans le message de news:%2****************@TK2MSFTNGP09.phx.gbl... Ok, I had an ASP.NET application which after much trouble worked on a server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using the copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather than a true permission denied error which should be logged?).
Any suggestions??? -- James Goodman
Ok, I have now isolated it to the identity impersonate section of the
web.config file.
If I clear this option, my app fails, but only due to the IWAM user not
having access to my DB.
If I keep this option I get 'access is denied'
Any further suggestions?
--
James Goodman
"James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Ok, I had an ASP.NET application which after much trouble worked on a server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using the copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather than a true permission denied error which should be logged?).
Any suggestions??? -- James Goodman
If I remember user accounts are not allowed to open a session on a DC. Maybe
worth to give this a try (you should be able to change this in the security
policy admin tool) ?
Patrice
--
"James Goodman" <ja***@norton-REMOVEassociates.co.uk> a écrit dans le
message de news:%2****************@tk2msftngp13.phx.gbl... Ok, I have now isolated it to the identity impersonate section of the web.config file.
If I clear this option, my app fails, but only due to the IWAM user not having access to my DB.
If I keep this option I get 'access is denied'
Any further suggestions?
-- James Goodman "James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... Ok, I had an ASP.NET application which after much trouble worked on a server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using
the copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather than a true permission denied error which should be logged?).
Any suggestions??? -- James Goodman
Found the solution. I knew I had encountered this before but couldnt
remember the fix!
The problem was that the IWAM account was not allowed to impersonate a
client after authentication. http://support.microsoft.com/default...b;en-us;824308
--
James Goodman
"James Goodman" <ja***@norton-REMOVEassociates.co.uk> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Ok, I had an ASP.NET application which after much trouble worked on a server, SERVER1. I need to move this application to another server, DC2.
Both are domain controllers, both are running the same OS, SP etc.
The files are stored in C:\NET\App on SERVER1 & D:\NET\App on DC2.
I tried manually copying the files to the new server, as well as using the copy project command inside VS.NET 2003. Both succeed.
When I attempt to load an aspx page I get 'Access Is Denied.'
I have enabled object access auditing & no accesses are logged in the application directory (neither succeed or fail).
To test, I created a standard WebApplication1 application which printed Environ("UserName") to a label control. This worked as expected.
I therefore suspect it is some kind of fault in the application (rather than a true permission denied error which should be logged?).
Any suggestions??? -- James Goodman
You are using impersonation but letting anonymous users in?
Have you tried <deny users="?"/> in the <authorization> section.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Wed, 24 Nov 2004 13:55:39 -0000, "James Goodman"
<ja***@norton-REMOVEassociates.co.uk> wrote: Ok, I have now isolated it to the identity impersonate section of the web.config file.
If I clear this option, my app fails, but only due to the IWAM user not having access to my DB.
If I keep this option I get 'access is denied'
Any further suggestions?
Hi James:
You might want to reconsider your setup as you seem to be breaking a
good many best practice rules. Running as SYSTEM and elevating the
privileges of the anon user are both risky and only provide more
opportunity for someone with malicious intent. Particularly on a DC!
--
Scott http://www.OdeToCode.com/blogs/scott/
On Wed, 24 Nov 2004 14:18:25 -0000, "James Goodman"
<ja***@norton-REMOVEassociates.co.uk> wrote: Found the solution. I knew I had encountered this before but couldnt remember the fix!
The problem was that the IWAM account was not allowed to impersonate a client after authentication. http://support.microsoft.com/default...b;en-us;824308 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: calfdog |
last post by:
Hello,
Does anyone know a workaround for calling fireEvent.
With the latest from Microsoft OS XP2 and Hot fixes to
IE it now gives an "access denied" error in Python when called.
Here is what...
|
by: Steve |
last post by:
Hi,
Yesterday I signed up for another dedicated linux server with the hosting
company I use and I am having problems getting MySQL 4.1.3 working on it.
I've tried just about everything I can...
|
by: |
last post by:
Hi All,
I have allready tried to ask a similar question , but got no answer until now. In the meantime, I
found, that I cannot understand some thread-settings for the Main() function
.
If I use...
|
by: ASP.Confused |
last post by:
The old message looked a little stale, so I am re-posting it here. Anybody
have any ideas of what I could do?!? The previous responses to this
question are below. If you want to look at the...
|
by: Brad |
last post by:
After compiling my asp.net project I'm receiving a "BC31011 - Access is
denied" error when attempting to run or debug. The only thing that seems to
resolve problem is IISReset. After a reset my...
|
by: Ron Weldy |
last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net
files. On my workstation I have a share set up to the folder where the web
files reside. I am just doing quick and dirty...
|
by: Shailesh Humbad |
last post by:
I figured out what was causing the "Access is Denied" error when
calling functions from referenced DLLs in my service. I've tried to
be very detailed, so bear with me.
It turns out that...
|
by: David Thielen |
last post by:
Hi;
I created a virtual directory in IIS 6.0 and my asp.net app runs fine. But
when it tries to write a file I get:
Access to the path is denied. - C:\Inetpub\wwwroot\RunReportASP\images
...
|
by: Jeremy Ames |
last post by:
I am trying to move an application from my system to a new test system. I really should have tried an easier program first, but I didn't really have a chance. My application was originally written in...
|
by: Andy |
last post by:
Thanks Peter,
I thought I'd give an update on this problem. My application had 2
assemblies that contained classed for the Data access and business
logic layer. It was on one of them that I was...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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,...
|
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...
| |