[dba-VB] OT - HTML & ASP Help Required

MartyConnelly martyconnelly at shaw.ca
Thu May 6 15:04:07 CDT 2004


Charles Carrol's site is good for info
http://www.learnasp.com/learn/index.asp
I think his ASP mail lists moved here
http://aspadvice.com/login.aspx?ReturnUrl=%2fsignup%2flist.aspx
or
http://www.genericdb.com

One thing that will save you time  switching from home to work and use 
relative path addressing
Use Server.MapPath() whenever referring to files stored locally on the 
server instead of a static path (except in the rare occasions where it's 
necessary).
dbConn = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & 
Server.Mappath("/mywebfolder/") & "\myfolder\edge.mdb;"


paul.hartland at fsmail.net wrote:

>Yeah, realised that as I clicked the send button....It is really amazing how clicking send on an email can activate the brain.
>Thanks for all your help.
>
>
>
>
>
>Message date : May 06 2004, 01:54 PM
>>From : "Mark Rider" 
>To : paul.hartland at fsmail.net, dba-vb at databaseadvisors.com
>Copy to : 
>Subject : RE: [dba-VB] OT - HTML & ASP Help Required
>Not sure of the exact problem, but it appears to be something with accessing
>the IIS at work. It sounds like you are pointing to the files themselves
>rather than the IIS Server. The way to get to the pages should be something
>like :
>http://OfficeIIS_Server/default.htm
>
>If you are simply trying to open the page through File | Open you are not
>actually going thru the IIS Server, and the Download message will appear.
>
>Hope this helps!
>
>Mark Rider
>
>-----Original Message-----
>From: dba-vb-bounces at databaseadvisors.com
>[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of
>paul.hartland at fsmail.net
>Sent: Thursday, May 06, 2004 3:12 AM
>To: dba-vb
>Subject: [dba-VB] OT - HTML & ASP Help Required
>
>To all,
>
>Being a complete novice to HTML & ASP I bought myself a couple of books on
>the subjects and have been playing around with a test logon page for our
>company. I have the HTML code (as below) saved as default.htm on a Windows
>2000 server with IIS installed in the C:\Inetpub\wwwroot directory along
>with the ASP code which is saved as checklogin.asp in the same directory.
>On my Windows 98 machine at home with Personal Web Server (PWS) installed it
>runs fine, however when trying to run it on our server in the office it just
>displays the ASP code when the checklogin.asl page is called, and if you try
>it from a desktop it comes up with a you are about to download
>checklogin.asp page.
>
>Has anyone any ideas whats wrong, or can point me to a list on HTML and ASP
>etc.
>
>default.htm code below:
>
>
>
>
>
>
>
>
>Orridge & Co. Internet
>Reporting System
>
>
>Enter Username &
>Password Below
>
>
>
>
>
>
>Username:
>
>
>
>Password:
>
>
>
>  NAME="Submit" VALUE="Submit">
>
>
>
>
>
>
>
>
>
>
>
>
>checklogin.asp code is below:
>
>
>
>
>
>
>Thanks in advance for any help.
>
>Paul Hartland
>
>--
>
>Whatever you Wanadoo:
>http://www.wanadoo.co.uk/time/
>
>This email has been checked for most known viruses - find out more at:
>http://www.wanadoo.co.uk/help/id/7098.htm
>_______________________________________________
>dba-VB mailing list
>dba-VB at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-vb
>http://www.databaseadvisors.com
>
>
>
>_______________________________________________
>dba-VB mailing list
>dba-VB at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-vb
>http://www.databaseadvisors.com
>
>  
>

-- 
Marty Connelly
Victoria, B.C.
Canada






More information about the dba-VB mailing list