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

  • Home
  • SEARCH
  • 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 3431920
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:23:08+00:00 2026-05-18T07:23:08+00:00

I have two websites OLD.com (classic ASP) and NEW.com (ASP.NET) – each site has

  • 0

I have two websites OLD.com (classic ASP) and NEW.com (ASP.NET) – each site has its own SQL database which it can access just fine. However I need to access the OLD.com & NEW.com databases from classic asp written in OLD.com.

Here is the code i’m using in OLD.com to access NEW.com’s DB:

Dim oCN
Set oCN = Server.CreateObject("ADODB.Connection")
oCN.Open "Provider=SQLOLEDB;Data Source=NEW.COM DB IP;Initial Catalog=dbname;User ID=uname;Password=pAss;Pooling=False"

This works just fine on my local IIS machine, but when I upload it to OLD.com it times out and gives this error:

Active Server Pages error ‘ASP 0113’

Script timed out

How can this be? Whats wrong?

Many thanks for your help

  • 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-05-18T07:23:09+00:00Added an answer on May 18, 2026 at 7:23 am

    Start with the classic debugging questions – does the OLD.com have network access to the database; if you have query analyser on that server can you open a sql connection using that username and password; are username and password typed correctly etc.

    What query are you then performing? The error indicates a script timeout – are you trying to retrieve something that is taking longer than the timeout – inefficient query, etc.

    EDIT – for example – can the IP address of the new database be accessed from the old server? Is there a firewall in place preventing the sql connection from one site to the other (web traffic will be allowed over port 80, not sure what port the sql connection will be going over, but may well be being blocked by either your old or new hosting providers

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

Sidebar

Related Questions

I have two websites, let's say they're example.com and anotherexample.net . On anotherexample.net/page.html ,
I currently have an asp.net website hosted on two web servers that sit behind
I have two public websites (foo.com and bar.com) that are pointed to a hardware
I have two applications written in Java that communicate with each other using XML
I have two websites that declare an RSS feed, like so: <link rel=alternate type=application/rss+xml
We have two websites which only difference is in the design (different images, styles,
We have two websites that share some business processes and UI elements. Lets focus
We have a VS2005 solution including two websites. We converted the solution to VS2010
I have two websites.I want to validate,if the person who is signing in the
I have two websites hosted on the same IIS server. SiteA contains WCF services

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.