Ask a Question related to ASP Database, Design and Development.
-
Terry Murray #1
Error while trying to connect to Access database within ASP
I am getting an error message while trying to connect to an Access database
within ASP. This error only occurs on my notebook computer and not on my
desktop computer. I am running from within the same environment. That is,
the same versions of Access and IIS. If anyone could help me I would really
appreciate it because I enjoy having the ability to develop from my
notebook.
The error message is:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot
be displayed.
--------------------------------------------------------------------------
Please try the following:
a.. Click the Refresh button, or try again later.
b.. Open the localhost home page, and then look for links to the
information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------------------------------------------------------
Technical Information (for support personnel)
a.. Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to
open registry key 'Temporary (volatile) Jet DSN for process 0x10c Thread
0x4bc DBC 0x109a024 Jet'.
/wcg/games.asp, line 336
b.. Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
c.. Page:
GET /wcg/games.asp
d.. Time:
Wednesday, December 03, 2003, 7:31:10 PM
e.. More information:
Microsoft Support
Thanks
Terry
Terry Murray Guest
-
Connect to a MS Access or MS SQL Server database
How can i connect and perform select, insert, update and delete commands to an Access or SQL Server database without using ODBC DSNs? -
Connect to an Access database using DSN (in PHP)
Hi all I'm wondering connect a Access db as easy as to a MySQL, using Windows|Database|Add connection. But this seems not working. I'm... -
help! i can't connect to my Access database.
I have been trying to set up my Microsoft Access database as a datasource (locally on my computer). I've given it a data source name, and... -
How to use “RDS.Connect” to connect to a MS Access database?
The example I am working from uses the following code which does not work: RDS.Connect = "Provider='sqloledb';Integrated Security='SSPI';Initial ... -
how can i connect with an access database
i need to work with an mdb file which contains a lot of data that might be change a lot of times and must stay an mdb file (so i cant make this file... -
Ray at #2
Re: Error while trying to connect to Access database within ASP
This is most likely caused by your IUSR account not having write/modify
permissions on the %temp% directory. You can avoid this by changing your
connection to an OLEDB connection instead of the old technology ODBC. Get
your OLEDB connection string for Access at [url]www.connectionstrings.com[/url].
Ray at work
"Terry Murray" <tgmurray@rogers.com> wrote in message
news:sBqBb.23192$r%u1.6648@twister01.bloor.is.net. cable.rogers.com...database> I am getting an error message while trying to connect to an Accessreally> within ASP. This error only occurs on my notebook computer and not on my
> desktop computer. I am running from within the same environment. That is,
> the same versions of Access and IIS. If anyone could help me I wouldcannot> appreciate it because I enjoy having the ability to develop from my
> notebook.
>
> The error message is:
>
> The page cannot be displayed
>
> There is a problem with the page you are trying to reach and it> be displayed.
>
>
> --------------------------------------------------------------------------
>
> Please try the following:
>
> a.. Click the Refresh button, or try again later.
> b.. Open the localhost home page, and then look for links to the
> information you want.
> HTTP 500.100 - Internal Server Error - ASP error
> Internet Information Services
>
> --------------------------------------------------------------------------
>
> Technical Information (for support personnel)
>
> a.. Error Type:
> Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
> [Microsoft][ODBC Microsoft Access Driver]General error Unable to
> open registry key 'Temporary (volatile) Jet DSN for process 0x10c Thread
> 0x4bc DBC 0x109a024 Jet'.
> /wcg/games.asp, line 336
> b.. Browser Type:
> Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
> c.. Page:
> GET /wcg/games.asp
> d.. Time:
> Wednesday, December 03, 2003, 7:31:10 PM
> e.. More information:
> Microsoft Support
>
>
>
> Thanks
>
>
>
> Terry
>
>
Ray at Guest
-
Aaron Bertrand - MVP #3
Re: Error while trying to connect to Access database within ASP
[url]http://www.aspfaq.com/2154[/url]
--
Aaron Bertrand
SQL Server MVP
[url]http://www.aspfaq.com/[/url]
"Terry Murray" <tgmurray@rogers.com> wrote in message
news:sBqBb.23192$r%u1.6648@twister01.bloor.is.net. cable.rogers.com...database> I am getting an error message while trying to connect to an Accessreally> within ASP. This error only occurs on my notebook computer and not on my
> desktop computer. I am running from within the same environment. That is,
> the same versions of Access and IIS. If anyone could help me I wouldcannot> appreciate it because I enjoy having the ability to develop from my
> notebook.
>
> The error message is:
>
> The page cannot be displayed
>
> There is a problem with the page you are trying to reach and it> be displayed.
>
>
> --------------------------------------------------------------------------
>
> Please try the following:
>
> a.. Click the Refresh button, or try again later.
> b.. Open the localhost home page, and then look for links to the
> information you want.
> HTTP 500.100 - Internal Server Error - ASP error
> Internet Information Services
>
> --------------------------------------------------------------------------
>
> Technical Information (for support personnel)
>
> a.. Error Type:
> Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
> [Microsoft][ODBC Microsoft Access Driver]General error Unable to
> open registry key 'Temporary (volatile) Jet DSN for process 0x10c Thread
> 0x4bc DBC 0x109a024 Jet'.
> /wcg/games.asp, line 336
> b.. Browser Type:
> Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
> c.. Page:
> GET /wcg/games.asp
> d.. Time:
> Wednesday, December 03, 2003, 7:31:10 PM
> e.. More information:
> Microsoft Support
>
>
>
> Thanks
>
>
>
> Terry
>
>
Aaron Bertrand - MVP Guest
-
Terry Murray #4
Re: Error while trying to connect to Access database within ASP
Thanks for the quick response Ray. I have not tried what you suggested yet
but I thought that I should also let you know that the error goes away
temporarily if I reboot. Eventually, though, it rears its ugly head again.
If I understand you correctly all I have to do is use connection code
similar to this:
<%
cst = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
cst = cst & server.mappath("/<pathtofile.mdb>")
set conn = Server.CreateObject("ADODB.Connection")
conn.open cst
%>
I imagine that I still require an ODBC Dsn. In the past I was choosing to
use a file DSN.
Thanks again
Terry
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eknYHbpvDHA.3416@tk2msftngp13.phx.gbl...is,> This is most likely caused by your IUSR account not having write/modify
> permissions on the %temp% directory. You can avoid this by changing your
> connection to an OLEDB connection instead of the old technology ODBC. Get
> your OLEDB connection string for Access at [url]www.connectionstrings.com[/url].
>
> Ray at work
>
> "Terry Murray" <tgmurray@rogers.com> wrote in message
> news:sBqBb.23192$r%u1.6648@twister01.bloor.is.net. cable.rogers.com...> database> > I am getting an error message while trying to connect to an Access> > within ASP. This error only occurs on my notebook computer and not on my
> > desktop computer. I am running from within the same environment. That> really> > the same versions of Access and IIS. If anyone could help me I would> cannot> > appreciate it because I enjoy having the ability to develop from my
> > notebook.
> >
> > The error message is:
> >
> > The page cannot be displayed
> >
> > There is a problem with the page you are trying to reach and it>> > be displayed.
> >
> >
> -------------------------------------------------------------------------->> >
> > Please try the following:
> >
> > a.. Click the Refresh button, or try again later.
> > b.. Open the localhost home page, and then look for links to the
> > information you want.
> > HTTP 500.100 - Internal Server Error - ASP error
> > Internet Information Services
> >
> -------------------------------------------------------------------------->> >
> > Technical Information (for support personnel)
> >
> > a.. Error Type:
> > Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
> > [Microsoft][ODBC Microsoft Access Driver]General error Unable to
> > open registry key 'Temporary (volatile) Jet DSN for process 0x10c Thread
> > 0x4bc DBC 0x109a024 Jet'.
> > /wcg/games.asp, line 336
> > b.. Browser Type:
> > Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
> > c.. Page:
> > GET /wcg/games.asp
> > d.. Time:
> > Wednesday, December 03, 2003, 7:31:10 PM
> > e.. More information:
> > Microsoft Support
> >
> >
> >
> > Thanks
> >
> >
> >
> > Terry
> >
> >
>
Terry Murray Guest
-
Aaron Bertrand - MVP #5
Re: Error while trying to connect to Access database within ASP
> <%
No, the whole point of using the connection string above is to avoid ODBC> cst = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
> cst = cst & server.mappath("/<pathtofile.mdb>")
> set conn = Server.CreateObject("ADODB.Connection")
> conn.open cst
> %>
>
> I imagine that I still require an ODBC Dsn. In the past I was choosing to
> use a file DSN.
and DSNs altogether.
--
Aaron Bertrand
SQL Server MVP
[url]http://www.aspfaq.com/[/url]
Aaron Bertrand - MVP Guest



Reply With Quote

