473,800 Members | 2,641 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't connect Access Databse In My DomainServer

1 New Member
hai all,

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.

/nsc/tracking/signup.asp, line 17

the code is:
<%
set con=server.Crea teObject("ADODB .connection")
set rs=server.Creat eObject("ADODB. recordset")
con.open "DRIVER={Micros oft Access Driver (*.mdb)};DBQ="& Server.MapPath( "shipmentLogin. mdb")
'con.open "DSN=LoginD SN"
response.write server.mappath( "shipmentLogin. mdb")
16------------sql="insert into tblLogin values('" & Request.Form("U serID") & "', '" & Request.Form("C lient") & "','" & Request.Form ("Name") & "','" & Request.Form("P assword")& "')"
17---------rs.Open sql,con,1,3

18-------Response.Write "<B> <font color=blue size=4>Successf ully Created</B></font> "

'rs.Close
set rs=nothing
con.Close
set con=nothing
%>


this code worked in my local system(http;//localhost/). that fine..i can uplode this into my website ....whenever i entered data that error shows..

i gave all permissions to that database file...

pls help me........
Nov 30 '06 #1
1 1644
sashi
1,754 Recognized Expert Top Contributor
hai all,

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.

/nsc/tracking/signup.asp, line 17

the code is:
<%
set con=server.Crea teObject("ADODB .connection")
set rs=server.Creat eObject("ADODB. recordset")
con.open "DRIVER={Micros oft Access Driver (*.mdb)};DBQ="& Server.MapPath( "shipmentLogin. mdb")
'con.open "DSN=LoginD SN"
response.write server.mappath( "shipmentLogin. mdb")
16------------sql="insert into tblLogin values('" & Request.Form("U serID") & "', '" & Request.Form("C lient") & "','" & Request.Form ("Name") & "','" & Request.Form("P assword")& "')"
17---------rs.Open sql,con,1,3

18-------Response.Write "<B> <font color=blue size=4>Successf ully Created</B></font> "

'rs.Close
set rs=nothing
con.Close
set con=nothing
%>


this code worked in my local system(http;//localhost/). that fine..i can uplode this into my website ....whenever i entered data that error shows..

i gave all permissions to that database file...

pls help me........
Hi there,

Are you sure r/w permission is given to the folder as well to the contents of the folder? Please check out these details. Good luck & Take care.
Nov 30 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1549
by: bk | last post by:
This is driving me crazy. I get "SQL Server is unavailable or does not exist" error while developing asp.net application in vs2003's IDE development mode but when I install the application on the server the error disappears and everthing seems to be ok. The error does not appear when I connect to the same databse on the local sql2000 server. I use the same connection string for local WindowsXP+sql2000 server and the remote Windows 2003...
2
3915
by: PedroDC | last post by:
I'm almost drowned after so much surfing int the Internet to find help on something: -> In order to stop using Pivot Tables in Excel, I'm trying to implement accessing an ACCESS Database with VBA. The problem is that I cannot find out how to creat a Macro that accesses the database. I've seen some general codes, but they all refer to VB and when I paste the code inside the Macro I get errors... Is it possible to get inside an ACCESS...
3
1824
by: dhillarun | last post by:
Hi All, I am not able to connect to PostgreSql databse,while I am using "pg_connect()" function . My usage is as follows, pg_connect("host=localhost port=5432 dbname=mydb "); but If I am deleting the "host" and adding the "user" it is getting connected. But some tables I am not able to access. pg_connect(" port=5432 dbname=mydb user=root");
1
3735
by: PhiriM | last post by:
I am a programmer trying to use access database and forms to build an application. My problem is how to backup and restore the databse then how i may come up with my own custom menu. If anyone may explain the above to me, i will greatly appreciate. Masiye Phiri Ndola Zambia Central Africa
0
9551
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10504
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10274
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10251
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.