473,387 Members | 1,420 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,387 software developers and data experts.

need permission to view its data

1
i have MDB file in a sepearte machine, i am accesing that MDB file from my machine through java program it gives no problem

Connection con = DriverManager.getConnection( "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=\\\\***.***.***.***/c$/Program Files/DownloadEngine/Database/SmartAMS.mdb;PWD=datt");
but when i host my program in another machine..it doesnot work from there it gives yu need permission to view its data....
what can be the problem..please help...
Jul 28 '08 #1
1 1983
Stewart Ross
2,545 Expert Mod 2GB
Hi. I think the error message is telling you directly what the problem is; you are trying to access the hard drive of a networked PC for which you don't have access rights at the alternative PC you are using. Although you must have set up the PC concerned to have a shared drive, you clearly do not have full access to that shared drive on the alternative PC. You could verify this by trying to connect to the PC hard drive directly from Windows.

Why not place the shared DB on a network server or other shared area (either a physical drive, or a mapped logical drive)? You could then use a standard URL that does not involve accessing a hard drive using the C$ peer-access notation, and be able to grant and control access rights to user groups. You would have much more flexible control than using direct peer access to the hard drive of another PC.

-Stewart
Jul 28 '08 #2

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

Similar topics

10
by: Florian G. Pflug | last post by:
Hi I installed a postgres-application (which was developed on debian woody) on red hat 9 today, using the postgres 7.3 rpms from redhad. One of my the triggers uses the pg_settings table (more...
7
by: Gabe Covert | last post by:
I'm attempting to implement a 3rd party COM library in a C# application, and have run up against the following problem in my development. I am trying to use a particular method call of an object,...
0
by: Tom Wild | last post by:
Hi I am trying to connect to an Access database from a WebPage in VB.Net but when I try to open the connection I get the following error: The Microsoft Jet database engine cannot open the file...
1
by: http://www.visual-basic-data-mining.net/forum | last post by:
Hi, I am new here. I am facing a problem that I can't connect to MS Access with my Web application written in VB.Net. It gives me this kind of error: The Microsoft Jet database engine cannot...
0
by: Chris | last post by:
Ok I have made an .net active x control if you want to view it http://mapguide.alignex.com/test/axtest2.html Site needs to be fully trusted.. So i will understand if you dont want to view it. ...
11
by: tranzparency | last post by:
Unfortunately my math is really rusty. We have a permission system we are building. The permission go in value from low to high. Personal being what you are allowed to do with your data, Group...
1
by: Jaikrishnan | last post by:
Hi Friends, I recieved a mail contains .mdb file.When i downloaded and try to open that file i got the following error. The current user account doesn't have permission to convert or enable...
2
by: sklaun | last post by:
The thread http://forums.asp.net/thread/1693719.aspx One of the posters above in that thread posted but is his solution the recommended approach? (I like his approach) And here's the original...
2
by: beary | last post by:
Hello everyone, I posted this in unix/linux but it received no replies, so I assume it was the wrong forum. I'm trying here. I'm in way over my head with file permissions. The directory and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
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...
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
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...
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...

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.