Closed Thread Icon

Topic awaiting preservation: global.asa problem??? (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=12933" title="Pages that link to Topic awaiting preservation: global.asa problem??? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: global.asa problem??? <span class="small">(Page 1 of 1)</span>\

 
Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 10-14-2003 23:26

Hi, guys. How are you?
I am being in a problem for an hour or two.
My asp and asa file used to run perfectlly. I got it through my work experience.
Now I am back to tech. I am trying to see those files.
Both situation, I used and using Windows 2000 server.

When I tried to see those file, error message said:

code:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/FormVal/Main_Form.asp, line 6



Then I thought:

Ah~, I have to change *path* in the my asa file, of course.

I changed

code:
Application("connStringOrders") = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Administrator\My Documents\Hiroki\FormVal\orders.mdb;Persist Security Info=False;;Jet OLEDB :Database Password="



to:

code:
Application("connStringOrders") = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\wwwroot\FormVal\orders.mdb;Persist Security Info=False;;Jet OLEDB :Database Password="



My all files including database are sitting in c:\Inetpub\wwwroot\FormVal.

Problem is that I still cannot see anything getting same error message.

And I chekced my asp file line 6 again.
It is like:

code:
<%
Dim msg,conn

Set conn = server.createObject("ADODB.connection")
conn.open Application("connStringOrders")



Hmm......Please help. Do you see why it doesn't work????



Hiroki Kozai

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-15-2003 08:47

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 10-15-2003 10:52

Thanks, mate.
I changed it.
I mean I made database setting and connection directly in asp file. It worked fine.
Thanks a lot.

Hiroki Kozai

dk01
Bipolar (III) Inmate

From: dk's house of love
Insane since: Oct 2001

posted posted 10-15-2003 21:34

You need to go into IIS and make sure that the folder you have the global.asa file is defined as an "Application". This doesnt happen by default.
-dk

- can't decide? have another drink.

« BackwardsOnwards »

Show Forum Drop Down Menu