Solved

iisreset errors out despite doing 7 debug measures:

Posted on 2010-09-12
7
557 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 29

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
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

 

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

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.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

27 Experts available now in Live!

Get 1:1 Help Now