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

ASP.NET 1.1 not working on Domain Controller

Hi all, I'm having some problems after upgrading a windows 2000 Server to
Domain Controller.

Symptoms: every aspx page returns blank

HTTP Response headers:
HTTP/1.0 200 OK
Server: Microsoft-IIS/5.0
Date: Mon, 07 Jun 2004 19:40:50 GMT
X-Powered-By: ASP.NET
Connection: close
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 4490
Confirmed that this is not a problem with browser (IE 6.1) by opening
command-prompt ant typing the following commands:
telnet 127.0.0.1 80<ENTER>
GET / HTTP/1.0 <ENTER>
<ENTER>

Configured <processModel> settings in machine.config as per
http://support.microsoft.com/default.aspx?kbid=317012 and
http://support.microsoft.com/default...b;en-us;315158
1- tried machine account (IWAM_COMPUTERNAME) (default)
2- tried SYSTEM account
3- tried creating domain user account "ASPNET" (with logon as batch & logon
as service permissions in DC Policy)
4- tried making ASPNET account Administrator
5- tried Aspnet_regiis -i
6- repeated steps 1 to 3
7- tried reinstall of .NET Framework 1.1
8- repeated steps 1 to 3

however the symptoms persist

Thanks in advance for your assistance
Nov 18 '05 #1
13 2188
Just checking that you ran

iisreset ?
<wh*****@hotmail.com> wrote in message
news:OW****************@TK2MSFTNGP09.phx.gbl...
Hi all, I'm having some problems after upgrading a windows 2000 Server to
Domain Controller.

Symptoms: every aspx page returns blank

HTTP Response headers:
HTTP/1.0 200 OK
Server: Microsoft-IIS/5.0
Date: Mon, 07 Jun 2004 19:40:50 GMT
X-Powered-By: ASP.NET
Connection: close
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 4490
Confirmed that this is not a problem with browser (IE 6.1) by opening
command-prompt ant typing the following commands:
telnet 127.0.0.1 80<ENTER>
GET / HTTP/1.0 <ENTER>
<ENTER>

Configured <processModel> settings in machine.config as per
http://support.microsoft.com/default.aspx?kbid=317012 and
http://support.microsoft.com/default...b;en-us;315158
1- tried machine account (IWAM_COMPUTERNAME) (default)
2- tried SYSTEM account
3- tried creating domain user account "ASPNET" (with logon as batch &
logon
as service permissions in DC Policy)
4- tried making ASPNET account Administrator
5- tried Aspnet_regiis -i
6- repeated steps 1 to 3
7- tried reinstall of .NET Framework 1.1
8- repeated steps 1 to 3

however the symptoms persist

Thanks in advance for your assistance


Nov 18 '05 #2
Ken, thanks for your quick reply,
i should have stated i rebooted the server after changing Policies and
processModel settings

FYI: I've confirmed Classic ASP is working

Joris van Lier
Nov 18 '05 #3
After doublechecking permissions for various filesystem locations the
following problem occurs:
i can't access the permissions tab for %windir%/assembly

Should i be able to reset File Access permissions when logged on as Domain
Admin?

Thanks in advance for your assistance.
Nov 18 '05 #4
If you suspect that it could be a permission issue then try the FileMon and RegMon utility from http://www.sysinternals.com

Also check if you IWAM_Account is locked out

Regards

Trevor Benedict R
Nov 18 '05 #5
There are a couple of things you need to look at:

1. When you move up to DC, many directories are locked down tightly. One
that is paramount to ASP.NET is having the ability to write temp files in
the directory "%WINDIR%\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files". If this is not read/write to the ASP.NET worker process, you are
fried.

2. Certain types of updates will unlink ASP.NET from IIS. aspnet_regiis /i
works wonders in these cases.

That is what I remember off hand. I noticed Ken and a few others have joined
the fray, so we have a good knowledge base starting.

NOTE: It is not recommended to install .NET apps on a DC.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
<wh*****@hotmail.com> wrote in message
news:OW****************@TK2MSFTNGP09.phx.gbl...
Hi all, I'm having some problems after upgrading a windows 2000 Server to
Domain Controller.

Symptoms: every aspx page returns blank

HTTP Response headers:
HTTP/1.0 200 OK
Server: Microsoft-IIS/5.0
Date: Mon, 07 Jun 2004 19:40:50 GMT
X-Powered-By: ASP.NET
Connection: close
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 4490
Confirmed that this is not a problem with browser (IE 6.1) by opening
command-prompt ant typing the following commands:
telnet 127.0.0.1 80<ENTER>
GET / HTTP/1.0 <ENTER>
<ENTER>

Configured <processModel> settings in machine.config as per
http://support.microsoft.com/default.aspx?kbid=317012 and
http://support.microsoft.com/default...b;en-us;315158
1- tried machine account (IWAM_COMPUTERNAME) (default)
2- tried SYSTEM account
3- tried creating domain user account "ASPNET" (with logon as batch & logon as service permissions in DC Policy)
4- tried making ASPNET account Administrator
5- tried Aspnet_regiis -i
6- repeated steps 1 to 3
7- tried reinstall of .NET Framework 1.1
8- repeated steps 1 to 3

however the symptoms persist

Thanks in advance for your assistance

Nov 18 '05 #6
Might be relevant:

http://www.jsiinc.com/SUBN/tip6900/rh6981.htm
Nov 18 '05 #7
Try to reaply the DC Security template for this Domain Controller.
See the account tha runs the Framework in "machine.config" file, in
ProcessModel !!!

Make ONE correction step and test. Then, when works, you'll know what that
you did.

Carlos Barini
MCP, MCSE, MCDBA

"Joris van Lier" <wh*****@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Ken, thanks for your quick reply,
i should have stated i rebooted the server after changing Policies and
processModel settings

FYI: I've confirmed Classic ASP is working

Joris van Lier

Nov 18 '05 #8
Thank you all very much for your assistance,
this is what what i tried today,

reset the password in AD users and computers
set processModel username to "MyDomain\ASPNET" and entered password
accordingly

i created thre following batch-file to set correct access-permissions

SETLOCAL
SET DOMAIN=MyDomain
SET USER=ASPNET
cacls %SystemDrive%\inetpub\wwwroot /e /t /p %DOMAIN%\%USER%:R
cacls %windir%\Microsoft.NET\Framework /e /t /p %DOMAIN%\%USER%:R
cacls %windir%\Temp /e /t /p %DOMAIN%\%USER%:F
cacls %windir%\System32 /e /t /p %DOMAIN%\%USER%:R
cacls %windir%\assembly /e /t /p %DOMAIN%\%USER%:R
ENDLOCAL

then did an iisreset and tried to open http://localhost/HelloWorld.aspx:( no
luck

Next I set the "Impersonate user After Logon" and "Log on as Batch job"
right for the ASPNET account in Domain Controller security policy AND in
local security policy and ran the following commands
secedit /refreshpolicy machine_policy /enforce
iisreset
tried to open the HelloWorld page :( but still not working

Next i reapplied the "DC Security" template and refreshed policies.... man
im getting tired, it's still not working

In the mean time i took a test-system formatted it and installed Windows
2000 Server, Applied SP4 and set it to be a domain controller (for a new
domain that didn't exist on the network), installed .NET Framework 1.1 and
followed instructions from Q811320... it won't play along, same behaviour
(blank pages) except for a HTTP 500 Internal Server Error Response instead
of HTTP 200 OK
The System, Security and Application Eventlogs don't show any error or
failure messages related to the ASPNET domain account

I really don't know what to do next, if you're willing to have a try you
could contact me via MSN Messenger and have a go via Netmeeting Remote
Desktop Sharing as i don't have Terminal Services installed (because TS
disables the Offline Folders feature)

Thanks again for your help, i've learnt a lot about the security features in
ASP.NET and Windows

Joris van Lier
Nov 18 '05 #9
Thank you all very much for your assistance,
this is what what i tried today,

reset the password in AD users and computers
set processModel username to "MyDomain\ASPNET" and entered password
accordingly

i created thre following batch-file to set correct access-permissions

SETLOCAL
SET DOMAIN=MyDomain
SET USER=ASPNET
cacls %SystemDrive%\inetpub\wwwroot /e /t /p %DOMAIN%\%USER%:R
cacls %windir%\Microsoft.NET\Framework /e /t /p %DOMAIN%\%USER%:R
cacls %windir%\Temp /e /t /p %DOMAIN%\%USER%:F
cacls %windir%\System32 /e /t /p %DOMAIN%\%USER%:R
cacls %windir%\assembly /e /t /p %DOMAIN%\%USER%:R
ENDLOCAL

then did an iisreset and tried to open http://localhost/HelloWorld.aspx:( no
luck

Next I set the "Impersonate user After Logon" and "Log on as Batch job"
right for the ASPNET account in Domain Controller security policy AND in
local security policy and ran the following commands
secedit /refreshpolicy machine_policy /enforce
iisreset
tried to open the HelloWorld page :( but still not working

Next i reapplied the "DC Security" template and refreshed policies.... man
im getting tired, it's still not working

In the mean time i took a test-system formatted it and installed Windows
2000 Server, Applied SP4 and set it to be a domain controller (for a new
domain that didn't exist on the network), installed .NET Framework 1.1 and
followed instructions from Q811320... it won't play along, same behaviour
(blank pages) except for a HTTP 500 Internal Server Error Response instead
of HTTP 200 OK
The System, Security and Application Eventlogs don't show any error or
failure messages related to the ASPNET domain account

I really don't know what to do next, if you're willing to have a try you
could contact me via MSN Messenger and have a go via Netmeeting Remote
Desktop Sharing as i don't have Terminal Services installed (because TS
disables the Offline Folders feature)

Thanks again for your help, i've learnt a lot about the security features in
ASP.NET and Windows

Joris van Lier

Nov 18 '05 #10
It turned out to be Zone-Alarm, man i feel so stupid, immediately after
disabling ZoneAlarm everything started working again

Nov 18 '05 #11
It's always like this Joris.
In 99% of the times the error is very small!
Always try to think in the simple thinks.

Carlos Barini

"Joris van Lier" <wh*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
It turned out to be Zone-Alarm, man i feel so stupid, immediately after
disabling ZoneAlarm everything started working again

Nov 18 '05 #12
You now know something you did not know, so don't feel stupid. Remember, you
learn more from mistakes than successes.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Joris van Lier" <wh*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
It turned out to be Zone-Alarm, man i feel so stupid, immediately after
disabling ZoneAlarm everything started working again

Nov 18 '05 #13
Thanks Carlos,
the problem only occurrs with the lates version of ZoneAlarm (5.0.590.015)
installing a previous version (4.5.594.000) makes ASP.NEt work again.
i'll forward my findings to ZoneLabs support.

Thanks everyone for your excellent support!!

Joris van Lier
Nov 18 '05 #14

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

Similar topics

2
by: Frank | last post by:
I have observed that a temporary loss of a domain controller can cause problems creating new ado connections between a client machine running ado and a separate sql server machine that are members...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
1
by: SL | last post by:
How do I set up access to a file on a Windows Server 2003 Domain Controller that also has IIS? The file sits on another server. The Domain Controller / IIS server connects to this file through a...
0
by: bi89101 | last post by:
I'm trying to debug a C++ application on the local machine (not ASP.NET) which happens to be a domain controller. Administrators can debug, but domain users cannot. I have looked at the debugger...
0
by: Wasco | last post by:
Hi all, I have a little problem.. I need to create a class that perform: - retrieve all users whitin a domain in domain controller (domainName is input parameter) - verify if a user is whitin...
0
by: Wasco | last post by:
Hi all, I have a little problem.. I need to create a class that perform: - retrieve all users whitin a domain in domain controller (domainName is input parameter) - verify if a user is whitin...
4
by: Leo | last post by:
Hi, guys. I want to use c# to get the privilege of a domain controller in a non-DC machine as i have the user name and password of DC. But i can't find any functions in MSDN. Has anyone met the...
1
by: Kazmataz | last post by:
Hi, I have set my .net application to impersonate and is installed on a Web Farm of 4 servers. In this application I allow users to upload files to the server. I have it setup so that no matter...
0
by: SandVich | last post by:
i had two servers with Windows2000 Advance server OS. One is main Domain Controller and second on is additional. A problem occurred in additional domain controller and ultimately i had to format...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
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?
1
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...
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...

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.