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

Access to database problem

Hello Experts,

I have developed a windows application using vs.net 2002 with C#. The
customers loves it and everything works fine on windows XP. However,
when I deployed the application on a client windows 2000 computer (with
the latest dotnet framework installed), the application was unable
connect to the database (MS SQL 2000). I then installed the application
on the server computer (windows 2000) where the database is located,
and everything works fine. So I am suspecting it is the security issue
difference between windows xp and 2000 that caused this problem. Can
anyone tell me exactly what the problem is and how can I solve this?
Thanks in advance,

Benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
4 1016
How are you connecting to SQL Server - trusted or SQL authentication?

If trusted, the connection will only work if the logged on Windows user has
been granted permission in SQL Server. Check your SQL Server Security
settings.

If using SQL authentication, your user account doesn't have execute or other
permission. However this behavior should be consistent regardless where the
app is run.

good luck,
kevin aubuchon

"Benny" <an*******@devdex.com> wrote in message
news:eV**************@TK2MSFTNGP11.phx.gbl...
Hello Experts,

I have developed a windows application using vs.net 2002 with C#. The
customers loves it and everything works fine on windows XP. However,
when I deployed the application on a client windows 2000 computer (with
the latest dotnet framework installed), the application was unable
connect to the database (MS SQL 2000). I then installed the application
on the server computer (windows 2000) where the database is located,
and everything works fine. So I am suspecting it is the security issue
difference between windows xp and 2000 that caused this problem. Can
anyone tell me exactly what the problem is and how can I solve this?
Thanks in advance,

Benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #2
Hello Kevin,

I have just found out the cause of the problem was because microsoft
data access component was not installed. Another question now is how can
I included the MDAC in the deployment and auto install when deploy?
Thanks,

Benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #3
The MSDN Library has your answer. Search for the topic "Adding a Launch
Condition for Microsoft Data Access Components". There are line by line
instructions.

Good Luck.
_____________________________
C Addison Ritchie, MCSD
Ritch Consulting, Inc.

"Benny" <an*******@devdex.com> wrote in message
news:O4**************@TK2MSFTNGP12.phx.gbl...
Hello Kevin,

I have just found out the cause of the problem was because microsoft
data access component was not installed. Another question now is how can
I included the MDAC in the deployment and auto install when deploy?
Thanks,

Benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #4
Thanks Addison, just what I needed!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #5

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

Similar topics

63
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy...
10
by: MHenry | last post by:
Hi, We were going merrily along for 6 years using this database to record all client checks that came into our office, including information about what the checks were for. Suddenly, network...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
17
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a...
15
by: philip | last post by:
On a form, I have a datagridview. This datagridview is constructed on a dataset filled by a tableadapter. The table adapter do very well what it must do when filling dataset. Insertions,...
34
by: Mathieu Trentesaux | last post by:
Hello I downloaded Office 2007 for this reason : It seems, once again, that it is impossible to save any modification done in a VBA library, from the main project in Access. The save button...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
11
by: Harel | last post by:
I have a report SQL which have been working for a few weeks. Its large and the target database is large. It has 59 join, and I dont think there is anything I can do about this, since the DB I use...
6
by: Wesley Peace | last post by:
I hate to cross post, but I've gotten no answer yet on a problem I'm having with visual studio 2008. I've created a series of forms with controls to access a Access database tables. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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.