Solved

iisreset errors out despite doing 7 debug measures:

Posted on 2010-09-12
7
561 Views
Last Modified: 2012-05-10
Background:
A Windows 2003 Server ran my webservice until a power outage, after which my services errors with what appears to be a simple rights issue. Pointing to my service in a browser returns "Server Error in '/AMMService' Application. It gave this piece of info:
CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\ammservice\eac084ad\2c623a87\hwyw3pqd.dll' -- 'Access is denied. '

Giving that directory rights didn't solve it (didn't expect it to since I'm guessing it's a symptom, not the cause), so I tried IISRESET which returns the following error:
IIS Admin service or a service dependent on IIS Admin is not active. It most likely failed to start, which may mean that it’s disabled.

So far, I tried:
Re-installed IIS6.0 Re-installed ASP.NET (aspnet_iis –i)
Verified that IIS6.0 is installed and that ASP.NET is registered with IIS (by looking at values of some registry keys).
Verified that .NET Framework version 1.1.4322.0 is installed (via registry keys).
Added IUSR_<machineName>, IWAM_<machineName>, IIS_WPG to c:\windows\temp – after creating c:\windows temp
Verified those users had rights to c:\inetpub\wwwroot, c:\wms65 (the service install location and the location of the program data, respectively)
Changed TMP and TEMP env variables to point to c:\windows\temp, because when I point to the ammservice from a browser it complained at one point of not having rights to that directory.
Rebooted server.
Kicking it (kidding).

What now? Maybe I'm missing something really simple....like reinstalling Windows2003 ;)
0
Comment
Question by:andremara
7 Comments
 
LVL 10

Expert Comment

by:ddiazp
ID: 33658060
How about reinstalling .NET Framework? Seems like that hwyw3pqd.dll module was corrupted
0
 
LVL 30

Expert Comment

by:Rich Weissler
ID: 33658133
I'm not a .NET expert, but since those files are all under the '\Temporary ASP.NET Files' directory, shouldn't they all be recompiled if they weren't there?  If it were me, I might try renaming the whole ammservice directory to something else, and do another iisreset... and assume, like ddiazp says, assume the module was corrupted... but it should recompile.

(And the only reason I say rename, rather than delete the directory is out of paranoia in case I'm wrong.)
0
 

Author Comment

by:andremara
ID: 33658246
OK,
So I can repair or remove/reinstall framework as per microsoft's instructions: http://support.microsoft.com/kb/824643

Trying to repair:
Option A:
going to the .net framework version 1.1 redistributable and typing:
dotnetfx /t:%temp% /c:"msiexec.exe /fvecms %temp%\netfx.msi" erros out saying I need to use Windows Update

Option B:
Using the Windows Installer Cache files to find 1.1, but 1.1 isn’t in the cache file list.

Going to repair:
By using this 3rd party tool Microsoft’s help page suggests OR by modifying the registry. I think I should just follow the registry modification instruction as per the Microsoft instructions….
UNLESS you have a better idea?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:andremara
ID: 33658251
(typo: meant to say "Going to REINSTALL", in the comment above)
0
 
LVL 10

Expert Comment

by:ddiazp
ID: 33659315
What you can even probably do is grab that file from another server that also has .Net 1.1 installed and copy it over this server.


If that's not available; I'd personally remove .net completely, install it from scratch and re-allow it from IIS

Make sure you shut down IIS whenever you repair/remove/reinstall
0
 
LVL 14

Expert Comment

by:Dhanasekaran Sengodan
ID: 33659872
0
 

Accepted Solution

by:
andremara earned 0 total points
ID: 33738854
The solution was to move the temp file location using XP's environmental variable, making it "C:\Temp", and giving appropriate isur,iwam, iis_usr rights to it.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now