473,568 Members | 2,905 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

programmaticall y allow tcp/ip to msde

Posting this here as MS has informed me that
microsoft.publi c.dotnet.langua ges.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 programmaticall y at the host?

Nov 20 '06 #1
4 3395
Just out of curiousity, which version of VB.Net are you using?
Robin S.
-------------------------------------------------
"Matt Fielder" <mf************ ****@nospam.nos pamwrote in message
news:Ot******** ******@TK2MSFTN GP04.phx.gbl...
Posting this here as MS has informed me that
microsoft.publi c.dotnet.langua ges.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 programmaticall y 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.nos pamwrote in message
news:Ot******** ******@TK2MSFTN GP04.phx.gbl...
>Posting this here as MS has informed me that
microsoft.publ ic.dotnet.langu ages.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 programmaticall y at the host?


Nov 21 '06 #3
"Matt Fielder" <mf************ ****@nospam.nos pamwrote in
news:uQ******** *****@TK2MSFTNG P04.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 programmaticall y.
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.ServerInstan ces("SQLEXPRESS ").ServerProtoc ols("Tcp").IsEn abled = true;
mc.Services("MS SQL$SQLEXPRESS" ).Stop()
mc.Services("MS SQL$SQLEXPRESS" ).Start()

For using SQL Server Smo, you need to add the references:
Microsoft.SqlSe rver.Smo
Microsoft.SqlSe rver.SmoEnum
Microsoft.SqlSe rver.SqlEnum
Microsoft.SqlSe rver.Connection Info

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
3095
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 archive (http://java.sun.com/products/archive/index.html) for MSDE 2000 too but failed to find after a few hours of browsing at the Microsoft Download...
5
8414
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 2000. One of them is full SQL Server, another is msde. When transaction log is full in full SQL Server error 9002 severity 17 state 2 is logged in...
10
3831
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 time. Install log shows installation successful.. Control Panel> Admin Tools> Services section shows SQL server instance running.
3
6111
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 Database) This asks for the name of the .adp file to create and then launches into the Data Link Properties dialog box (so far so good) I select my...
5
3488
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 too much overhead. The reason I'm doing this is because my system "rolls over" databases when it reaches the 2Gb limit with MSDE, but obviously I...
7
1567
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 with C#.Net? * I would like a tutorial or something about deploying MSDE with my application.
2
5057
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 (Each running 2000) logging in each day. Four of these terminals access the server via Citrix. Currently the database is about 60MB, but it grows...
3
2528
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 with MSDE (if not already installed), and the MSDE application DB. How can I detect if MSDE is already installed?? Has anyone does this?? How??
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7917
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7665
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6277
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5501
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.