Installation of web appliction

Last post 03-13-2007 8:20 AM by Jerome Cui - MSFT. 7 replies.

Sort Posts:

  • Installation of web appliction

    03-08-2007, 11:16 AM
    • Loading...
    • miztiik
    • Joined on 10-22-2006, 1:19 AM
    • Hell
    • Posts 236

    i have a created a small web application using visual web developer express 2005. 

    To install that as a website,

    i just copied the application folder and pasted in the C;\wwwroot\inetpub folder.

    but i am getting this error.

     

    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. 
    
      
  • Re: Installation of web appliction

    03-08-2007, 11:30 AM
    • Loading...
    • Haissam
    • Joined on 10-05-2006, 6:25 AM
    • Beirut - Lebanon
    • Posts 4,682

    Did u configure your webapplication as virtual folder in IIS?

    if no,follow the below steps

    1- Right click my computer, select Manage

    2- Expand Services and applications, Expand Internet Information Services.

    3- Expand Web Sites, And Default Web Site

    4- Right Click the folder name click properties.

    5- Now next to the Application name, you will find a Create button, click it.

    Now retry it.

    HC 

    Haissam Abdul Malak
    MCAD.NET
    | Blog |
  • Re: Installation of web appliction

    03-09-2007, 2:58 AM
    • Loading...
    • miztiik
    • Joined on 10-22-2006, 1:19 AM
    • Hell
    • Posts 236
     
    Server Error in '/ScrapShares' Application.
    --------------------------------------------------------------------------------
    
    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) +3500378
       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) +3393699
       System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189
    
     
    
    
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 
     i have done that and hit the aspx file and clicked browse..and got the above mentioned error
    Filed under: , ,
  • Re: Installation of web appliction

    03-09-2007, 7:25 AM
    • Loading...
    • Simo A.
    • Joined on 03-07-2007, 9:58 AM
    • Posts 34

    If you installed .NET framework 2.0 before installing IIS, then you have to run, firstm the aspnet_regiis tool from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folder.

    Also, after creating the virtual directory, right click on it in the IIS mmc, select Properties -> ASP.NET and change the ASP.NET version to 2.0.xxx

    You can't have everything...Where would you put it?...
    Joy, frustration, excitement, madness, aha's, headaches ... codito ergo sum!
  • Re: Installation of web appliction

    03-09-2007, 11:33 AM
    • Loading...
    • miztiik
    • Joined on 10-22-2006, 1:19 AM
    • Hell
    • Posts 236
    done all that still i get the error i had posted in my second post 
  • Re: Installation of web appliction

    03-13-2007, 7:41 AM
    • Loading...
    • miztiik
    • Joined on 10-22-2006, 1:19 AM
    • Hell
    • Posts 236
    any other suggestion please 
  • Re: Installation of web appliction

    03-13-2007, 8:13 AM
    • Loading...
    • e_screw
    • Joined on 10-20-2004, 1:22 PM
    • Women, Guitar, Russia, Billiards, Nature, .NET
    • Posts 3,852

    Did you compile your application or just copied the files? Is it the same system for both deployment and production?

    Thanks

    Mark post(s) as "Answer" that helped you

    Electronic Screw
    Website||Blog||Dub@i.net
  • Re: Installation of web appliction

    03-13-2007, 8:20 AM
    Answer

    Hello,

    Here is reference : How to deploy an ASP.NET Web application

    http://support.microsoft.com/kb/326355

    HTH

    Please give us feedback no matter whether you get your answer.
    Please "mark as answer" if it's useful for you

    Sincerely,
    Jerome
Page 1 of 1 (8 items)
Microsoft Communities
Page view counter