473,406 Members | 2,894 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.

programmatically allow tcp/ip to msde

Posting this here as MS has informed me that
microsoft.public.dotnet.languages.vb.data is not a supported group, but this
one is. (seems odd since it's on their server and is a sub of this group,
but I do need an answer)

My application deploys with MSDE (2000). Currently it's strictly single
user, but I'm working on a multi-user version now. In order for one machine
to connect to the other, I must run the svrnetcn.exe utility and enable
tcp/ip on the host. Obviously asking my users to do this isn't an option.
How do I enable tcp/ip access programmatically at the host?

Nov 20 '06 #1
4 3382
Just out of curiousity, which version of VB.Net are you using?
Robin S.
-------------------------------------------------
"Matt Fielder" <mf****************@nospam.nospamwrote in message
news:Ot**************@TK2MSFTNGP04.phx.gbl...
Posting this here as MS has informed me that
microsoft.public.dotnet.languages.vb.data is not a supported group, but
this one is. (seems odd since it's on their server and is a sub of this
group, but I do need an answer)

My application deploys with MSDE (2000). Currently it's strictly single
user, but I'm working on a multi-user version now. In order for one
machine
to connect to the other, I must run the svrnetcn.exe utility and enable
tcp/ip on the host. Obviously asking my users to do this isn't an option.
How do I enable tcp/ip access programmatically at the host?

Nov 21 '06 #2
I'm using Visual Studeio 2005 Professional ---

I'm guessing you may be asking because your wondering why MSDE instead of
SQL Express (2005) - the problem is this is for a downloadable application,
, so the size of the install matters. Unfortunately, the install for SQL
2005 is almost triple the size of MSDE.

"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:xI******************************@comcast.com. ..
Just out of curiousity, which version of VB.Net are you using?
Robin S.
-------------------------------------------------
"Matt Fielder" <mf****************@nospam.nospamwrote in message
news:Ot**************@TK2MSFTNGP04.phx.gbl...
>Posting this here as MS has informed me that
microsoft.public.dotnet.languages.vb.data is not a supported group, but
this one is. (seems odd since it's on their server and is a sub of this
group, but I do need an answer)

My application deploys with MSDE (2000). Currently it's strictly single
user, but I'm working on a multi-user version now. In order for one
machine
to connect to the other, I must run the svrnetcn.exe utility and enable
tcp/ip on the host. Obviously asking my users to do this isn't an
option.
How do I enable tcp/ip access programmatically at the host?


Nov 21 '06 #3
"Matt Fielder" <mf****************@nospam.nospamwrote in
news:uQ*************@TK2MSFTNGP04.phx.gbl:
I'm guessing you may be asking because your wondering why MSDE instead
of SQL Express (2005) - the problem is this is for a downloadable
application, , so the size of the install matters. Unfortunately, the
install for SQL 2005 is almost triple the size of MSDE.
If you want a small database, have you taken a look at Embedded Firebird?
Works quite well with .NET. MySQL is pretty small too :)
Nov 21 '06 #4
Hi,
Thanks for using Microsoft Online Managed Newsgroup.

From your description, I understand that:
You wanted to enable TCP/IP protocol of your MSDE instance programmatically.
If I have misunderstood, please let me know.

I believe this article is your want:
How to configure the SQL Server Network Libraries by using SQL-DMO
http://support.microsoft.com/default...b;EN-US;822642

If your SQL Server instance were SQL Server 2005 Express, you can use SQL
SMO to manage the protocol and it seems easier:
Dim mc As New ManagedComputer()
mc.ServerInstances("SQLEXPRESS").ServerProtocols(" Tcp").IsEnabled = true;
mc.Services("MSSQL$SQLEXPRESS").Stop()
mc.Services("MSSQL$SQLEXPRESS").Start()

For using SQL Server Smo, you need to add the references:
Microsoft.SqlServer.Smo
Microsoft.SqlServer.SmoEnum
Microsoft.SqlServer.SqlEnum
Microsoft.SqlServer.ConnectionInfo

Hope this helpful!

Please feel free to let me know if you have any other questions or
concerns. It is my pleasure to be of assistance.

Charles Wang
Microsoft Online Community Support

================================================== ====
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, and confers no rights.
================================================== ====
Nov 21 '06 #5

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

Similar topics

1
by: izzy | last post by:
I was wondering if any of you guys can kindly help me in finding all the different versions of MSDE 2000 that came out since it's first release. I expected to find something similar like Sun's...
5
by: Igor Solodovnikov | last post by:
Hi. I am trying to automatically backup transaction log when error 9002 happened. So i have created appropriate job and alert to catch this error. I have two instances of sql server under Windows...
10
by: noname | last post by:
MSDE 2000 Release A installed under windows 2000 pro will not communicate with SQL Server Manager nor MS Access on peer computer. Can someone help? Have set DISABLENETWORKPROTOCOLS=0 at install...
3
by: *no spam* | last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing Wizard crashes (a known bug wi A2K), so I'm using the following suggested method: Access --> New --> Project (Existing...
5
by: Robin Tucker | last post by:
I'm looking for a simple way of telling (inside a stored procedure) if I'm currently using MSDE or a full SQL server. Ideally, there is some pre-defined environment variable that won't cause me...
7
by: Diogo Alves - Software Developer | last post by:
hi there I am developing a software that needs a database to be shared, I've heard about MSDE, can someone tell me if * There is a newer version than MSDE 2000? * It's possible to use MSDE...
2
by: Rosy Moss | last post by:
I am in the process of cleaning up a database that our company uses to track jobs, time and expense, and customer information. We are running Windows 2000 Server with approximately 20 terminals...
3
by: Paul Aspinall | last post by:
Hi I want to package my C# winforms app, to be deployed with MSDE, as easily as possible for the end user. I want to create an MSI or Installshield (prefer MSI), to setup my C# app, together...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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.