IIS Admin Service problems
am 10.07.2007 08:10:23 von Vinodi
Hi,
Hi all, i'm having a bit of a problem here. My IIS Admin service will
not
start (running IIS6 on W2k3 server). The error message it returns is '
Could
not start the IIS Admin Service on Local Computer. Error 2: The
System
cannot fine the file specified'
I tried using the Metabase Explorer. It gives me the following error
"Failed to connect to local metabase. Cannot create an instance of
MSAdminbase object.
Reason: Server Execution failed"
I also looked at the rights of Adminscripts folder in InetPub where
the local system administrator has full control as well as Domain
Administrator has full control.
In the Event Viewer it generates Event ID 7023. It gives the error:
The IIS Admin Service service failed to start: The System cannot find
the file specified.
Which file is the IIS Admin Service looking out for. Is there any tool
which will help me to guage the file handles or files required while
IIS Admin Service service. The Process Explorer at www.sysinternals.com
also did not provide me with any clue or maybe I am not loking at the
right places.
Thanks and please help me in solving this itching problem.
Vinod
RE: IIS Admin Service problems
am 10.07.2007 12:30:06 von rajiv_p_iyer
Hi,
Is this server running LIVE?
Are you hosting any websites?
If not then you may try reinstalling the IIS. this should solve the issue.
--
regards,
Rajiv.I
MCP,MCSA
"Vinodi" wrote:
> Hi,
>
> Hi all, i'm having a bit of a problem here. My IIS Admin service will
> not
> start (running IIS6 on W2k3 server). The error message it returns is '
> Could
> not start the IIS Admin Service on Local Computer. Error 2: The
> System
> cannot fine the file specified'
>
> I tried using the Metabase Explorer. It gives me the following error
> "Failed to connect to local metabase. Cannot create an instance of
> MSAdminbase object.
> Reason: Server Execution failed"
>
> I also looked at the rights of Adminscripts folder in InetPub where
> the local system administrator has full control as well as Domain
> Administrator has full control.
>
> In the Event Viewer it generates Event ID 7023. It gives the error:
> The IIS Admin Service service failed to start: The System cannot find
> the file specified.
>
> Which file is the IIS Admin Service looking out for. Is there any tool
> which will help me to guage the file handles or files required while
> IIS Admin Service service. The Process Explorer at www.sysinternals.com
> also did not provide me with any clue or maybe I am not loking at the
> right places.
>
> Thanks and please help me in solving this itching problem.
>
> Vinod
>
>
Re: IIS Admin Service problems
am 11.07.2007 07:34:47 von Vinodi
On Jul 10, 3:30 pm, RajivI wrote:
> Hi,
>
> Is this server running LIVE?
> Are you hosting any websites?
> If not then you may try reinstalling the IIS. this should solve the issue.
> --
> regards,
> Rajiv.I
> MCP,MCSA
>
>
>
What should be done to all the ASP.NET projects that exists in it
although it is not a production server but a testing server. Will I
have to reload ASP.NET and then create virtual directories for all the
ASP.NET projects. Any other settings that need to / need not be
performed.
regards
Vinod
Re: IIS Admin Service problems
am 11.07.2007 10:34:01 von David Wang
On Jul 10, 10:34 pm, Vinodi wrote:
> On Jul 10, 3:30 pm, RajivI wrote:> Hi,
>
> > Is this server running LIVE?
> > Are you hosting any websites?
> > If not then you may try reinstalling the IIS. this should solve the issue.
> > --
> > regards,
> > Rajiv.I
> > MCP,MCSA
>
> What should be done to all the ASP.NET projects that exists in it
> although it is not a production server but a testing server. Will I
> have to reload ASP.NET and then create virtual directories for all the
> ASP.NET projects. Any other settings that need to / need not be
> performed.
>
> regards
> Vinod
Yes, you will have to redo everything related to IIS following a
reinstallation since the configuration file containing those settings
cannot be read and will be overwritten on reinstall (if you clean away
the old file first -- no, reinstall will not "fix" the old file --
your current configuration is lost forever if you never made any
backups of it, just like any other file).
Right now, your problem is that IIS cannot read %systemroot%
\system32\inetsrv\metabase.xml . It is either missing, has encrypted
values that can no longer be read (if you changed private machine
keys, for example), or the XML may be malformed. If you figure out
what is wrong with the file you can fix it and avoid reinstallation.
You may be able to "save" your ASP.Net related configuration from the
metabase.xml file by copy/paste and reapply it to a reinstalled IIS6,
but you will need to know what to copy and how to do it properly to be
able to succeed. Unfortunately, there is no documentation/whitepaper
for these actions since it's not exactly supported and assumes the
user knows what they are doing.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//