473,394 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

aspsmartupload error

I am using Windows XP and have registered the aspsmartupload dll and moved it
into the system32 directory. I get the following error
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80070005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open
registry key 'Temporary (volatile) Jet DSN for process 0x918 Thread 0xa90 DBC
0x96768d4 Jet'.

The error occurs on the line where I set my variable called mySmartUpload
Here is my code

<%Set Cnn = Server.CreateObject("ADODB.Connection")
Cnn.Open "Driver={Microsoft Access Driver (*.mdb)};Dbq= "&
Server.MapPath(".") & "\jobpostingsdb.mdb; uid=admin; pwd=hi12tech"
Dim mySmartUpload
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
mySmartUpload.Upload
sql = "insert into jobpostings (testing) values
('"&mySmartUpload.Form("testing")&"')"
cnn.execute(sql)

I usually get these types of errors when trying to access a database. My
understanding is aspsmartupload has nothing to do with a database. And the
database I'm using in this program is making a successful connection (at
least there was no error on the line of code that opened the connection).

Any suggestions?

Thanks!!
Apr 1 '08 #1
4 5246
Todd wrote on Tue, 1 Apr 2008 07:36:04 -0700:
I am using Windows XP and have registered the aspsmartupload dll and
moved it into the system32 directory. I get the following error
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80070005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open
registry key 'Temporary (volatile) Jet DSN for process 0x918 Thread
0xa90 DBC 0x96768d4 Jet'.
The error occurs on the line where I set my variable called
mySmartUpload
Here is my code
<%Set Cnn = Server.CreateObject("ADODB.Connection")
Cnn.Open "Driver={Microsoft Access Driver (*.mdb)};Dbq= "&
Server.MapPath(".") & "\jobpostingsdb.mdb; uid=admin; pwd=hi12tech"
Dim mySmartUpload
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
mySmartUpload.Upload sql = "insert into jobpostings (testing) values
('"&mySmartUpload.Form("testing")&"')"
cnn.execute(sql)
I usually get these types of errors when trying to access a database.
My understanding is aspsmartupload has nothing to do with a database.
And the database I'm using in this program is making a successful
connection (at least there was no error on the line of code that
opened the connection).
Any suggestions?
Thanks!!

That certainly looks like a Jet database error. Does the anonymous account
have permissions to write to the temp folder?

If you remove the aspsmartupload lines and just run a simple select, do you
still get the error?

--
Dan
Apr 1 '08 #2

"Todd" <To**@discussions.microsoft.comwrote in message
news:90**********************************@microsof t.com...
>I am using Windows XP and have registered the aspsmartupload dll and moved
it
into the system32 directory. I get the following error
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80070005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open
registry key 'Temporary (volatile) Jet DSN for process 0x918 Thread 0xa90
DBC
0x96768d4 Jet'.

The error occurs on the line where I set my variable called mySmartUpload
Here is my code

<%Set Cnn = Server.CreateObject("ADODB.Connection")
Cnn.Open "Driver={Microsoft Access Driver (*.mdb)};Dbq= "&
Server.MapPath(".") & "\jobpostingsdb.mdb; uid=admin; pwd=hi12tech"
Dim mySmartUpload
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
mySmartUpload.Upload
sql = "insert into jobpostings (testing) values
('"&mySmartUpload.Form("testing")&"')"
cnn.execute(sql)

I usually get these types of errors when trying to access a database. My
understanding is aspsmartupload has nothing to do with a database. And the
database I'm using in this program is making a successful connection (at
least there was no error on the line of code that opened the connection).

Any suggestions?

Thanks!!
I would stop using ODBC, and use the Jet OLEDB provider instead.
http://access.databases.aspfaq.com/w...-driverid.html

--
Mike Brind - MVP ASP/ASP.NET
Apr 1 '08 #3
Set MyConn = Server.CreateObject("ADODB.Connection")
MyConn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath
("/yourdb/folder/whatever_name.mdb") & ";Persist Security Info=False"

And why use aspsmartupload dll like the ASP Old School Style, there are many
TOTAL ASP non componant based uploads use them. If not write to me will give
them. ia********@yahoo.com

Happy coding.

Bye.
Todd wrote:
>I am using Windows XP and have registered the aspsmartupload dll and moved it
into the system32 directory. I get the following error

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80070005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open
registry key 'Temporary (volatile) Jet DSN for process 0x918 Thread 0xa90 DBC
0x96768d4 Jet'.

The error occurs on the line where I set my variable called mySmartUpload

Here is my code

<%Set Cnn = Server.CreateObject("ADODB.Connection")
Cnn.Open "Driver={Microsoft Access Driver (*.mdb)};Dbq= "&
Server.MapPath(".") & "\jobpostingsdb.mdb; uid=admin; pwd=hi12tech"
Dim mySmartUpload
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
mySmartUpload.Upload
sql = "insert into jobpostings (testing) values
('"&mySmartUpload.Form("testing")&"')"
cnn.execute(sql)

I usually get these types of errors when trying to access a database. My
understanding is aspsmartupload has nothing to do with a database. And the
database I'm using in this program is making a successful connection (at
least there was no error on the line of code that opened the connection).

Any suggestions?

Thanks!!
Apr 2 '08 #4
iahamed wrote:
Set MyConn = Server.CreateObject("ADODB.Connection")
MyConn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Server.MapPath ("/yourdb/folder/whatever_name.mdb") & ";Persist
Security Info=False"

And why use aspsmartupload dll like the ASP Old School Style, there
are many TOTAL ASP non componant based uploads use them. If not write
to me will give them. ia********@yahoo.com
Why not share them here?
You are aware that non-component-based solutions typically have limited
performance, aren't you? If large files are being transferred and it's a
busy server, users will thank the developer for using a component.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Apr 2 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: cam | last post by:
Hi: How can I rename the file being uploaded using ASPSmartUpload? I can set the other parameters ok, just looking for the syntax to rename the file. E.G. User uploading GIF file. I'd like...
2
by: Jake | last post by:
Hi group, I am trying to build a page that allows uploading My ISP only supports Smartupload I am testing on a small hubbed local network, with PWS Any help is appreciated....
0
by: Jake | last post by:
Hi All, > Hi experts, > > I am trying to build a page that allows file uploading from a browser > My ISP where the page will be located, only supports Smartupload > I am testing on a small...
2
by: SayMyName | last post by:
Due to my browser being danishm the error message will not mean much t most of you. It is an "Unspecified problem" with "Provide (0x80004005)" POST Data: error '80020009' The error only arrives...
2
by: SayMyName | last post by:
Due to my browser being danishm the error message will not mean much to most of you. It is an "Unspecified problem" with "Provider (0x80004005)" POST Data: error ''80020009'' The error only...
0
by: AdrianG | last post by:
Hi there, Does ASPSmartUpload work with the MacOSX Safari browser? One of my clients uses the Safari browser and the upload never works. The scripts work fine with IE and FireFox. Thanks
4
by: david | last post by:
I am getting the following error: Error Type: ADODB.Field (0x800A0BB9) Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. When this code...
1
by: pook | last post by:
Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string <% set up = Server.CreateObject("aspsmartupload.smartupload") up.upload '---------temp data %>
2
by: MitchellEr | last post by:
Hi, I've seen various forum posts that mention the ability to set ASPSmaryUpload's Codepage property in order to handle UTF-8 and other character encodings. Example:...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.