The setup of the "Gridview to Excel Export Tool" Demo Site.
Following steps are required to run the "Gridview To Excel Export
Tool" Demo Site on your machine. The Demo Site is installed in the GEETDemoSite subfolder
of the "C:\program files\Cefalà Ing. Ettore\[Version]\" folder (Program files
may become Program Files(x86) on 64 bit computers)
During this walkthrough you will:
- create a Virtual Directory in the Default Web Site of you machine to
host the Gridview to Excel Export Tool Demo Site.
- give permissions to the User ASPNET (or NETWORK SERVICE) which, by default,
runs the Web Site, to properly access some application and system folders
- give permissions to the User ASPNET (or NETWORK SERVICE), to read data
from the AdventureWorks Sql Server database
- run the GEET Demo Site
GEET Virtual Directory Creation
To create the GEET Virtual Directory you should
- Run IIS on your machine (to run IIS open your computer Administrative Tools and
doubleclick Internet Information Services icon;
- Expand "Your Machine Name" Node;
- Expand the "Web Sites" Node;
- Select your Default Web Site;
- Click the right mouse button and select "New" and then "Virtual Directory";
- Next "Virtual Directory Creation Wizard" will popup;
- after pressing Next, next screen will ask you to assign an Alias to the new Virtual
Directory.
- Assign an Alias to the new Virtual Directory (e.g. GEET)...

- and press Next. Next screen will ask you to enter the path of the folder that
contains the site.

- Press the Browse button and navigate to the folder C:\Program Files\Cefalà Ing.
Ettore\GridviewExcelExportTool\1.3.2\GEETDemoSite. N.B.: On 64bit machine "Program
Files" could become "Program Files(x86)".

- Select the GEETDemoSite folder and press OK. Next window will show up.

- Press Next.

- In the previous screen, please check "Read" and "Run scripts" checkboxs and press
next.

- Open Windows Explorer and navigate to the Program Files Folder
GEET Folders Permissions
With next steps you should give some permissions to the ASPNET or NETWORK SERVICES
user under which, by default, runs the Virtual Directory you just created.
N.B. You should repeat this procedure three times. Folders on which you should
give "Modify" permission to ASPNET or NETWORK SERVICE user are:
- C:\Program Files\Cefalà Ing. Ettore\GridviewExcelExportTool\1.3.2\GEETLogs
- C:\Program Files\Cefalà Ing. Ettore\GridviewExcelExportTool\1.3.2\GEETTemplates
- C:\WINDOWS\TEMP folder
Please notice that "Program Files" may be "Program Files(x86)"
on 64 bit machines.
Following are the steps to give permissions on first of the three above listed folders:
- Open Windows Explorer and navigate to folder: C:\Program Files\Cefalà Ing. Ettore\GridviewExcelExportTool\1.3.2
where "Program Files" may be "Program Files(x86)" on 64bit machines.
- In this screen please select the GEETLogs folder, click the right button of the
mouse and select "Security".
- Next window will show up.
- Press Add to add a new user.
- Press Advanced and proceed to next window.
- Press Find now and next window will show up.
- In this screen scroll down to find ASPNET or NETWORK SERVICE User.
- Select ASPNET (or NETWORK SERVICE) Used and press Ok. Next window will show up.
- Press Ok on previous screen. Next window will whow up.
- Give ASPNET (or NETWORK SERVICE) "Modify" permission and press Apply. Next window
will show up.
GEET - Giving Permissions on the AdventureWorks Sql Server Database
In this section you will give the user ASPNET or NETWORK SERVICE, permissions to
work on the Microsoft AdventureWorks Sql Server database. If you neew to install
this database you may download it from
Microsoft Download Center.
Open Sql Server Management Studio (or Sql Server Enterprise Manager), navigate to
the AdventureWorks database and
- Expand adventureWorks node
- Expand Security node
- Right-click Users node and select "New User". Following window will show
up:
- Click the Browse (...) button. Next window will show up:
- Click "Browse":
- Next window showing a list of user will show up:
- Look for Your computer name\ASPNET (or NTAUTHORITY\NETWORK SERVICE) User; Check
it and press Ok. Next window will show up:
- Give db_datareader permission to the User by checking the db_datareader checkbox
inside the Database Role membership box.
- The Press Ok and you're finished with giving proper rights to the user running
your Gridview to Excel Export Tool Demo Site.
Running the Gridview to Excel Export Tool Demo Site
To run the "Gridview to Excel Export Tool" Demo Site on your computer, open Internet
Explorer and give it next URL http://localhost/GEET
Next screen should show up:
For any issue please click here to send a support request.