Brockmann: "Creating Rich Web
Applications Gets a Ton Easier"

e-grou chooses Visual WebGui
over standard ASP.NET

Fully functional software versions
for 30 days evaluation period

Download the free edition of the
Visual WebGui Studio
 

Technical Articles

June 02, 2009 :: 1839 Views :: User Rating:Article Rating
Share |

This document shows how to set up IIS 7 from scratch.
Go to Control Panel – Programs and Features
 
IIS7 Control Panel.

Click “Turn Windows Features On and Off”

IIS7 Windows Features

Select all the features as shown below.

IIS7 Features List

Create a New Application for our project our Project under C:\Inetpub\wwwroot 

IIS7 New application

Now we set up IIS for our application

IIS7 Setup
 

Expand the Sites to get to our project directory

IIS7 Project Directory 

Click Basic Settings in the Action Panel 

IIS7 Action Panel

Select Classic.Net AppPool

IIS7 Application Pool


If you are using a 64Bit Operating System you will need to allow 32 Bit application to run from your IIS.
To do so:
1. Go to the IIS Manager.
2. Open "Application Settings".
3. Select the "Application Pools" item on the tree on the left.
4. Right click on the "Classic .NET AppPool" from the list.
5. Select "Advanced Settings".
6. Change the "Enable 32-Bit Applications" setting to "True" as shown in the screenshot below.



Highlight the .ASPX handler and click Edit Script

IIS7 EditScript

Copy the Executable path to the clipboard
Cancel to close and click Add  Script

IIS7 AddScript
 
Enter the Path as *.wgx and paste the executable  copied in the previous step
Add a name eg WebGUI
Click 'OK' to Save
A box will pop up asking if you wish to allow the ISAPI extension. Click 'Yes'

We are now ready to copy our files to our new application directory
This shows using Publish from VS2008

IIS7 Publish

BEWARE
If “Delete all existing files prior to publish” is checked it will also delete the WGX handler  added earlier

IIS7 Publish 
 
Now we see all the structure

BEWARE
Sometimes Publish does not copy Web.config to the root directory

IIS7 Web.config
 
 
Now we can run the application by pointing our browser to http://localhost/catalog64/mainform.wgx

IIS7 Run Application

 

Posted in: How to?

Post Rating

Comments

# avbcoder
Very helpfull
Thank you
Posted by avbcoder on Sunday, June 07, 2009 1:57 AM

Post Comment

Only registered users may post comments.
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners