Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

iisreset errors out despite doing 7 debug measures:

Posted on 2010-09-12
7
Medium Priority
?
586 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 

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
 

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Loops Section Overview

926 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