Solved

iisreset errors out despite doing 7 debug measures:

Posted on 2010-09-12
7
572 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

738 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