473,404 Members | 2,178 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,404 software developers and data experts.

why application with access database doesn't run

Greetings

Recently I've developed a C# application using an Access database. For
this I use the Data.OleDb namespace.

Now I have customer telling me that he can't use the application. The
application does not work because it has no database.
In theory, if the database does not exists, my application tries to
create it, but it seems that the application can not create the
database... and my client does not have MS Access installed on the same
computer the application is installed.
Does the fact the client doesn't have MS Access installed on his
computer have anything to do with the application does not run?

I've the following references to my project (DLL files installed along
with the application)

Interop.ADOX.dll
Interop.Office.dll
Interop.VBIDE.dll
Interop.Word.dll
MSO9.DLL
MSWORD9.OLB
Office.dll
stdole.dll
VBE6EXT.OLB

should't this DLLs be enought for my app to work? What am I missing?

Thanks in advance

Lum
Nov 16 '05 #1
8 2031
"Luminal" <luminal_NOSPAM@hotpop_NOSPAM.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
Recently I've developed a C# application using an Access database. For
this I use the Data.OleDb namespace. Now I have customer telling me that he can't use the application. The
application does not work because it has no database.
In theory, if the database does not exists, my application tries to
create it, but it seems that the application can not create the
database... and my client does not have MS Access installed on the same
computer the application is installed.
How is your app trying to create the database? Does your client have
sufficient permissions to create new files in the folder in question?
Does the fact the client doesn't have MS Access installed on his
computer have anything to do with the application does not run?


No - the .NET Framework has everything you need to interact with th "Access"
database. And, just for the record, what you actually have here is a "Jet"
database - it just so happens that it's the file format used by Access...

As an initial test, why don't you email a blank copy of your database to
your client, get them to place it in the correct folder, and then try to use
your app...
Nov 16 '05 #2


As an initial test, why don't you email a blank copy of your database to
your client, get them to place it in the correct folder, and then try to use
your app...


that does not work either....
Nov 16 '05 #3
As an initial test, why don't you email a blank copy of your database to
your client, get them to place it in the correct folder, and then try to use
your app...

that does not work either. the database exists but it seems that
application cannot read it
Nov 16 '05 #4
"Luminal" <luminal_NOSPAM@hotpop_NOSPAM.com> wrote in message
news:uO*************@TK2MSFTNGP12.phx.gbl...
As an initial test, why don't you email a blank copy of your database to
your client, get them to place it in the correct folder, and then try to use your app...

that does not work either. the database exists but it seems that
application cannot read it


So, what error message does your client get?
Nov 16 '05 #5
Luminal,
Has your customer installed MDAC on the system used? Also you will need
to install the Jet engine, see KB#239114
http://support.microsoft.com/default...b;en-us;239114 for
instructions on obtaining the latest Jet service pack which will install the
runtime for Jet databases. I'd reccomend using MDAC 2.8 but I believe that
MDAC2.6SP2 will work with .NET. .NET can use Jet mdb files without Access
but it needs a version of MDAC and the Jet runtime to work.

Ron Allen
"Luminal" <luminal_NOSPAM@hotpop_NOSPAM.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
Greetings

Recently I've developed a C# application using an Access database. For
this I use the Data.OleDb namespace.

Now I have customer telling me that he can't use the application. The
application does not work because it has no database.
In theory, if the database does not exists, my application tries to create
it, but it seems that the application can not create the database... and
my client does not have MS Access installed on the same computer the
application is installed.
Does the fact the client doesn't have MS Access installed on his computer
have anything to do with the application does not run?

I've the following references to my project (DLL files installed along
with the application)

Interop.ADOX.dll
Interop.Office.dll
Interop.VBIDE.dll
Interop.Word.dll
MSO9.DLL
MSWORD9.OLB
Office.dll
stdole.dll
VBE6EXT.OLB

should't this DLLs be enought for my app to work? What am I missing?

Thanks in advance

Lum

Nov 16 '05 #6
Hi,
Are you getting an exception? if so post it here to know where your problem
is, it maybe with the db engine, that the machine has not registered the
needed components, it maybe that the app is being ran with no permission to
write to the directory where the DB is located.

If you are not getting an exception cause you are catching them, just
create a log file.

Hint:
You should send him a debug version along with the pdb file created, this
will greatly improve the useability of the exception info.

Or maybe you can reproduce his escenario, just ask him his platform and what
user he is using.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Luminal" <luminal_NOSPAM@hotpop_NOSPAM.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
Greetings

Recently I've developed a C# application using an Access database. For
this I use the Data.OleDb namespace.

Now I have customer telling me that he can't use the application. The
application does not work because it has no database.
In theory, if the database does not exists, my application tries to
create it, but it seems that the application can not create the
database... and my client does not have MS Access installed on the same
computer the application is installed.
Does the fact the client doesn't have MS Access installed on his
computer have anything to do with the application does not run?

I've the following references to my project (DLL files installed along
with the application)

Interop.ADOX.dll
Interop.Office.dll
Interop.VBIDE.dll
Interop.Word.dll
MSO9.DLL
MSWORD9.OLB
Office.dll
stdole.dll
VBE6EXT.OLB

should't this DLLs be enought for my app to work? What am I missing?

Thanks in advance

Lum

Nov 16 '05 #7
The "problem" was the lack of a 2.6 superior version of MDAC. Installed
2.8 and now works fine( or so it seems :) ). It was no needed to install
the Jet Engine (belive that JET engine is installed). Now please tell me
(for me to learn ;) ). What is the MDAC and what is JET engine? What are
the purposes? What are they for?

on clients machine it has the 3 jet files JET version
4.0.7328.0 Service Pack 7 (SP7)
4.0.8618.0 Security Bulletin MS04-014
Thanks

Lum
Ron Allen wrote:
Luminal,
Has your customer installed MDAC on the system used? Also you will need
to install the Jet engine, see KB#239114
http://support.microsoft.com/default...b;en-us;239114 for
instructions on obtaining the latest Jet service pack which will install the
runtime for Jet databases. I'd reccomend using MDAC 2.8 but I believe that
MDAC2.6SP2 will work with .NET. .NET can use Jet mdb files without Access
but it needs a version of MDAC and the Jet runtime to work.

Ron Allen
"Luminal" <luminal_NOSPAM@hotpop_NOSPAM.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
Greetings

Recently I've developed a C# application using an Access database. For
this I use the Data.OleDb namespace.

Now I have customer telling me that he can't use the application. The
application does not work because it has no database.
In theory, if the database does not exists, my application tries to create
it, but it seems that the application can not create the database... and
my client does not have MS Access installed on the same computer the
application is installed.
Does the fact the client doesn't have MS Access installed on his computer
have anything to do with the application does not run?

I've the following references to my project (DLL files installed along
with the application)

Interop.ADOX.dll
Interop.Office.dll
Interop.VBIDE.dll
Interop.Word.dll
MSO9.DLL
MSWORD9.OLB
Office.dll
stdole.dll
VBE6EXT.OLB

should't this DLLs be enought for my app to work? What am I missing?

Thanks in advance

Lum


Nov 16 '05 #8
Luminal,
MDAC is the Microsoft Data Access Components, a bridge between the ADO
and ADO.NET (and other) libraries and the various db runtimes.
JET is the database engine used by MS/Access. Used to translate between
db calls and physical access to bytes in the mdb file.
Ron Allen
"Luminal" <luminal_NOSPAM@hotpop_NOSPAM.com> wrote in message
news:Ok**************@TK2MSFTNGP12.phx.gbl...
The "problem" was the lack of a 2.6 superior version of MDAC. Installed
2.8 and now works fine( or so it seems :) ). It was no needed to install
the Jet Engine (belive that JET engine is installed). Now please tell me
(for me to learn ;) ). What is the MDAC and what is JET engine? What are
the purposes? What are they for?

on clients machine it has the 3 jet files JET version
4.0.7328.0 Service Pack 7 (SP7)
4.0.8618.0 Security Bulletin MS04-014
Thanks

Lum
Ron Allen wrote:
Luminal,
Has your customer installed MDAC on the system used? Also you will
need to install the Jet engine, see KB#239114
http://support.microsoft.com/default...b;en-us;239114 for
instructions on obtaining the latest Jet service pack which will install
the runtime for Jet databases. I'd reccomend using MDAC 2.8 but I
believe that MDAC2.6SP2 will work with .NET. .NET can use Jet mdb files
without Access but it needs a version of MDAC and the Jet runtime to
work.

Ron Allen
"Luminal" <luminal_NOSPAM@hotpop_NOSPAM.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
Greetings

Recently I've developed a C# application using an Access database. For
this I use the Data.OleDb namespace.

Now I have customer telling me that he can't use the application. The
application does not work because it has no database.
In theory, if the database does not exists, my application tries to
create it, but it seems that the application can not create the
database... and my client does not have MS Access installed on the same
computer the application is installed.
Does the fact the client doesn't have MS Access installed on his computer
have anything to do with the application does not run?

I've the following references to my project (DLL files installed along
with the application)

Interop.ADOX.dll
Interop.Office.dll
Interop.VBIDE.dll
Interop.Word.dll
MSO9.DLL
MSWORD9.OLB
Office.dll
stdole.dll
VBE6EXT.OLB

should't this DLLs be enought for my app to work? What am I missing?

Thanks in advance

Lum



Nov 16 '05 #9

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

Similar topics

1
by: Zengfu Xu | last post by:
Hi, I need to deploy a VB.Net application which use MS Access as the backend database. The client's PC does not have MS Access installed. So the application can not run at their PC. I was told...
2
by: Barb | last post by:
Hi there, I sincerely hope that someone out there can help. I have two instances of the SQL 2000 Desktop Engine running. One is on my local machine for development and the other is on another...
43
by: Davey | last post by:
I am planning on developing an application which will involve skills that I have very little experience of - therefore I would appreciate comments on my initial design thoughts. Overview on...
5
by: Bob | last post by:
Application.Version provides the version of Access being used eg 10 for Access 2000. I use some code like: Set appAccess = CreateObject("Access.Application.8") in Access 97 to open a new...
6
by: Frank Wilson | last post by:
Tom, It sounds to me like ASP, not ASP.NET is handling the request for WebForm1.aspx. This is most likely an IIS config issue that may have been caused by order of installation or...
9
by: Graham | last post by:
I have been having some fun learning and using the new Controls and methods in .Net 2.0 which will make my life in the future easier and faster. Specifically the new databinding practises and...
3
by: Michael Glaesemann | last post by:
Hello all, Recently I've been thinking about different methods of managing users that log into a PostgreSQL-backed application. The users I'm thinking of are not necessarily DBAs: they're...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
38
by: kavsak | last post by:
Hi. Not sure that this is the right place to ask but here goes. I have an application based on access97 and VB6 which I need to upgrade. It has to handle up to 20 concurrent users on a Win2k...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.