Solved

Cresting Web Setup in ASP.NET

Posted on 2008-06-23
10
390 Views
Last Modified: 2013-11-26
I have created some asp.net pages in my website. Now what I want that it should run in Intranet not in internet. What i want is that i will send some .exe or .msi file to user , user will install it in one of the machine and then every user should access that application using the IP address of that machine.
How could I achieve this kind of facility ? Or if it is not possible then whiach way should I follow ?
0
Comment
Question by:akulavi
  • 4
  • 4
10 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 21844312
These articles may help you deploying an asp.net-application

How to Deploy ASP.NET Web Application
http://www.beansoftware.com/ASP.NET-Tutorials/Deploy-ASP.NET.aspx

Deploying ASP.NET Applications - Part 1 (and 2)
http://www.15seconds.com/issue/030806.htm
0
 

Author Comment

by:akulavi
ID: 21844442
Hai Dhaest,
I have gone through the steps of those tutorials.... Whenever I am installing it in my machine it is working fine. My O/S is Win 2003. But whenever I am installing it in my Client Machine it is showing one error :

Failed to access IIS Metabase

O/S of Client is Win Xp. Is there any problem with O/S? If it is not then What is the main cause for this kind of problem ?
I am giving the details of the Error:::::
Server Error in '/vphrep1' 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) +3591442

   System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9

   System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +169

   System.Web.CachedPathData.GetConfigPathData(String configPath) +389

   System.Web.CachedPathData.GetConfigPathData(String configPath) +243

   System.Web.CachedPathData.GetApplicationPathData() +68

   System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3536567

   System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189
 

 
 
 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 

Open in new window

0
 
LVL 53

Expert Comment

by:Dhaest
ID: 21844460
Is there IIS installed on the machine ?
0
 

Author Comment

by:akulavi
ID: 21844479
Yes. surely.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 53

Expert Comment

by:Dhaest
ID: 21844518
Are the rights correctly ?
0
 

Author Comment

by:akulavi
ID: 21844524
if u r talking about the rights of the virtual directory it is correct....... If other things that i dont know .. will u pls help me in this regard ?
0
 

Author Comment

by:akulavi
ID: 21844649
Hai experts,
I am waiting for ur reply ....... its urgent
0
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 21845035
Found at another forum:
The problem had to do with the ASPNET user, and its permissions, and apparently some bug in the ASP.NET install.  I had tried all the things in these threads:

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=116989&SiteID=1
    http://blog.devstone.com/Aaron/archive/2006/05/08/1586.aspx

But none of them worked for me.  Here is what worked for my box:

We followed below steps to resolve the issue -

1. Unregistered all the versions of ASP.NET with command "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis ua".

2. Deleted the ASPNET account from "Local Users and Group  Users".

3. Then registered ASP.NET 2.0 with IIS using "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis i".

4. Gave permissions to the ASPNET account using "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis ga machinename\ASPNET".

5. Reset the IIS and that resolved the issue for ASP.NET 2.0.

6. We registered ASP.NET 1.1 with IIS as well using command "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis i".

7. Reset the IIS.

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Hovering effect 9 29
.net Multiple Row Form Fields Data Entry 4 17
getting id from database 5 24
Achieve json result 2 28
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now