Re: Openrowset Jet OLEDB

From: Ulf Brügelmann (u.bruegelmann_at_omnicom.de)
Date: 04/30/03


Date: Wed, 30 Apr 2003 22:40:22 +0200


Ok, sorry if the question was unclear.

Front end app means the app we wrote and wich the users use to modify the
data in the sql server.
The app in question is sort of a provisioning system.

The point is, that users need to import provision data from different
external sources, thus neither database name nor table name are constant.

The way it's working up to now is that the user specifies a mdb via a
fileOpenDialog, the database is opened localy (via DAO) and the choosen
table is then imported sequentialy on a record by record basis.

As the amount of data is growing (now exceeding 100000 records per import)
this is no longer acceptable.
Therefor we tried to speed up the process by importing the data via
OpenDataSource (reducing the time needed from several hours to 2 minutes).
This works fine in our development enviroment where the sql service is
running on the machines system account, but fails in the production
enviroment where the server is running on a domain user account.

Ulf

"Mary Chipman" <mchip@nomail.please> schrieb im Newsbeitrag
news:i290bvkh0n8me1kvsvi755lc2jlqeiole5@4ax.com...
> I'm confused -- are you trying to import all of the tables into SQL
> Server as a one-time operation, or just access the data in the Jet
> database? And what do you mean by "speedily import an mdb into the
> server via the front-end app"? What front-end app?
>
> -- Mary
> Microsoft Access Developer's Guide to SQL Server
> http://www.amazon.com/exec/obidos/ASIN/0672319446
>
> On Wed, 30 Apr 2003 08:03:22 -0700, "Ulf" <u.bruegelmann@omnicom.de>
> wrote:
>
> >Hi there,
> >
> >we're having trouble using OpenDataSource with Jet OLEDB
> >to access a mdb.
> >
> >The layout is as follows:
> >We're running SQL Server 2000 SP3 on a Windows 2000 SP3
> >machine.
> >The SQL Server service runs on a domain admin account (not
> >a good idea, I know). Users are loging in via Windows
> >Authentication.
> >
> >The task was to import a mdb into Sql Server. We tried
> >with OpenDataSource but failed with an errormessage
> >complaining about access rights to the mdb.
> >
> >After some inquiring we found that sp_addlinkserver works
> >but in the setup described above it only does if the mdb
> >is on the same machine as the Sql Server and of course the
> >user must have system administration rights in the sql
> >server to be allowed sp_addlinkserver....
> >
> >As both conditions give us major headaches:
> >Wich user context is actually used when issuing an
> >opendatasource from within the frontend app?
> >
> >Is there any other way to speedily import an mdb into the
> >server via the frontend app?
> >
> >Thanks in advance
> >
> >Ulf
>



Relevant Pages

  • Re: Using an MS Access Project with an OLE DB Data Source
    ... As far as SQL ... they can create their own queries and reports. ... you can link to both Oracle and SQL Server databases in the same mdb ...
    (microsoft.public.access.externaldata)
  • Re: ODBC Timeout problems but very hard to pin down
    ... APP 1: Access 2000 database ... I ran SQL Profiler to capture the ... validated by SQL Server. ... As it happens, the default display contains ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SQL 2000 NT AUTHORITYSYSTEM Permission Problem
    ... Not associated with a trusted SQL Server connection. ... However, if you deal with the Domain controller, most of the controls there ... > Forms app and a VB6 app. ...
    (microsoft.public.sqlserver.security)
  • SV: Access mdb file
    ... MDB is not SQL Server, it's Microsoft Access. ... >> I have a small app that does some reporting from legacy dbf files. ...
    (microsoft.public.fox.programmer.exchange)
  • data access strategy
    ... I've developed an app for our company using VB.NET and SQL server express running on our SBS server 2003 Standard ... What I'd like is some advice about how I can allow remote clients to access a SQL database that lives inside our LAN. ... I believe I have opened port 8082 on my firewall and pointing it to my SQL server machine. ...
    (microsoft.public.sqlserver.connect)