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 7944295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:30:37+00:00 2026-06-04T00:30:37+00:00

We have an ASP Classic legacy web application , which is hosted in Windows

  • 0

We have an ASP Classic legacy web application, which is hosted in Windows Server 2003 in IIS, that connect in our database server, which is an AS/400. We’ve just currently upgrade our database server from v5r4m0 to v6r1m0, so we install an update in our Web Server to connect to the new database server and change all the connection string to the proper database server.

We have this code in our ASP Classic site:

set objConn2 = server.CreateObject("ADODB.Connection")
objConn2.open connStringGlobal

objConn2.BeginTrans

if rsCheck.eof then
    objConn2.execute(InsertQuery)
    objConn2.execute(InsertQueryRCDREF)
    objConn2.execute(UpdateQuery)
end if

objConn2.CommitTrans

if err.number <> 0 then
    session("errMsg") = "An error occured while processing your request. Please try again. <br><br>[Error Description : " & err.Description & "]<br><br>" & InsertQuery & "<br><br>" & UpdateQuery & "<br><br>" & InsertQueryRCDREF
    objConn2.RollBackTrans  
    objConn2.close
    set objConn2 = nothing
    response.Redirect(request.ServerVariables("HTTP_REFERER"))
else    
    objConn2.close
    set objConn2 = nothing
    response.Redirect("default.asp?p=pending")
end if

But it throws an error in the objConn2.BeginTrans line which is:

CWBZZ5008 Security error occurred when attempting to connect to system

What happen here is that the connection is opened and the line with objConn2.execute is executed, the data are inserted in our database eventhough it goes through the rollback transaction and close connection and shows the error message in the UI.

Here’s what we have tried so far:

  • Replace the connection string server name to the IP address of the database server
  • Check all the legacy codes if there has an un-closed connection

But still we have no luck. This site is currently on production, which is stopped because of this error, so we really need to fix this and were already trying to fix this for days. Please we really need help.


Our other site which run in the same server and also in ASP Classic that connect to the same database server with transaction works fine, only this site with this code throws an 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-04T00:30:39+00:00Added an answer on June 4, 2026 at 12:30 am

    The problem was because the migrated tables from the old database server to the new database server doesn’t have any journal yet so the error occur when using the transaction.

    A journal maintains an audit trail of transactions and database changes. Transaction logs and Database change logs are used, a transaction log records all the essential data for each transactions, including data values, time of transaction and terminal number. A database change log contains before and after copies of records that have been modified by transactions. – wikipedia.org

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

Sidebar

Related Questions

I have an ASP classic web application running on windows 2008 r2 server is
We have an ASP Classic website running on Windows Server 2003 and IIS6 which
We have a classic ASP site that is been hosted in IIS 7.5. I
I have a legacy web-site that I am maintaining (built mostly in classic ASP
We have an legacy application (mixture of classic ASP and ASP.net) that has a
I have a classic ASP application which inserts some values into a word file
I have to debug a classic asp site being served by IIS 7 (windows
So I've got our legacy app which is classic asp and I've got a
I'm building a new ASP.NET web application based on a legacy one (Classic ASP).
I'm working on a legacy classic ASP interface between our client application and the

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.