utahspc
asked on
How do I query a SQL Database on a different server from a hosted website
Our Website is hosted by a third party company. We want to enter events into our Microsoft CRM that stores everything in SQL Server on a SBS2003 server in our office. The server in our office is running IIS and exchange so we have access out to the internet. How do we do a query over the web to read from the database so we can display the results on our website?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also, remember to open the TCP & UDP ports on the firewalls to allow the systems to connect. Default installations of SQL Server monitor TCP port 1433 and UDP port 1434.
Verify ODBC connectivity to SQL Server:
http://support.microsoft.com/kb/138541
Building SQL Server Applications Overview
http://msdn2.microsoft.com/En-US/library/aa174556(SQL.80).aspx
TCP Ports Needed for Communication to SQL Server Through a Firewall
http://support.microsoft.com/kb/287932