Search  
You are here:  Forums    
Latest Posts Minimize
RE: Mis-delivered message copies by SteveT on 11-19-2008 1:21 PM
RE: Mis-delivered message copies by dr_fission on 11-19-2008 4:49 AM
RE: Mis-delivered message copies by SteveT on 11-18-2008 9:51 PM
Mis-delivered message copies by dr_fission on 11-18-2008 9:00 PM
RE: .Net interface errors by dr_fission on 11-18-2008 8:36 PM
RE: Upgrade problems by mrmike on 11-17-2008 3:45 AM
RE: Upgrade problems by SteveT on 11-16-2008 3:03 AM
RE: ...upgrade worth it? by SteveT on 11-16-2008 2:58 AM
RE: ...upgrade worth it? by oddes on 11-16-2008 2:18 AM
RE: Need some Help, going crazy ! by oddes on 11-16-2008 1:40 AM

Top 10 Links Minimize

ArGoStuff User to User Support Forums Minimize
Subject: Failed to access IIS metabase.
Prev Next
You are not authorized to post a reply.

Author Messages
kryichek

Posts: 9
Online: User is Offline
ArGoNuke Recruit
ArGoNuke Recruit





07-06-2008 7:42 AM  

I am getting the following when trying to access Webmail.  I really dont know what step to do next to get this working.

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.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[HostingEnvironmentException: Failed to access IIS metabase.]
   System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3492170
   System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath.MapPath(String siteID, VirtualPath vpath) +9
   System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +163
   System.Web.CachedPathData.GetConfigPathData(String configPath) +382
   System.Web.CachedPathData.GetConfigPathData(String configPath) +243
   System.Web.CachedPathData.GetApplicationPathData() +68
   System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3385679
   System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189

 

SteveT
Forum Administrator

Posts: 2577
Online: User is Offline
ArGoNuke Admiral
ArGoNuke Admiral





07-06-2008 8:06 PM  
Before messing with the IIS metabase, please ensure that you have IIS set up correctly. From the web site in IIS Manager, right click and select Properties. Select the ASP.NET tab. It needs to have a minimum Version 2.0.x. On the directory Tab, select security, Edit, and ensure That Enable Anonymous Access is enables and the user account should be IUSR_[Computer Name]. In the application Pool section check the properties, go to the Identity tab and ensure that pre-defined is selected and that it shows Network Service. Next go to the root folder of your web site, right click, properties and then security. These services should be there: Network Service Interactive System (all have Full Control) and Network (List Folders only).

Top Cat Computing BOINC Team StatsRegards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com
kryichek

Posts: 9
Online: User is Offline
ArGoNuke Recruit
ArGoNuke Recruit





07-06-2008 10:35 PM  
Posted By SteveT on 07-06-2008 8:06 PM
Before messing with the IIS metabase, please ensure that you have IIS set up correctly. From the web site in IIS Manager, right click and select Properties. Select the ASP.NET tab. It needs to have a minimum Version 2.0.x. On the directory Tab, select security, Edit, and ensure That Enable Anonymous Access is enables and the user account should be IUSR_[Computer Name].
 
bottom half:
In the application Pool section check the properties, go to the Identity tab and ensure that pre-defined is selected and that it shows Network Service. Next go to the root folder of your web site, right click, properties and then security. These services should be there: Network Service Interactive System (all have Full Control) and Network (List Folders only).

I was able to verify everything above the bottom half.  However, I am drawing a blank at Application Pool and "root folder"  I dont see a Securty tab in the properties selection of c:\inetpub or c:\inetpub\wwwroot.
mtosborne

Posts: 13
Online: User is Offline
ArGoNuke Apprentice
ArGoNuke Apprentice





07-06-2008 11:14 PM  
I too was getting this error when I first setup my .NET server.  Basically, I found out that I installed IIS before I installed ASP.NET and that screwed things up.  To fix the problem, uninstall and reinstall ASP.NET or run this from a command prompt:

“aspnet_regiis -i ”

Hope this helps!

SteveT
Forum Administrator

Posts: 2577
Online: User is Offline
ArGoNuke Admiral
ArGoNuke Admiral





07-06-2008 11:29 PM  

Application Pool will be found in IIS Manager:

IIS ManagerUnless you added some pools like I did, there should be one there called DefaultAppPool. Select it, right click and then select the Identity Tab.  Ensure that pre-defined is selected and that it shows Network Service as the Account to use for that pool.

 

The next step is to check the file permissions of your web site. You need to navigate to the root folder of your web site, for example: c:\inetpub\wwwroot\.  Select the folder, right click the folder and select Properties, then select the Security Tab. 

You want to ensure that the wwwroot folder has at a minimum these permissions:

These services should be there:

Network Service

Interactive

System (all the above should have Full Control)

 Network (List Folders only).
Folder

If you do not see this type of Tab, What Operating System are you using and what file system do you have installed (FAT, FAT32, NTFS)?


Top Cat Computing BOINC Team StatsRegards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com
kryichek

Posts: 9
Online: User is Offline
ArGoNuke Recruit
ArGoNuke Recruit





07-07-2008 6:29 PM  

After reading the above post from mtosborne I decided to take the following steps:

1. I uninstalled Webmail

2. I uninstalled IIS

3. I uninstalled the .NET Framework

4. Rebooted. (note your mail server will not work cause .NET has been removed)

5. I installed IIS

6. I installed the .NET Framework

7. Rebooted

8. I installed the Webmail interface

9. It works like a champ.

Thanks for everyones help.

SteveT
Forum Administrator

Posts: 2577
Online: User is Offline
ArGoNuke Admiral
ArGoNuke Admiral





07-07-2008 10:06 PM  
I'm glad to see that you have gotten it resolved.

Top Cat Computing BOINC Team StatsRegards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com
You are not authorized to post a reply.



ActiveForums 3.7

Donations Minimize

Find our site useful? Make a donation to show your support

Donate

logo_ccMC.giflogo_ccVisa.giflogo_ccDiscover.giflogo_ccAmex.gif

ArGoStuff Supporters

 


News from ArGoSoft Minimize
1 2 3 4 5 6


Mail Server v1.0.5.8

Mail Server

  • Mailbags now have an option to accept mail only when specified server is down - will help to fight with spam which attempt to deliver mail bypassing the main server;
  • When delivering mail, if main exchanger returns 4xx reply (temporary problem), the server will not try other exchangers, will retry later the main exchanger;
  • Server options moved from registry to a XML file. 64 bit versions of Vista and 2008 server appear to be having access rights problems to the Windows registry, and the change will make our server more compatible with 64 bit versions;
  • Added an option to specify the number of lines on the log screen, when using the user interface. Was causing memory problems if left running for long time;
  • Fixed couple of problems, which were showing when SQL server was set up to use case sensitive SQL statements;
  • Made changes in the remoting interface to allow logging in using aliases;

Web Interface

  • Made changes to allow logging in using aliases;
  • When viewing folders, web interface now displays the name of logged in user;
11/12/2008 2:31:31 PM
FTP Server v1.0.1.6
  • Server settings have been moved from registry to the XML file, which will be located in the common application data directory. 64 bit versions of Windows were having trouble writing into the registry; similar change is coming to the mail server;
  • If used, XML files (Users.XML, Groups.XML and ServerOptions.XML) will also be moved to the common application data directory;
11/8/2008 11:41:29 PM
FTP Server v1.0.1.5
  • When performing active data transfers on systems with multiple IP addresses, data connections were using first available IP address, rather than one on which the control connection was active. It was causing confusion with firewalls and routers;
11/2/2008 9:39:24 PM
Web Mail Hosting

I am considering to start web mail hosting service for ArGoSoft Mail Server .NET: mail server will be installed on your computer, while the web interface - on ours. It will save the hassle with setting up the web interface, and keep updating it.

Please vote here wheter you are interested in such a service.

10/23/2008 11:07:28 AM
ArGoSoft Mail Server .NET v1.0.5.7

Mail Server

  • Added Bounced Messages under Options, allowing users to customize bounced and warning messages.  This feature was present in the Pro version, but was missing in the .NET;
  • Now it is possible to set a daily limit for each user for sending mail out (see Max Rcpt To... option when editing users);
  • Each session can have a limit of RCPT TO commands Options - Server Settings - General . This feature was present in the Pro version, but was missing in the .NET.
  • Now allowing to specify the lifetime for remoting validation token, can be useful to extend the length of web interface sessions (Options - Server Options - Advanced);

Web Interface

  • Fixed Unable to Find Users Path... exceptions problem when accessing users for very first time;
  • Updated to allow the domain group administrator to update Max Rcpt To commands (see above);
10/22/2008 5:45:26 PM


1 2 3 4 5 6

Protect Your Computer today withGet AVG Today