Well, all that matters is what type of database you're using, not that you
are specifically using a database API like Jet or ODBC.
There are .Net API calls that depend on native libraries. Some parts of the
API are just wrappers around them. So even if you are just using the .Net
API objects and calls, you will need the libraries those parts of the API
use. For example, GDI+ in fact uses a native library, though this
particular one is installed with the .Net redistributable.
If you are using an Access database in your application, you'll need MDAC
all the same. If you aren't using System.Data.OleDb or some other data
access technology under System.Data, then you probably won't need MDAC.
Unfortunately, just from taking a cursory look at the .Net documentation, it
doesn't seem to say what underlying library it uses for System.Drawing or
System.Data.OleDb, and the like.
Hope this helps a little. If you could give the text of the actual errors
some of us might be able to help you more. Are you developing a Windows
Forms app.?
---Mark
mm******@comcast.net
"Joshua Sprague" <Jo***********@discussions.microsoft.com> wrote in message
news:04**********************************@microsof t.com...
ok ill try a global error handler to see what is causing the errors, but i
also want to know what things to include when i distribute my application.
For Example, i want to know, what libraries to ship with it, what
redistributable pacckages to ship with it, what system components are
needed
to run it, etc.. is there a guide on finding requirements for deployment
of
.NET applications.
Theoretically all i need is the .NET framework installed and the libraries
that are generated in my bin directory right? but whenn i copy the bin
directory to another pc many things dont work, like registry which is a
major
in my application. i dont think i am using MDAC cause i dont even know
exactly what it is. I dont use Jet, SQL, ODBC or things in that nature.
"Greg Burns" wrote:
If your program is using data access you may have a problem with
computers
that are missing MDAC...
http://www.microsoft.com/downloads/d...DisplayLang=en
You may want to create a global error handler, that way you can see what
is
causing the error.
http://msdn.microsoft.com/msdnmag/is...T/default.aspx
Greg
"Joshua Sprague" <Jo***********@discussions.microsoft.com> wrote in
message
news:C6**********************************@microsof t.com... > No, i wasn't running from a net share. I took the entire bin directory
> and
> transfered that to the new P.C. and ran it from that computer with no
> network
> involved. Although the networking part of my application worked, I was
> not
> running from a network share.
>
> "Greg Burns" wrote:
>
>> Where you running your .exe from a network share? Code Access
>> Security
>> (CAS) can trip you up if so.
>>
>> Greg
>>
>> "Joshua Sprague" <Jo***********@discussions.microsoft.com> wrote in
>> message
>> news:19**********************************@microsof t.com...
>> > Recently i tested an application i was developing on another P.C.
>> > with
>> > the
>> > same harware. It was a new P.C. though and did not have the .NET
>> > framework
>> > installed on it, so i first installed Dotnetfx.exe. When i ran my
>> > application
>> > i got a few errors about libraries and J-I-T Debugging. Also,
>> > registry
>> > functions and such did not work.
>> >
>> > I searched the MSDNKB and google :) and still couldn't find
>> > anything
>> > that
>> > explained how i would go about finding everything that i needed to
>> > distribute
>> > my applications.
>> >
>> > I had all the libraries that my app needed in the same directory as
>> > it
>> > was
>> > and had the .NET Redistributable Framework Installed. What else do i
>> > need?
>> > - Joshua Sprague
>> > --
>> > There's a crack in everything... That's how the light gets in.
>>
>>
>>