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

sqldmo help!

Good morning from Spain!
I've an app. in c# which works with a sql server. To find it (i don't like
dirty the user register) i use one dns server where i added one entry with
the name of my server. Using the namespace System.Net i resolve the name to
ip address, so i know the computer where the server is (if we move it we
change the dns entry, so we haven´´t to do anything in the client). But when
i try to connect to the sql server, with the string conexion:
"Server:"+computer+"....", where computer contains the ip of the server, it
dies. I think the reason is that the sql server has an instance, and i have
to connect to that instance; before i did this to connect:
conString = @"Server=EVIUS\VSdotNET;database=SIIA;UId=Miguel;p wd=;Integrated
Security=SSPI;";

now, the question!! how can i know the name of the instance of a sql server
if i know the ip address of that server? i have trie with sqldmo but i have
never used it... i'm lost...
Thanks for all.

Pd.- Excuse my English, languages and i are in war...
Nov 15 '05 #1
0 910

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

Similar topics

1
by: Mohammed Abdel-Razzak | last post by:
Dear sirs I`ve used SQLDMO to make a backup to my database How can I use it to restore database? thanks Mohammed
3
by: T. | last post by:
I dumped VB and adopted C# for this version of Visual Studio. My problem! I am trying to reference an SQLDMO.Database object in C# like so: private SQLDMO.Database dbcurrent; private string...
2
by: | last post by:
Hi all, I am trying to get a reference to SQL Server Agent from C#. I have referenced SQLDmo.dll in my project. The SQLDmo documentation says SQLDMO.JobServer instance would be a reference to SQL...
1
by: | last post by:
Hi all My requirement is to "on button_click, backup a SQL database using SQLDMO.Backup object and update the progress in a ProgressBar. The problem is the progress bar does not update at all...
2
by: | last post by:
Hi all, continued from yesterday's posting... I still haven't found a solution to this issue. I put a breakpoint in private void SqlBackupPercentComplete(string message, int Percent) {...
1
by: | last post by:
Hi all I am posting this to check if anyone could help me. The problem still persists. I am beginner in C#. Thanks. Subject: SQLDMO.Backup and ProgressBar - help please From: ...
6
by: Henry Padilla | last post by:
I am trying to use SQLDMO in C# and it's a nightmare. Any examples, suggestions, is there a different (managed) way to do this that I don't know about? Thanks for the help. Tom Padilla
1
by: soulcode | last post by:
Hi There, I was wondering what the process is (if there is one) to get a .NET application that uses the below code and the SQLDMO.DLL reference to work on a PC without SQL2000 installed on it...
3
by: Zack Sessions | last post by:
I am using VB.NET 2003. I found the following sample code here in an article: Dim oSQLServerDMOApp As New SQLDMO.Application Dim i As Integer Dim namX As SQLDMO.NameList namX =...
1
by: PJHORNSA | last post by:
Hi all, I want to create a backup of a database using SQLDMO in C#. But I keep on getting a exception. If anyone can help me by providing code for this, it would be appreciated. Thanks in...
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
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...
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,...
0
jinu1996
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...
0
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
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...

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.