PC Review


Reply
Thread Tools Rate Thread

Change port for SQL Server connection

 
 
Jonathan Blitz
Guest
Posts: n/a
 
      4th Aug 2004
We have built a web site using Frontpage and SQL Server.

Now we need to change the port used by the database.
How can I change the port in Frontpage?

--
Jonathan Blitz
AnyKey Limited
Israel

"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."


 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      4th Aug 2004
You don't, you change the port in your connection string.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Jonathan Blitz" <((jb))@anykey.co.il (remove brackets)> wrote in message
news:(E-Mail Removed)...
> We have built a web site using Frontpage and SQL Server.
>
> Now we need to change the port used by the database.
> How can I change the port in Frontpage?
>
> --
> Jonathan Blitz
> AnyKey Limited
> Israel
>
> "When things seem bad
> Don't worry and shout
> Just count up the times
> Things have worked themselves out."
>
>



 
Reply With Quote
 
Jonathan Blitz
Guest
Posts: n/a
 
      4th Aug 2004
Where exactly do I change it?
When I define a connection there doesn't seem to be anywhere to enter it.

--
Jonathan Blitz
AnyKey Limited
Israel

"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
"Jonathan Blitz" <((jb))@anykey.co.il (remove brackets)> wrote in message
news:(E-Mail Removed)...
> We have built a web site using Frontpage and SQL Server.
>
> Now we need to change the port used by the database.
> How can I change the port in Frontpage?
>
> --
> Jonathan Blitz
> AnyKey Limited
> Israel
>
> "When things seem bad
> Don't worry and shout
> Just count up the times
> Things have worked themselves out."
>
>



 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      4th Aug 2004
It could be in your global.asa file, if one is being used. There are many ways to create a
connection to a database. Without having login access to your site, only you can determine how you
are connecting to the database.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Jonathan Blitz" <((jb))@anykey.co.il (remove brackets)> wrote in message
news:(E-Mail Removed)...
> Where exactly do I change it?
> When I define a connection there doesn't seem to be anywhere to enter it.
>
> --
> Jonathan Blitz
> AnyKey Limited
> Israel
>
> "When things seem bad
> Don't worry and shout
> Just count up the times
> Things have worked themselves out."
> "Jonathan Blitz" <((jb))@anykey.co.il (remove brackets)> wrote in message
> news:(E-Mail Removed)...
> > We have built a web site using Frontpage and SQL Server.
> >
> > Now we need to change the port used by the database.
> > How can I change the port in Frontpage?
> >
> > --
> > Jonathan Blitz
> > AnyKey Limited
> > Israel
> >
> > "When things seem bad
> > Don't worry and shout
> > Just count up the times
> > Things have worked themselves out."
> >
> >

>
>



 
Reply With Quote
 
Jon Spivey
Guest
Posts: n/a
 
      4th Aug 2004
Hi,
if you're hand coding your connection string you'd have something like
strConn=
"provider=sqloledb;uid=you;pwd=secret;server=10.10.10.10,1500;database=pubs"

This would connect on port 1500 - obviously replave 10.10.10.10 with the IP
of your sql server. If you're using FP to create the connection click
Tools - Site Settings - Database - Add check Network Connection to Server
hit Browse and then in the server name box type 10.10.10.10,1500 - again
this will connect to a sql server at ip 10.10.10.10 on port 1500, modify to
suit.

--
Cheers,
Jon
Microsoft MVP

"Jonathan Blitz" <((jb))@anykey.co.il (remove brackets)> wrote in message
news:(E-Mail Removed)...
> Where exactly do I change it?
> When I define a connection there doesn't seem to be anywhere to enter it.
>
> --
> Jonathan Blitz
> AnyKey Limited
> Israel
>
> "When things seem bad
> Don't worry and shout
> Just count up the times
> Things have worked themselves out."
> "Jonathan Blitz" <((jb))@anykey.co.il (remove brackets)> wrote in message
> news:(E-Mail Removed)...
> > We have built a web site using Frontpage and SQL Server.
> >
> > Now we need to change the port used by the database.
> > How can I change the port in Frontpage?
> >
> > --
> > Jonathan Blitz
> > AnyKey Limited
> > Israel
> >
> > "When things seem bad
> > Don't worry and shout
> > Just count up the times
> > Things have worked themselves out."
> >
> >

>
>



 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      5th Aug 2004
Choose Siote Setting from the Tools menu, then click
Database.

Select your database connection, then click Modify.

Set Type Of Conenction to Custom Definition, then enter a
string such as this in the assiciated text box:

"Provider=sqloledb;Data Source=190.190.200.100,1433;
Network Library=DBMSSOCN;Initial Catalog=pubs;
User ID=sa;Password=asdasd;"

Where 190.190.200.100 is the SQL Server IP address and
1433 is the port.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


>-----Original Message-----
>We have built a web site using Frontpage and SQL Server.
>
>Now we need to change the port used by the database.
>How can I change the port in Frontpage?
>
>--
>Jonathan Blitz
>AnyKey Limited
>Israel
>
>"When things seem bad
> Don't worry and shout
> Just count up the times
> Things have worked themselves out."
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the local port of a server connection after connection isestablished Samik R. Microsoft Dot NET Framework 5 14th Dec 2006 02:29 AM
Ability To Change XP VPN (Incoming Connection) Port? =?Utf-8?B?Q3VydGlzIE0u?= Windows XP Networking 0 8th Nov 2005 06:49 AM
How do i change this connect string to support a SQL Server 2000 running on port 8832 User ID=car;Password=rat;Server=abc.def.hij;Initial Catalog=foobar i tried Server=abc.def.hij:8823 and Server=abc.def.hij;port=8823 neither of these work Daniel Microsoft Dot NET Framework 1 16th Dec 2004 09:55 PM
Change RDP Web Connection Port number Scott Goldman Microsoft Windows 2000 Terminal Server Applications 2 11th Aug 2004 08:21 PM
Terminal Server Connection Port Shane Microsoft Windows 2000 Terminal Server Clients 2 2nd Aug 2003 06:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:44 AM.