Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Can't get .asp to work
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jbloom459
Starting Member

USA
5 Posts

Posted - 26 September 2002 :  11:42:04  Show Profile  Send jbloom459 an AOL message
I'm yet another newbie. I've downloaded and installed the v3.4.03 on a Windows XP Pro machine. This box will only be used on a LAN, not over the internet. I've installed IIS, and have confirmed it's running. I can display an index page by typing "http://localhost/" or "http://localhost/index.htm". I have put a basic, asp file in the same folder as the index.htm file. This ASP file will only say "Hello World". Here is the text of that file.

<html>
<head>
<title>My First ASP Page</title>
</head>
<body bgcolor="white" text="black">
<%
Dim strMessage
strMessage = "Hello World"
Response.Write (strMessage)
Response.Write ("<br>")
%>
</body>
</html>

This file will not display. I get the "The page cannot be display", error 500 internal error.

I'm using the access database and have uncommented the
"strDBType = "access"
"strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\wwwroot\cdiforum.mdb" '## MS Access 2000"

I've edited this file to account for my local setup.

Can someone help me?

John

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 26 September 2002 :  11:43:58  Show Profile  Visit Kat's Homepage
Check the permissions on your db and directory. Also turn off HTTP friendly Error Messages and it will be easier to pinpoint your error.

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 26 September 2002 :  11:44:55  Show Profile
If you have Norton Antivirus, turn off Norton Script Blocking and restart your computer, then try again.

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

jbloom459
Starting Member

USA
5 Posts

Posted - 26 September 2002 :  14:24:39  Show Profile  Send jbloom459 an AOL message
Thank Kat, I did that and got the following.
"Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance."

The event viewer shows: "The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'Server execution failed"

The permissions here are not like on NT 4.0. While this PC is on a LAN, it's not part of a domain. I don't see where to set the permissions on the file. I have looked in the IIS manger and have set it there to read and write. But being that I have administrative rights on the box, I'd think at I would have sufficient rights.

Doug: Thanks for you response, I don't have any antivirus running yet at all.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 26 September 2002 :  20:39:12  Show Profile  Visit Gremlin's Homepage
Setting file permissions are basically the same as on NT, right click the file or directory and select Sharing and Security

You may first need to disable Simple File Sharing

1) Click Start | My Computer | Tools | Folder Options | View.
2) Scroll to the bottom of the list of advanced settings and un-check Use Simple File Sharing (Recommended).
3) Click OK.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07