Failed to access IIS metabase.

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
lsalton
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Wed Oct 01, 2008 9:38 pm

Failed to access IIS metabase.

Post by lsalton » Wed Oct 01, 2008 9:56 pm

Hi, I'm new here in the forum and is my first time installing the AC 7.0, so I need some help cause I've got the error below when I was using the system by the first time. What is happening? Please, help me!

ERROR MESSAGE STARTS HERE

Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

Tks,

See ya!

Leo.

lsalton
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Wed Oct 01, 2008 9:38 pm

Re: AbleCommerce: Failed to access IIS metabase.

Post by lsalton » Wed Oct 01, 2008 10:30 pm

Hi,

The last error was solved. It ocurs when you install the ISS after ASP.net instalation.

But I have another error, acctually 3, below:

When I tried use the application, show me in th I.E.

Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

ERROR IN EVENT LOG.
aspnet_wp.exe (PID: 3368) stopped unexpectedly.
Para obter mais informações, visite o Centro de ajuda e suporte em http://go.microsoft.com/fwlink/events.asp.

.NET Runtime version 2.0.50727.1433 - Fatal Execution Engine Error (79FFEE24) (80131506)
Para obter mais informações, visite o Centro de ajuda e suporte em http://go.microsoft.com/fwlink/events.asp.

Specifications:
Processor: AMD Turion 64 mobile technology (1.6 GHz);
RAM installed: 1 GB DDR
Win XP pro (ENG)
IIS 5.0
Visual Studio 2005 with .Net Framework 2.0
TKS,

Leo.

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Failed to access IIS metabase.

Post by sohaib » Mon Oct 06, 2008 3:32 am

aspnet_wp.exe (PID: 3368) stopped unexpectedly.
Para obter mais informações, visite o Centro de ajuda e suporte em http://go.microsoft.com/fwlink/events.asp.
Seems like an internal ASP.NET error. Possible reasons I could see are
a) corrupted IIS, ASP.NET or .NET2 installation
b) some unusual settings on your server
c) platform incompatibility

lsalton
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Wed Oct 01, 2008 9:38 pm

Re: Failed to access IIS metabase.

Post by lsalton » Mon Oct 06, 2008 7:14 am

Tks Sohaib,

it worked! I removed my IIS, VS .Net and .Net Framework installation and re-installed after in this order:

IIS
VS .Net
and at least .Net Framework

And so that the AbleCommerce worked in my server.

Tks very much!

Regards,

Leo.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Failed to access IIS metabase.

Post by mazhar » Mon Oct 06, 2008 9:53 am

The order does matter some times for example you if you have already installed .NET Framework and then you install the IIS. In this case ASP.NET will not get registered with IIS. There is a utility tool available with Visual Studio which can do this registration job for you, its name is aspnet_regiis.exe. For run the Visual Studio Command Prompt through the VS Tools and then using the command prompt navigate to the following directory

Code: Select all

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
and run the exe as below

Code: Select all

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
where -i means to register asp.net with IIS. You can use -u switch to uninstall the ASP.NET as well.
Last edited by mazhar on Mon Oct 20, 2008 10:45 am, edited 1 time in total.

lsalton
Ensign (ENS)
Ensign (ENS)
Posts: 18
Joined: Wed Oct 01, 2008 9:38 pm

Re: Failed to access IIS metabase.

Post by lsalton » Thu Oct 09, 2008 3:58 pm

Tks folks!

It works very well!

See ya!

Leo.

AlanW
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Wed Apr 08, 2009 12:47 pm

Re: Failed to access IIS metabase.

Post by AlanW » Wed Jun 10, 2009 2:37 pm

I was able to repair the installation of .NET 3.5 Framework in the Add/Remove Programs to get past the "Failed to access IIS metabase." error message.

Post Reply