Problem with WEB development

  • Thread starter Thread starter Jiador
  • Start date Start date
J

Jiador

Hi,
I'm really new in WEB development and I'm asking help for going trough
this situation.

Here is the thing:
I created a Web page with FrontPage that is linked with a database in
Ms-Access. When a click on the preview tag, it tell me that I have to
publish the page for seeing the result.
So do I really have to put all my things on a server just for testing
or there is a way?

If I absolutely have to publish, I have access to a server computer
that already has old WEB site on it (developed by people that I don't
have access). So how can I add my WEB site on this server?
I tried to add my files in the folder of the other sites or in my own
created folder but nothing seem to work well.
I can see my page on the net but nothing work with my database.

Where the data is suppose to be, I see that:

Database Results Error
The database connection named 'GCIP_link' is undefined.

This problem can occur if:
* the connection has been removed from the web
* the file 'global.asa' is missing or contains errors
* the root folder does not have Scripting permissions enabled
* the web is not marked as an Application Root

So for the global.asa, it's the same that the one FrontPage created
for me… I did not modify it. If I had no modification to do on it, it
should be ok.
For the scripting permission, the other site has the same sort of
database than me so I think its ok too.
For the others things, I don't understand them so can anybody can help
me with all of this?

If possible, I would like a clear step by step way to add a web page
linked to ms-access database on a server.

I hope I'm clear because English is not my first language :-)

Thank for your time
Jiador
 
I'm not sure where to start here. A web application which connects to a
database is far from a regular HTML web site. You need to understand
something about web applications before you can continue.

FrontPage is capable of creating Active Server Pages (.asp), which are
special scripted pages that dynamically render HTML to the browser by way of
scripting and interaction with COM (Component Object Model) objects on a web
server. ASP is a web server technology, an ISAPI (Internet Server
Application Programming Interface). Therefore, it requires a web server to
run. An ASP page is requested by a browser, and the web server, noting the
..asp extension, hands off the process of responding to the request to the
ASP ISAPI. The ASP ISAPI then interprets the script and runs its commands.

In order to run ASP on a web site, the web site must be configured correctly
in IIS (Internet Information Services). It must be in a directory that is
configured as a web server Application, and has "execute scripts" permission
applied. Typically, when you create an ASP application using FrontPage,
FrontPage will set this up for you. But youmust be working with a web
server-based web for that.

So, to use ASP in your web site, the following conditions must be met:

1. You must have a server-based web open, not just a page.
2. The web must be configured as an Application in IIS.
3. The web must have "execute scripts" permission in IIS.

Note that transferring your files to the server using any other means than
publishing is going to be unsuccessful.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top