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. 7 1530
Where you running your .exe from a network share? Code Access Security
(CAS) can trip you up if so.
Greg
"Joshua Sprague" <Jo***********@ discussions.mic rosoft.com> wrote in message
news:19******** *************** ***********@mic rosoft.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.
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.mic rosoft.com> wrote in message news:19******** *************** ***********@mic rosoft.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.
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.mic rosoft.com> wrote in message
news:C6******** *************** ***********@mic rosoft.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.mic rosoft.com> wrote in message news:19******** *************** ***********@mic rosoft.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.
Why is there still MDAC?
That should all be part of System.Data right ?
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.mic rosoft.com> wrote in message news:C6******** *************** ***********@mic rosoft.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.mic rosoft.com> wrote in message news:19******** *************** ***********@mic rosoft.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.
--
Being born is like being kidnapped. And then sold into slavery.
a.warhol http://msdn2.microsoft.com/library/xxzfbaw2.aspx
Getting the 'The .NET Data SQL Provider (System.Data.Sq lClient) requires
Microsoft Data Access Components (MDAC) version 2.6 or later' Error
The Microsoft .NET Framework SDK and the .NET Framework redistributable
package do not include the MDAC installation. All .NET applications that use
data-access functionality require MDAC 2.6 or later (MDAC 2.7 is
recommended). The latest version of MDAC is available as a download from the
Microsoft Web site ( http://www.microsoft.com).
Because Visual Studio .NET installs MDAC 2.7 by default, this error is most
likely to occur when deploying to a machine that does not have Visual Studio
..NET installed.
Not sure how System.Data is implemented under the covers.
Greg
"Brumarhind i Chicopella" <bc@__acraz_.de apusi> wrote in message
news:mw******** ********@newsre ad3.news.pas.ea rthlink.net... Why is there still MDAC?
That should all be part of System.Data right ?
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.mic rosoft.com> wrote in message news:C6******** *************** ***********@mic rosoft.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.mic rosoft.com> wrote in message news:19******** *************** ***********@mic rosoft.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.
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.Ole Db 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.Ole Db, 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******@comcas t.net
"Joshua Sprague" <Jo***********@ discussions.mic rosoft.com> wrote in message
news:04******** *************** ***********@mic rosoft.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.mic rosoft.com> wrote in message news:C6******** *************** ***********@mic rosoft.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.mic rosoft.com> wrote in >> message >> news:19******** *************** ***********@mic rosoft.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. >> >> >> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Marek |
last post by:
Hi there,
my WinForm application has to be installed in "no-touch-deployment" mode, so
users can run it from the web. I need to read application's .config file but
it does not work in no-touch-deployment.
Could anyone give me directions to documentation piece (or article) that
explains how to implement app .config file reading in no-touch-deployment ?
(just to clarif the issue, my app is not ASP.NET)
I'd appreciate any help, thank you....
|
by: Mart |
last post by:
Hi,
I have just written (my first) VB.net app using MS Visual Basic 2005
Express Edition Beta. It is fairly simple, it reads some configuration
data from an XML file then opens a new window containing a WebBrowser
object.
This all works fine and I'm happy with my app so I want to 'publish' to
a setup file so that others can install it, but when I publish it a get
the following errors:
|
by: Uma |
last post by:
Dear all,
I have a problem while running a smart client application which was
installed through CD-ROM. After installing the smart client setup the
application is running properly. When running the same application second
time, it is not working.
First time the setup willbe installed through CD-ROM. If any version
increase then the new version will be updated from an URL given in Updates
dialog box while taking setup. I took setup...
|
by: Josef Brunner |
last post by:
Hi,
I published my application (VS 2005) and am now trying to install it when I
get this error message. It worked before...even on a different machine.
Here is the detailed description:
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
|
by: Ryan |
last post by:
I've created and deployed a VB.Net 2005 Application. I have it set as a
FullTrust (ClickOnce) application. The install point is on a network
server. I did not run into this issue at all while testing, but now that
the application is deployed about 1 in every 10 computers get this error
when they try to run the app. Any ideas? Everything I find on the web
talks about ASP.NET. This is not a webpage, it's a desktop application.
...
| |
by: Michael Kalika |
last post by:
Hi,
We have developed a VSTO 2005 Excel application and we would like to
leverage ClickOnce deployment mechanism for distribution of this
application.
How can we do that? I was digging in MSDN for VSTO & ClickOnce documentation
and did not find anything. I've noticed that there is an option to
publish the project, but when I do that and then run the application from
Web it throws us security errors like:
|
by: Tifer |
last post by:
Hello,
I am building my first .Net Application. The first couple of Publish
and Installs I did went fine. But after a couple of builds, I get a
modal dialogue box error every time upon trying to install using the
setup.exe. Title is "Cannot Start Application" and it says:
====================
Cannot download the application. The application is missing required
files. Contact application vendor for assistance.
|
by: coopdog |
last post by:
This is a new issue as of an install to sp1 on vb express 2005. When I publish the application to my drive then I try to install it is wants to be installed from the same location as it was originally install.
Any help would be great it is a real pain having to uninstall then install this update.
Also all users are admins.
Thanks
Mike
|
by: Andrus |
last post by:
I created .NET 3.5 SP1 Winforms application setup by pressing publish button
in VCSE 2008 SP1
Running created setup.exe in same computer causes error below "Reference in
the manifest does not match the identity of the downloaded
assembly RdlDesigner.exe."
and application is not installed.
RDLDesigner.exe file is application created using VCSE 2008
How to fix ?
|
by: Bhrionn |
last post by:
Hello World,
I am working on implementing a build for my companies application. The scenario implemeted is producing the error:
‘Class does not support automation or does not support expected interface' when I try to run the RegFree COM interop application from a clients machine.
The application works fine for all development machines when run locally or from the network.
The application is run from the network so - the component is not...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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,...
|
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |