473,395 Members | 1,568 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.

asp.net on windows server 2003

When asp.net application is deployed and run in windows server 2003 it gives
a error as "SERVER APPLICATION UNAVAILABLE".How to solve this problem? and
the ASP.net framework is 2.0.
--
nandan

Dec 19 '06 #1
5 1386
When I see this error I usually assume it is an identity crisis...
specifically, the NT user running the app-pool. Note that once an
app-pool bombs, it shuts down and must be *manually* restarted in IIS;
simply refreshing / rebuilding the app will not fix it.

Check what identity the app is running as; if it isn't the default,
then note that there are specific conditions for running aspnet under
a bespoke account. If you need I'll post the list...

But remember to check the app-pool is running (refreshing the display
as necessary)

Marc
Dec 19 '06 #2
Posted for completeness:

Configuring IIS Application Identity:

* Decide which identity you wish to use! (typically your own
credentials for debugging purposes, or a specific account for
test/production servers)
* Add the account to the "Log on as a service" policy-group (Local
Security Settings -User Rights Assignment)
* Add the account to the "IIS_WPG" user-group (Computer Management ->
Local Users and Groups)
* Grant the account "Read & Execute", "List Folder Contents" and
"Read" permissions to the file structure (Explorer -Properties)
* Either create a new application pool, or update the user account of
an existing pool (Internet Information Services -Application Pools)
* Set the application pool for the site / application (Internet
Information Services -Web Sites)

I have also seen references to the following, but I have never needed
them myself:

* Assign the account the right to start CGI processes: adjust memory
quotas for a process and replace a process level token
* Add the account to the "Logon local" policy-group
Dec 19 '06 #3
Also - "identity crisis" is my first bet (**every** time I have seen
this error, this has been the cause), but review the server event log
for more clues.

Marc
Dec 19 '06 #4
I solved the issue like this... I was running Enterprise edition SP1

- Expand Application Pools

- Create a new application pool 'NewPool'

- Right Click>Properties>Set the Identity to Predifined>Local Service

- Give permission for local service (Read, execute, list folders, ...) for
- Windows\Microsoft.NET\Framework\v2.0.50727
- Physical root directory of website

- Expand Websites and Select your web sites virtual folder

- Right Click>Properties>Set Properties>Home Directory>Application Pool to
'NewPool'

Hope it will help you...

"nandan" wrote:
When asp.net application is deployed and run in windows server 2003 it gives
a error as "SERVER APPLICATION UNAVAILABLE".How to solve this problem? and
the ASP.net framework is 2.0.
--
nandan
Mar 5 '07 #5
All this in IIS Admin console

"Faiz" wrote:
I solved the issue like this... I was running Enterprise edition SP1

- Expand Application Pools

- Create a new application pool 'NewPool'

- Right Click>Properties>Set the Identity to Predifined>Local Service

- Give permission for local service (Read, execute, list folders, ...) for
- Windows\Microsoft.NET\Framework\v2.0.50727
- Physical root directory of website

- Expand Websites and Select your web sites virtual folder

- Right Click>Properties>Set Properties>Home Directory>Application Pool to
'NewPool'

Hope it will help you...

"nandan" wrote:
When asp.net application is deployed and run in windows server 2003 it gives
a error as "SERVER APPLICATION UNAVAILABLE".How to solve this problem? and
the ASP.net framework is 2.0.
--
nandan
Mar 5 '07 #6

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

Similar topics

6
by: Nathan Sokalski | last post by:
I want to set up SQL Server on Windows XP Pro so that I can use the database capabilities of ASP and IIS. I am probably using some incorrect settings, but I am not sure what they are. Here is what...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
2
by: Vaap | last post by:
I did lot of googling to see if I can solve the SQL server not found problem while trying to run ASP.Net community starter kit from an XP machine to Windows 2003 server hosting SQL server 2000...
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
7
by: Cliff Harris | last post by:
I don't currently have an installation of Windows 2003 server, or I could answer this myself. After having a client install ASP.NET on Windows 2003, I then tried to find the aspnet_wp.exe process...
7
by: lvpaul | last post by:
Hallo ! I am using IIS-Windows-Authentication in my intranet (web.config <authentication mode="Windows" /> <identity impersonate="true" /> How can I get the users (client) IP-Address ? I...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
3
by: Vinod R.Shenoy | last post by:
Hi All, Came across a post wherin you had helped somebody with a similar problem and was wondering if you could help us out with it. Our problem is , We have a development SQL Server 2000...
7
by: =?Utf-8?B?RWRkaWU=?= | last post by:
We have an odd situation with some of our single-threaded CPU-bound C++ programs. They run between 2 and 4 times faster on Windows XP than on windows Server 2003 on the same Xeon hyperthreading...
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: 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...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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,...

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.