Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SQL Server  Browser Service and port 1433SQL Server Browser Service and port 1433
Previous
 
Next
New Post
11/13/2008 6:43 AM
 

The only significant problem I've encountered with installing 4.8.4 and 4.9.0 is when SQL Server is not listening on port 1433. This has only ever occured because SQL Server has been installed as a named instance (so the SQL Server Browser Service is meant to be reporting instance port numbers back to the clients).

Also, as far as I can see, the DNN installation manual does not mention any requirement that SQL Server be listening on port 1433.

Can someone please mention if it is possible to install DNN onto an instance of SQL Server that is listening on another port (not 1433) and a connection string for use in web.config?

thanks!

 
New Post
11/13/2008 9:11 AM
 

It's not DNN.  Or even ASP.NET.  Anytime you use a non-standard port, the port has to be specified, in your case in the connection string.  Add it with a comma after the server name, as in:

Data Source = DatabaseServer,port

Jeff

 
New Post
11/13/2008 10:09 PM
 

Thanks Jeff.

Sorry if I'm wasting time here or not explaining things clearly.

 

If the port an SQL Server instance listens on is dynamically assigned, that means it can change each time the SQL Server service is (re)started, as per the explanation quoted below from SQL Server 2005 Books Online. So hard-coding a port number into connection strings wouldn't be a permanent solution.

The point you make about the problem not being DNN or even ASP.NET is understood.

The problem is that the DNN installation instructions don't work if SQL Server was installed as a named instance, even though the DNN install instructions refer broadly to SQL Server as THE RDBMS of choice.

If a connection string that specifies the SQL Server instance name is needed (so that the SQL Server Browser Service can return a port) for non-default installation of SQL Server then it might be worth trying to get that mentioned in the DNN install guide. Otherwise, if there is no connection string that works with the SQL Server Browser Service, then a fixed port number (whether it is 1433 or something else) is an installation prereq that has been omitted from the DNN install guide.

Thanks again,

D

---------------

 

from "SQL Server 2005 Books Online"

"When connecting, clients can specify the desired port, but if the port is dynamically assigned, the port number can change anytime SQL Server is restarted, so the correct port number is unknown to the client.

...

When SQL Server 2000 and SQL Server 2005 clients request SQL Server resources, the client network library sends a UDP message to the server using port 1434. SQL Server Browser responds with the TCP/IP port or named pipe of the requested instance. The network library on the client application then completes the connection by sending a request to the server using the port or named pipe of the desired instance.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SQL Server  Browser Service and port 1433SQL Server Browser Service and port 1433


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out