Azure app server connection To azure vm db server intermittently timeout

Jackstraw91 0 Reputation points
2024-11-22T16:56:43.0366667+00:00

we have an app with built in crystal reports and they have saved connection details in the reports. When we click the button to generate, it often works. Every once in a while it will fail and give us "database login failed" which i believe is a timeout because it takes a few seconds to try and load before returning the error. On the server we get the below application warning. Any ideas how to resolve this? we have dev and qa which never have this issue, only production and it is still in the staging stage right now, has not gone live so not too many users yet.

 

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 11/22/2024 5:39:23 AM

Event time (UTC): 11/22/2024 1:39:23 PM

Event ID: 29920c061bfc46658acb83ed590227c5

Event sequence: 7709

Event occurrence: 6

Event detail code: 0

 

Application information:

    Application domain: /LM/W3SVC/1/ROOT/DM-7-133766962874903090

    Trust level: Full

    Application Virtual Path: /DM

    Application Path: C:\Inetpub\wwwroot\DM\

    Machine name:

Azure SQL Database
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,547 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 22,060 Reputation points
    2024-11-22T23:29:09.7166667+00:00

    Ensure that the ODBC Data Source Name (DSN) used in the report exists on the server and is correctly configured. Verify that it matches the bitness (32-bit or 64-bit) of the Crystal Reports application.

    https://remiware.co/2016/09/28/how-to-fix-database-logon-failed-in-crystal-reports/

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.