Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9249697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:15:50+00:00 2026-06-18T10:15:50+00:00

I am developing ASP.NET MVC application that interacts with PervasiveDB, running on separate external

  • 0

I am developing ASP.NET MVC application that interacts with PervasiveDB, running on separate external database server. I use Pervasive ADO.NET Data Provider with connection string like: ServerDSN=dbname;UID=user;PWD=password;ServerName=87.xxx.xx.xxx;
On my development machine everything is fine while debugging with IIS express, but when i deploy my app on remote hosting server that runs IIS 7.0 i am getting exception, when trying connect db.

Code:

PsqlConnection conn = new PsqlConnection(ConnectionString);
conn.Open();
try
{
  PsqlCommand cmd = new PsqlCommand(query);
  cmd.Connection = conn;
  PsqlDataReader reader = cmd.ExecuteReader();
  while (reader.Read())
  {
    ...
  }
}
finally
{
  conn.Close();
}

Exception:

2013-01-28 15:40:21.2574|ERROR|App.WebApiApplication|Pervasive.Data.SqlClient.PsqlException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 87.xxx.xx.xxx:1583 at Pervasive.Data.SqlClient.PsqlConnection.Open()
at App.DBFacade.TestConnection()
at App.WebApiApplication.Application_Start()

Ping from hosting server to database server is OK.

I don’t realize what’s the difference between my development enviroment and production one, and how can i fix this error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:15:51+00:00Added an answer on June 18, 2026 at 10:15 am

    The cause of this error was that hosting provider blocked connection on given ip and port.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are developing an ASP.NET MVC Application that currently uses it's own database ApplicationData
I am developing an asp.net mvc web application that makes much use of jquery
I’m developing an ASP.NET MVC application that is using a LocalDb database. This app
I'm developing an ASP.NET MVC application that will send the user a confirmation email.
I'm developing an ASP.NET MVC 2 application that connects to some services to do
I'm having a problem with an ASP.NET MVC application that I'm developing. I'm still
I am developing an ASP.NET MVC application that has two kind of pages: (1)
I am developing an ASP.NET MVC 3 Application that is essentially a proxy to
I am developing an Asp.Net MVC application that uses Google maps to show Addresses
I'm interested in using Subsonic 3.0 for developing a new ASP.Net MVC application that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.