HighTechTalks DotNet Forums  

web.config file

Dotnet General Discussions microsoft.public.dotnet.general


Discuss web.config file in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Rafael Chemtob
 
Posts: n/a

Default web.config file - 09-01-2005 , 03:30 PM






hi
i have a web.config file that specifies the connection string for my
database. the database server on the ISP is using a different port than
1433. how do i specify in the connection string to use a specific port
number?
i tried the <ip address>:<port number> and that didn't work.
any ideas?
thanks



Reply With Quote
  #2  
Old   
John MacIntyre
 
Posts: n/a

Default Re: web.config file - 09-01-2005 , 04:26 PM






"Rafael Chemtob" <rchemtobb (AT) nospam (DOT) yahoo.com> wrote

Quote:
hi
i have a web.config file that specifies the connection string for my
database. the database server on the ISP is using a different port than
1433. how do i specify in the connection string to use a specific port
number?
i tried the <ip address>:<port number> and that didn't work.
any ideas?
thanks


Hi Rafael,

Unless I missed something, this sounds more like a connect string problem
than a web.config problem.

http://www.connectionstrings.com/ is a great resource for connections
strings.

Good luck.

--
Regards,
John MacIntyre
http://www.johnmacintyre.ca
Specializing in; Database, Web-Applications, and Windows Software




Reply With Quote
  #3  
Old   
Mike S.
 
Posts: n/a

Default RE: web.config file - 09-02-2005 , 02:38 PM



Try a comma between the IP and the port instead of a colon.

"Rafael Chemtob" wrote:

Quote:
hi
i have a web.config file that specifies the connection string for my
database. the database server on the ISP is using a different port than
1433. how do i specify in the connection string to use a specific port
number?
i tried the <ip address>:<port number> and that didn't work.
any ideas?
thanks




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.