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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Problem connecting custom modules to another databaseProblem connecting custom modules to another database
Previous
 
Next
New Post
12/15/2014 5:10 AM
 

Dohhh

We had not allowed the DMZ to connect, the settings had been made but the infrastructure guys forgot to complete it.
All is working great.

 
New Post
12/15/2014 2:01 PM
 
Stuart Fraser wrote:
erik hinds wrote:

You have the connection string in the web.config, right?

Which version of DAL are you using? 

BTW, here is a thread on DNNHero about using another database with DAL2 http://www.dnnhero.com/Forum/forumid/...

 Thanks for replying.

Yes, I have the string in config.

Not using any of the DNN module Dal templates, I am using my own Data classes and sql handlers in App Code that I have used for years and built hundreds of NTier apps with.
My classes work perfectly against the dnn database so nothing wrong there, but obviously something is preventing remote connection.
I have got a little further in  that I am now getting an sql error despite the connection working correctly from Visual Studio
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

We were holding off the DAL 2 templates as we only wanted very simple custom modules without the need for installing templates and having to package and install. We may have to now if we cannot get this fix working

I still believe it should be possible as the error shows it is trying to connect, just need to know what is causing the connection failure

 

 

 

The DAL2 is simple and requires no other installation (provided your on a version that supports DAL2)
 
New Post
12/16/2014 3:52 AM
 

 Thanks Eric, I have had a quick look at DAL2 and built a simple module on our test server.  I agree they are excellent and we will in the future use them to build bespoke functions.

But we have a lot  of pre - built plugins to migrate from our old CMS to DNN and the ability to just virtually copy and paste without much modification is what we wanted, and is now working a treat.

 

 
New Post
12/16/2014 9:15 AM
 

Great Stuart. Glad it's working for you.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Problem connecting custom modules to another databaseProblem connecting custom modules to another database


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