Server Application Unavailable

Many a time while developing a web application you may come accross “Server application unavailable”

unavailable2

When you get this error in Windows XP make sure you have given ASPNET user sufficient rights on your physical application folder, it mainly requires read permission.

When you get this error in Windows 2003 server you can right click your virtual directory – permission – grant aspnet user sufficient rights there.

If the above solution doesn’t work here is another alternative,

You could try editing the Machine.config (located in
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFI G\).

Look for a key userName=”machine”. If you set it to “SYSTEM”
instead the aspnet_wp.exe runs with a different user (with
higher privileges).

Hope this helps

tags: , , , , , , ,

Changing the target framework for the setup file

One of my team member, kunal, was facing a problem while creating the setup project for v 20 using VS 2008. Even after just changing the target framework while creating the project did no help so had to search for the solution, and the solution that solved our problem is as follows,

1) Create a windows application project with target framework as v2.0

Select Target Framework

Select Target Framework

2) Create Setup and deployment project and select target framework as v2.0

Target Framework for Setup

Target Framework for Setup

3) Right-Click on setup project Name and select Properties, under properties select Prerequisites

Select Prerequisite

Select Prerequistes

4) Check .NET framework 2.0 and uncheck .NET framework 3.5

Select Framework in Prerequisite

Select Framework in Prerequisite

5) Under Solution Explorer double click on Microsoft.NET framework under

Setup project.

Select the Framwork to change the version

Select the Framwork to change the version

6) Right-Click on .NET framework select properties and change the version to v2.0…

Change Framework Version

Change Framework Version

tags: , , , , , , , , , , ,

Add another application as child of BlogEngine.net

I have been getting good response for my post Integrating blog engine into existing site. One of the guy asked me this question on how can we do the opposite? He had a BlogEngine as parent site and needed some other site to be child of BlogEngine. So He posted on that and this is the answer he got for his question.

You need to make this change in your web.config file. If you want to have a website as child of BlogEngine

<location path="." inheritInChildApplications="false">
 <system.web>
 ..... existing content .....
 </system.web>
</location>

<location path="." inheritInChildApplications="false">
 <system.webServer>
 ..... existing content .....
 </system.webServer>
</location>
tags: , , , , , , , , , , ,
Page 1 of 111234510Last »