Solved

iisreset errors out despite doing 7 debug measures:

Posted on 2010-09-12
7
554 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
Comment Utility
How about reinstalling .NET Framework? Seems like that hwyw3pqd.dll module was corrupted
0
 
LVL 29

Expert Comment

by:Rich Weissler
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

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

Expert Comment

by:ddiazp
Comment Utility
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
Comment Utility
0
 

Accepted Solution

by:
andremara earned 0 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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.…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

11 Experts available now in Live!

Get 1:1 Help Now