?
Solved

Cresting Web Setup in ASP.NET

Posted on 2008-06-23
10
Medium Priority
?
411 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

 

Author Comment

by:akulavi
ID: 21844479
Yes. surely.
0
 
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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

762 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