IIS won't run ASP.NET apps. "Specified metadata not found"

G

Guest

Windows XP SP2 + Symantec AV + VS 2003 with .NET Framework 1.1

IIS won't load or run existing ASP.NET applications and VS can't create or
load web projects (HTTP/1.1 500 Server Error).

Event System log shows a warning with the following attributes: User: N/A,
Source: W3SVC, Category: None, Event ID: 36, Description: The server failed
to load application '/LM/W3SVC'. The error was 'The specified metadata was
not found.'

I found the MSDN articles for VS 6.0 and when you are trying to run both 1.0
and 1.1 Frameworks at the same time. Neither appears to apply in this case.
The mfc42.dll has the correct permissions ("Read & Execute" for
"IWAM_<Computername>") and I'm not using Framework 1.0 (although there is
that rump group of four files in the
<Windir>\Microsoft.NET\Framework\v1.0.3705 directory.

The company I work for recently had us run some home-grown software to
"lock-down" our systems--I also had some other issues come up.
Unfortunately, that made it so I couldn't even load and run web pages that
had been working for months. Anyway, I've worked through almost everything
and I think this is the last issue.
 
G

Guest

Thanks Jeffrey!

I've tried both and neither works. I've also tried uninstalling and
reinstalling VS 2003 (Ugh!!!).

I'm pretty sure that it's some little protection/permission dohickey
somewhere deep in the bowels of Windows XP that I'm running into.

Lowell


Jeffrey Palermo said:
Lowell,
If I were you, I would try running aspnet_regiis -i, and if that doesn't
work, I would uninstall and reinstall IIS.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo


"(e-mail address removed)"
 
S

Steven Cheng[MSFT]

Hi Lowell,

From the error info you provided:

======================
The server failed
to load application '/LM/W3SVC'. The error was 'The specified metadata was
not found.'
======================

I think the problem is very serious since the whole IIS Root's metabase
seems got corrupt. Installing VS.NET won't help because the IIS metabase
setting (or other configuration) concerned with ASP.NET is not created by
the VS.NET , they're done when you installed the .net framework. So If
you feel possible, the quickest and simplest means is reinstalling the IIS
and .net framework. And to make sure the IIS is configured correctly, we
need to follow the sequence that install IIS first, then .net framework.

In addition, does the problem occur after youv'e done some big changes on
the server? One thing I think you can still check is the IIS's meta base
backup. Open the IIS management console (inetmgr.exe)

Then select the root node and choose the "All Tasks---->Backup/Restore
Configuration...."
you can look for any former settings that can be used to restore your IIS.
If there hasn't any proper backup can use, I'm afraid maybe we need to do
the reinstallation I mentioned above.

If anything unclear, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
G

Guest

Jeffrey,

Sorry, I kept forgetting to reply. After I wrote the previous email, I
realized that I hadn't uninstalled and reinstalled IIS. So I did that.
Still didn't work. Then, I ran aspnet_regiis -i. Still didn't work. then, I
ran the install for my little ASP.NET application. It worked! I then
uninstalled my application and recreated the links in IIS to my source
directories for the various ASP.NET projects. It still worked!

It still feels a lot like black magic.

Thanks, however!!

Lowell

Jeffrey Palermo said:
Lowell,
If I were you, I would try running aspnet_regiis -i, and if that doesn't
work, I would uninstall and reinstall IIS.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo


"(e-mail address removed)"
 
G

Guest

Thanks Steven!

As I replied to Jeffrey, earlier, it turns out that I was able to solve the
issue with an IIS reinstall and re-running aspnet_regiis -i. Your answer
does help take some of the "black magic" aspect out of the whole thing,
however.

I will also look into that "backup" thing.

Thanks!
Lowell
 
J

Jeffrey Palermo [MCP]

That's great. I'm glad you have it working now.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo


Jeffrey,

Sorry, I kept forgetting to reply. After I wrote the previous email, I
realized that I hadn't uninstalled and reinstalled IIS. So I did that.
Still didn't work. Then, I ran aspnet_regiis -i. Still didn't work. then, I
ran the install for my little ASP.NET application. It worked! I then
uninstalled my application and recreated the links in IIS to my source
directories for the various ASP.NET projects. It still worked!

It still feels a lot like black magic.

Thanks, however!!

Lowell
 
S

Steven Cheng[MSFT]

Thanks for your followup Lowell,

Anyway, that's great everything work well now. Have a good day!

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top