I've written an MS Access driven ASP and tested it in my IIS.
It works well!! But it doesn't in my free web host server.
I believe I uploaded all the files (i.e. asp files, images, INCLUDING MY DATABASE) properly.
The brower gives me "HTTP 500 - Internal server error"
Can you help me figure out the problem?
6 1401
I've written an MS Access driven ASP and tested it in my IIS.
It works well!! But it doesn't in my free web host server.
I believe I uploaded all the files (i.e. asp files, images, INCLUDING MY DATABASE) properly.
The brower gives me "HTTP 500 - Internal server error"
Can you help me figure out the problem?
Aside from HTTP 500 error, my web host server givers me the following errors: Microsoft JET Database Engine error '80004005'
Could not find file 'g:\b\Grading System.mdb'.
/estillore/teachersgradelist.asp, line 118
HELP PLEASE!!!
You are pointing to a database on your local system (the G:\ drive). Obviously once you have uploaded it to the internet it has no idea where your G:\ drive is. It'll be looking for a G:\ drive on the server...
Replace your connection string with a relative path.
You are pointing to a database on your local system (the G:\ drive). Obviously once you have uploaded it to the internet it has no idea where your G:\ drive is. It'll be looking for a G:\ drive on the server...
Replace your connection string with a relative path.
Thanks for the reply but I've already done that. It still doesn't work!!! The browser still gave me the same errors. estillore
Post the code you are using. There's no way people can see what you are doing wrong otherwise.
Oh!!! Sorry...Anyway, here's the code (where I think an error occurs) for binding my scripts and my database.:
<%
xDb_Conn_Str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Request.ServerVariables("APPL_PHYSICAL_PATH") & "Grading System.mdb" & ";Jet OLEDB: Database Password=admin;"
%>
N.B. My asp files and my database are on the same directory.
Thanks :-) estillore
<%
xDb_Conn_Str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Request.ServerVariables("APPL_PHYSICAL_PATH") & "Grading System.mdb" & ";Jet OLEDB: Database Password=admin;"
%>
This may be very naive of me, but I can never remember when a space messes up file systems. I would try renaming the file "gradingSystem.mdb" just to be sure. It has always seemed to be system dependent.
Hee hee. Now everyone sees how much of a novice I am.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: n00m |
last post by:
import socket, thread
host, port = '192.168.0.3', 1434
s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s2.connect((host, 1433))...
|
by: baustin75 |
last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie
only when debugging in php designer 2005
--------------------------------------------------------------------------------
...
|
by: Deasun |
last post by:
Evening,
The following works on my dev PC but not on our hosts server it seems;
<OBJECT DATA='http://www.hostip.info/map/frame.html'
TYPE='text/html' BORDER=0
WIDTH=610 HEIGHT=330 HSPACE=0...
|
by: Grigs |
last post by:
Hello,
I have a project that contains a WebService that works great when connecting
to it on my Localhost. Once we post the files to the test web server, all of
the pages that do not touch the...
|
by: Tahir |
last post by:
Hi,
i am delevoping an ASP.NET website which worked well on my old web host and
now working on localhost but now it doesnt works on my new host. i have new
registered and ftp the files that...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |