Solved

Cresting Web Setup in ASP.NET

Posted on 2008-06-23
10
401 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

807 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