Professional Documents
Culture Documents
Each application that you plan to create in your dotNET environment should live in a
separate, uniquely-named folder inside the dotnet and dotnet-dev folders. We
recommend that you do NOT include any blanks in this folder name. This folder
name will also become part of the URL of your application:
https://[yourhostname] -dev.princeton.edu/[folder name]/
https://[yourhostname].princeton.edu/[folder name]/
Before deploying code to the newly created application folder, you will need to tell
the dotNET administrators to register this application/folder with IIS by sending a
request to oitdas@princeton.edu . Be sure to include the full path to the application
subdirectory in your request. Your application will not work until you do this.
Select Server/Script from the left-hand menu. Create IIS Application is set
to true by default. Change this to false.
6. Still within the Project -> Settings window, select Publishing from the lefthand menu. We need to tell Code Charge where to publish your application
to. The current Active Server (at the top of the window is a default, called
Server 1. Click the button to the right of this, Edit Servers. Click
Rename for the default (Local) server, and rename it something to indicate
that it is publishing to the Development server (such as
[ApplicationName]Dev).
Click Okay to return to the Publishing Options. For the Server Path, enter
the path to your new application folder within the dotnet-dev folder on the
Central File Server. For example: \\files\dept\[department]\[netID]\dotnetdev\[folder name]. For the Server URL, enter the dotnet-dev URL for your
application: https://[yourhostname]-dev.princeton.edu/[folder name]/
7. If you are going to use CAS for Princeton authentication, or plan to use any
other DLLs, select the radio button next to All files excluding extensions for
the Files to Publish.
Open a web browser and go to the URL of your project, specifying the page
NewPage1.aspx. You should see your Hello World! message. Your
CodeCharge project is now set up.
2. Provide a descriptive name for this Database Connection, and then select
MS Access from the pull-down of supported database types.
3. Leave Use Connection String selected, and click on the Build button.
4. From the list of MS Access DB OLE providers, select Microsoft Jet 4.0 OLE DB
Provider and click Next.
5. Provide the path to your Access Database on the Central File Server, for
example: \\Files\Dept\[department]\[netID]\data\MyDatabase.mdb
6.
If you have a certain username and password that you want your web
application to use, enter it here.
7. Click Test Connection to confirm that Code Charge can connect properly to
your database.
8. Click Okay to save the current Connection String.
9. Click Okay to save the current Connection Information.
10.Highlight your new Connection, and click Test to confirm that it is working.
11.Click Okay to return to your Code Charge project. You are now set to build
web pages that interface with your Access database.