473,322 Members | 1,719 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,322 software developers and data experts.

need some assistance on c#

Recently i have encounter some problem with C# programming. The
application of mine can't seem to run well with sql server 2000 and i
think the reason for this is the connection between this two things is
incorrect. So i was hoping that someone out there can help me out with
this problem. When i run the program, some error generated saying
that the database is not found. Please drop me a word if somebody out
there who are willing to help me out. Maybe I just attach the whole
program for better understanding of my problem. Thank you.
Nov 16 '05 #1
2 1076
Make certain that the user name and password to the SQL Server Database is part of your connection string. It would help if you posted your connection string. If you are using a dataadapter, go to properties and copt the select command command text.

Dean
"Ivan" wrote:
Recently i have encounter some problem with C# programming. The
application of mine can't seem to run well with sql server 2000 and i
think the reason for this is the connection between this two things is
incorrect. So i was hoping that someone out there can help me out with
this problem. When i run the program, some error generated saying
that the database is not found. Please drop me a word if somebody out
there who are willing to help me out. Maybe I just attach the whole
program for better understanding of my problem. Thank you.

Nov 16 '05 #2
Hi Ivan,

Please do make sure that your sql server agent is connected. I do face it sometimes when it disconnected.

Also please make sure your Initial Catalog contains the right database name.

Are you using a thrusted connection or what? Means windows authentication or sql server authentication?

Yeah, will be wondeful if you can copy and paste your connection string.

Hope it helps.
--
Regards,
Chua Wen Ching :)
"Dean Bortell" wrote:
Make certain that the user name and password to the SQL Server Database is part of your connection string. It would help if you posted your connection string. If you are using a dataadapter, go to properties and copt the select command command text.

Dean
"Ivan" wrote:
Recently i have encounter some problem with C# programming. The
application of mine can't seem to run well with sql server 2000 and i
think the reason for this is the connection between this two things is
incorrect. So i was hoping that someone out there can help me out with
this problem. When i run the program, some error generated saying
that the database is not found. Please drop me a word if somebody out
there who are willing to help me out. Maybe I just attach the whole
program for better understanding of my problem. Thank you.

Nov 16 '05 #3

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

Similar topics

2
by: lagunasun | last post by:
not shitass responses. People like this david fellow, degrade the board. again, here is my msg, and thanks again for any assistance! I am going from learning c++ console apps to windows, and need...
0
by: Jawahar | last post by:
All I had posted this in the remote assistance group and could not get any replies so I thought that I could try in the developer group Thanks One of the issues we face when helping our remote...
2
by: CSDunn | last post by:
Hello, I need some assistance with error handling in an Access 2003 Project form. The project is has a data source connection to a SQL Server 2000 database. The main form is named...
0
by: Joe Ross | last post by:
(Apologies in advance if there is a better forum for asking advice on this topic). Our ASP.NET application occasionally starts spitting out OutOfMemory exceptions. When this happens, the memory...
0
by: mwalk66 | last post by:
I have been able to create a web based company phone book by retrieving the last name, first name, email address and telephone # from active directory. However I need serious assistance in...
1
by: Chris | last post by:
Hi, How can I post a web request like http://site.com/lookupvalue.aspx?id=xxxxx and then parse the request ex Home
0
by: serpius | last post by:
Hello Everyone, I am a beginner in VB.Net 2003 and am taking classes in beginning VB.net. To make a long story short, I am looking for real samples of coding in Console Apps. I am the type of...
46
by: Bruce W. Darby | last post by:
This will be my very first VB.Net application and it's pretty simple. But I've got a snag in my syntax somewhere. Was hoping that someone could point me in the right direction. The history: My...
1
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up...
3
by: gaurav92K | last post by:
sir i am working in a company . there are many pc. i want to use remote assistance. i configure all group policy which are related remote assistance.and i enable service through remote in system...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.