Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  SQL Server 2005 (running on different machine)
Previous Previous
 
Next Next
New Post 5/13/2008 8:19 AM
User is offline suhaib
1 posts
10th Ranked


SQL Server 2005 (running on different machine) 

Hi all,

I am using  
DotNetNuke_04.08.02
Windows 2003
MS SQL server 2005 (running on different machine)

After I had configured DotNetNuke_04.08.02 to run under IIS, I proceed with installation wizard until reached  the Configure Database Connection step , once I tried to test the connection I got the below error , in spite of that I connected successfully  to DotNetNuke using MS SQL server 2005
 Studio manager  with the same user and password :

Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 20
Number: 2
Message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
The following is the connection string that I configured in web.config
<connectionStrings>
  <add name="SiteSqlServer" connectionString="Server=10.1.1.10;Database=DotNetNuke;uid=user_name;pwd=mypass;" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
 <add key="SiteSqlServer" value="Server=10.1.1.10;Database=DotNetNuke;uid=user_name;pwd=mypass;" />
 .....
<appSettings>

Thanks in advance

Suhaib AlNoursi

 
New Post 5/13/2008 8:49 AM
User is offline Sebastian Leupold
13634 posts
www.deutschnetnuke.de
1st Ranked












Re: SQL Server 2005 (running on different machine) 

if you are able to access sql server locally on the server with same credentials but not from a different machine, this is most likely caused by missing "allow remote connections" for Named pipes provider.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  SQL Server 2005 (running on different machine)
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP