Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 14 total
Thread ElevateDB Error #504 (Standard Version)
Sat, Sep 3 2011 11:30 AMPermanent Link

Michael Riley

ZilchWorks

Avatar

I'm getting an ElevateDB Error #504 The maximum number of concurrent sessions (2) has been reached when I run my application from within the IDE.

Is this because I have ElevateDB Manager open and connected to MyDBSession and my application is also trying to connect to the same MyDBSession?
Sat, Sep 3 2011 1:19 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael


That depends on wether you're running a trial version or not. If so it right if not there's a problem. The most likely in the latter case is an old trial version hanging around. Uninstall, zap any elevate bpls and reinstall.

Roy Lambert [Team Elevate]
Sat, Sep 3 2011 4:00 PMPermanent Link

Michael Riley

ZilchWorks

Avatar

<<
That depends on wether you're running a trial version or not. If so it right if not there's a problem. The most likely in the latter case is an old trial version hanging around. Uninstall, zap any elevate bpls and reinstall.
>>

Roy, it is not the trial version, It is the fully paid for standard version. I have totally uninstalled the trial version.

I read a previous post regarding the 504 error, I think by Tim, that mentions the EDManager uses two hidden sessions to keep track of internal stuff. That leaves three sessions available. If I connect to another session called  MyDBSession inside EDBManager that is three sessions. There should be two more concurrent sessions available for use.

So If I have my IDE running and it has an Active connecttion to the same MyDBSession That's a total of four concurrent sessions. However, when I run my application from within the IDE It won't let me because it says I have used up all availabe sessions even though there are only 4 sessions in use.

If I then go back to the EDManager and close the MyDBSession and then run my application from the IDE it works.

I was asking for clarification as to why I'm getting the error message.

Because the 540 error message references (2) I'm thinking it's counting the EDManager session as one, the Active IDE sessiona as two and then from inside the IDE when I run the application as three.
Sun, Sep 4 2011 8:50 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael


Check the thread out 504 Errors - started by Michael Fullerton 28/11/2007 Message-ID: <vpiqk31qagk9oil73seqtcdjcrc1oln9f3@4ax.com>

If that's not it the only other thing I can suggest before I totally disappear under the water is threads. Beyond that its over to Tim.

Roy Lambert [Team Elevate]
Sun, Sep 4 2011 3:26 PMPermanent Link

Michael Riley

ZilchWorks

Avatar

Roy

<<
Check the thread out 504 Errors - started by Michael Fullerton 28/11/2007 Message-ID: <vpiqk31qagk9oil73seqtcdjcrc1oln9f3@4ax.com>
>>

I don't know how to follow find that message id... it looks criptique.

Michael Riley
GySgt USMC Retired
ZilchWorks
Mon, Sep 5 2011 3:40 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael

><<
>Check the thread out 504 Errors - started by Michael Fullerton 28/11/2007 Message-ID: <vpiqk31qagk9oil73seqtcdjcrc1oln9f3@4ax.com>
>>>

Neither do I Smiley

Go to the on-line forums http://www.elevatesoft.com/forums?category=edb in the search field type 504 and (for me) it was the last entry on the first page.

Roy Lambert [Team Elevate]
Tue, Sep 6 2011 12:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< I'm getting an ElevateDB Error #504 The maximum number of concurrent
sessions (2) has been reached when I run my application from within the IDE.

Is this because I have ElevateDB Manager open and connected to MyDBSession
and my application is also trying to connect to the same MyDBSession? >>

If you're using local sessions only, check your TEDBEngine component in your
application, and make sure that it has its LicensedSessions property is set
to 4096:

http://www.elevatesoft.com/manual?action=viewprop&id=edb2&product=d&version=7&comp=TEDBEngine&prop=LicensedSessions

If you can't change the value to 4096, then the problem is that you still
have the trial version design-time package installed into the IDE.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Sep 6 2011 6:45 PMPermanent Link

Michael Riley

ZilchWorks

Avatar

Tim,

>>
If you're using local sessions only, check your TEDBEngine component
in your application, and make sure that it has its LicensedSessions
property is set to 4096:

http://www.elevatesoft.com/manual?action=viewprop&id=edb2&product=d&ve
rsion=7&comp=TEDBEngine&prop=LicensedSessions

If you can't change the value to 4096, then the problem is that you
still have the trial version design-time package installed into the
IDE.
<<

I tried to change it from 2 to 4096 but it won't accept that value. It
reverts back to 2. (Yes, I did set the Active property to false first)

So, how do I uninstall the trial version design-time package and get
the real version installed?

I did goto the Add/Remove Programs section an uninstall the trial
version before I installed the new version. If I need to do something
else please let me know.  Thank you.



Michael Riley
GySgt USMC Retired
www.zilchworks.com
Wed, Sep 7 2011 3:16 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael

>I did goto the Add/Remove Programs section an uninstall the trial
>version before I installed the new version. If I need to do something
>else please let me know. Thank you.

Things sometimes get left around so:

1. Uninstall the full version using Add/Remove Programs
2. Search for and delete any edb*.bpl file
3. Belt and braces - delete the install directory
4. Reinstall

That "should" sort it.

Roy Lambert [Team Elevate]
Wed, Sep 7 2011 2:16 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< So, how do I uninstall the trial version design-time package and get the
real version installed? >>

Just uninstalling from the Control Panel will do it, but if you left the
Delphi IDE open, then the uninstall may not have been able to delete the
design-time BPL file, so it may still be loaded.  If you go into
Component/Install Packages, you will see the design-time package listed
under Design Packages.  Click on the EDB design-time package for the trial
version (you can tell by the path at the bottom of the list), and then click
on Remove.  Then, if the full standard version's design-time package is also
listed, you can just click on its check box to enable it.

--
Tim Young
Elevate Software
www.elevatesoft.com


Page 1 of 2Next Page »
Jump to Page:  1 2
Image