473,473 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# and ADO NET - doesn't work.

Hi,

What could be a reason? I wrote a Windows Application on C#. It works with a
remote database through the Internet. It works excellent on my developer's
machine. When the application is moved to another machine without VS2003
installed it starts ok, but can't download a DataSet from the remote
database and I don't see any data. No any errors are shown, nothing that
could be helpful.

It looks like that the VS installer doesn't add some required libraries and
it can be a possible reason of this fault. But why? I created a new "Setup
and Deployment Project", started a wizard, created everything that was need.
The MSI/Setup.ini+exe were created. But finally after this installation the
application doesn't work with the remote database.

Dmitri
Nov 15 '05 #1
4 1716
what version of MDAC is installed on your production server?

--- Nick

"Dmitri Shvetsov" <ds*******@cox.net> wrote in message
news:CF6Nb.1554$AA6.1495@fed1read03...
Hi,

What could be a reason? I wrote a Windows Application on C#. It works with a remote database through the Internet. It works excellent on my developer's
machine. When the application is moved to another machine without VS2003
installed it starts ok, but can't download a DataSet from the remote
database and I don't see any data. No any errors are shown, nothing that
could be helpful.

It looks like that the VS installer doesn't add some required libraries and it can be a possible reason of this fault. But why? I created a new "Setup
and Deployment Project", started a wizard, created everything that was need. The MSI/Setup.ini+exe were created. But finally after this installation the application doesn't work with the remote database.

Dmitri

Nov 15 '05 #2
Hi,

Microsoft Data Access Components (MDAC) SDK (Ver 2.7)(3790.0).

Should I delete it and install again from the
http://windowsupdate.microsoft.com?

Dmitri

"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:WG6Nb.48103$5V2.65661@attbi_s53...
what version of MDAC is installed on your production server?

--- Nick

"Dmitri Shvetsov" <ds*******@cox.net> wrote in message
news:CF6Nb.1554$AA6.1495@fed1read03...
Hi,

What could be a reason? I wrote a Windows Application on C#. It works with
a
remote database through the Internet. It works excellent on my

developer's machine. When the application is moved to another machine without VS2003
installed it starts ok, but can't download a DataSet from the remote
database and I don't see any data. No any errors are shown, nothing that
could be helpful.

It looks like that the VS installer doesn't add some required libraries

and
it can be a possible reason of this fault. But why? I created a new "Setup and Deployment Project", started a wizard, created everything that was

need.
The MSI/Setup.ini+exe were created. But finally after this installation

the
application doesn't work with the remote database.

Dmitri


Nov 15 '05 #3
Hi,

Does somebody know what's a problem? When I try to create a deployment
package using a standard project in VS2003 the VS barks that: "Error 1706.No
valid source code could be found for product Visual Studio .NET Enterprise
Developer 2003 - English. The Windows installer cannot continue."

I click OK and the creation continues. Then again and finally one more time.
Totally 3 times. Finally the VS reports that everything was excellent, no
errors, no warnings, and the setup package is created.

---------------------- Done ----------------------

Build: 2 succeeded, 0 failed, 0 skipped
That's the picture.

http://members.cox.net/dshvetsov/VS-Install-Error.jpg

What's going on?

Dmitri

"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:WG6Nb.48103$5V2.65661@attbi_s53...
what version of MDAC is installed on your production server?

--- Nick

"Dmitri Shvetsov" <ds*******@cox.net> wrote in message
news:CF6Nb.1554$AA6.1495@fed1read03...
Hi,

What could be a reason? I wrote a Windows Application on C#. It works with
a
remote database through the Internet. It works excellent on my

developer's machine. When the application is moved to another machine without VS2003
installed it starts ok, but can't download a DataSet from the remote
database and I don't see any data. No any errors are shown, nothing that
could be helpful.

It looks like that the VS installer doesn't add some required libraries

and
it can be a possible reason of this fault. But why? I created a new "Setup and Deployment Project", started a wizard, created everything that was

need.
The MSI/Setup.ini+exe were created. But finally after this installation

the
application doesn't work with the remote database.

Dmitri


Nov 15 '05 #4
Hi,

Thanks for your hint!-) That's what I found last night.

http://msdn.microsoft.com/library/de...components.asp

Any Visual Basic or Visual C# application that includes data access has a
dependency on Microsoft Data Access Components (MDAC) version 2.7 or later.
MDAC must be installed on a target computer prior to installing your
application or the application will fail.

Thanks, Bill! That's very cool deployment!

Dmitri

"Nick Malik" <ni*******@hotmail.nospam.com>
what version of MDAC is installed on your production server?
What could be a reason? I wrote a Windows Application on C#. It works with a remote database through the Internet. It works excellent on my developer's machine. When the application is moved to another machine without VS2003
installed it starts ok, but can't download a DataSet from the remote
database and I don't see any data. No any errors are shown, nothing that
could be helpful.

Nov 15 '05 #5

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

Similar topics

7
by: AnnMarie | last post by:
My JavaScript Form Validation doesn't work at all in Netscape, but it works fine in IE. I made some of the suggested changes which enabled it to work in IE. I couldn't make all the changes...
39
by: Mark Johnson | last post by:
It doesn't seem possible. But would the following also seem a violation of the general notions behind css? You have a DIV, say asociated with class, 'topdiv'. Inside of that you have an anchor...
3
by: Matt | last post by:
I want to know if readOnly attribute doesn't work for drop down list? If I try disabled attribute, it works fine for drop down list. When I try text box, it works fine for both disabled and...
149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
6
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
4
by: bbp | last post by:
Hello, In an ASPX page I have a "Quit" button which make a simple redirect in code-behind. This button doesn't work no more since (I think) I moved from the framework 1.0 to 1.1 and it doesn't...
3
by: Dave Moore | last post by:
Hi All, Ok, here's my problem. I want to open a file and process its contents. However, because it is possible that the file may not exist, I also want to check whether the file() function is...
10
by: Sourcerer | last post by:
I wrote this very simple code in .NET VC++. I compiled it on my system, and tried to run it on my friend's computer (he doesn't have the compiler). We both have Windows XP Professional. I have .NET...
6
by: Johnny Jörgensen | last post by:
I've got a usercontrol derived from a normal ComboBox that contains some special formatting code. On my main form I've got a lot of my custom comboboxes. I discovered a bug in the derived...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
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
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,...
1
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
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,...
1
isladogs
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.