BLConnectionPool object

Thank you, thank you, thank you!!!!!

 

That done the trick.

 

In case I didn't say it, thank you!

Hi,

 

I need some guidance on properly using the BLConnectionPool object.
 
I've tried the below, plus many variations in the strUrl (the third parameter).  It's clearly not working because
a) I get no SessionID where querying it after creation
b) I can put in an incorrect username/password and I get the same behavior afterwards
 
Epicor.Mfg.Core.BLConnectionPool connPool = new Epicor.Mfg.Core.BLConnectionPool("username", "password", "AppServerDC://VM-APPSERVER:9401");
 
The AppServer port does display as 9401 in Epicor on the VM-APPSERVER.
 
Is there something I'm doing obviously wrong?  How can I confirm what the proper strUrl parameter should look like?

This is custom code running out of .NET.  I've done this on numerous occasions (and I'm pretty sure I did it here at Corwil 7 months ago using the same code).  There's no Epicor form involved, I'm just creating Customer records based on information from a completely separate database.

 

Thank you all in advance

Any errors?


From: "js121280@..." <js121280@...>
To: vantage@yahoogroups.com
Sent: Friday, January 10, 2014 9:13 AM
Subject: [Vantage] BLConnectionPool object



Hi,
 
I need some guidance on properly using the BLConnectionPool object.
 
I've tried the below, plus many variations in the strUrl (the third parameter).  It's clearly not working because
a) I get no SessionID where querying it after creation
b) I can put in an incorrect username/password and I get the same behavior afterwards
 
Epicor.Mfg.Core.BLConnectionPool connPool = new Epicor.Mfg.Core.BLConnectionPool("username", "password", "AppServerDC://VM-APPSERVER:9401");
 
The AppServer port does display as 9401 in Epicor on the VM-APPSERVER.
 
Is there something I'm doing obviously wrong?  How can I confirm what the proper strUrl parameter should look like?
This is custom code running out of .NET.  I've done this on numerous occasions (and I'm pretty sure I did it here at Corwil 7 months ago using the same code).  There's no Epicor form involved, I'm just creating Customer records based on information from a completely separate database.
 
Thank you all in advance




Not directly, no.  I don't
get an error until I attempt to instantiate an object

_Cust
= new Customer(connPool);

 

I get the below error.  I
get the same error if I set the connPool = null, and then run the above
line.  So clearly the connPool isn't what it should be…

 


On Friday, January 10, 2014 9:42 AM, Ted Koch <tkoch77@…> wrote:

 

<div id="ygrps-yiv-2007500762yiv9741981770ygrp-text">
  
  
  <div style="color:rgb(0, 0, 0);font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8pt;background-color:rgb(255, 255, 255);">Any errors?<br clear="none"><div><span></span></div><div><br clear="none"></div>  <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8pt;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div dir="ltr"> <div class="ygrps-yiv-2007500762hr" style="margin:5px 0px;padding:0px;border:1px solid rgb(204, 204, 204);height:0px;line-height:0;font-size:0px;"></div>  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> &quot;js121280@...&quot; &lt;js121280@...&gt;<br clear="none"> <b><span style="font-weight:bold;">To:</span></b> vantage@yahoogroups.com <br clear="none"> <b><span

style=“font-weight:bold;”>Sent: Friday, January 10, 2014 9:13 AM
Subject: [Vantage] BLConnectionPool object




Hi,
 
I need some guidance on properly using the BLConnectionPool object.
 
I've tried the below, plus many variations in the strUrl (the third parameter).  It's clearly not working because
a) I get no SessionID where querying it after creation
b) I can put in an incorrect username/password and I get the same behavior afterwards
 
Epicor.Mfg.Core.BLConnectionPool connPool = new Epicor.Mfg.Core.BLConnectionPool("username", "password", "AppServerDC://VM-APPSERVER:9401");
 
The AppServer port does display as 9401 in Epicor on the VM-APPSERVER.
 
Is there something I'm doing obviously wrong?  How can I confirm what the proper strUrl parameter should look like?
This is custom code running out of .NET.  I've done this on numerous occasions (and I'm pretty sure I did it here at Corwil 7 months ago using the same code).  There's no Epicor form involved, I'm just creating Customer records based on information from a completely separate database.
 
Thank you all in advance




</div>
 


<div style="height:0px;color:rgb(255, 255, 255);"></div>
#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770 -- #ygrps-yiv-2007500762yiv9741981770ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mkp #ygrps-yiv-2007500762yiv9741981770hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mkp #ygrps-yiv-2007500762yiv9741981770ads {
margin-bottom:10px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mkp .ygrps-yiv-2007500762yiv9741981770ad {
padding:0 0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mkp .ygrps-yiv-2007500762yiv9741981770ad p {
margin:0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mkp .ygrps-yiv-2007500762yiv9741981770ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-sponsor #ygrps-yiv-2007500762yiv9741981770ygrp-lc {
font-family:Arial;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-sponsor #ygrps-yiv-2007500762yiv9741981770ygrp-lc #ygrps-yiv-2007500762yiv9741981770hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-sponsor #ygrps-yiv-2007500762yiv9741981770ygrp-lc .ygrps-yiv-2007500762yiv9741981770ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770activity span {
font-weight:700;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770activity span span {
color:#ff7900;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770activity span .ygrps-yiv-2007500762yiv9741981770underline {
text-decoration:underline;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770attach div a {
text-decoration:none;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770attach img {
border:none;padding-right:5px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770attach label a {
text-decoration:none;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770bold a {
text-decoration:none;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 dd.ygrps-yiv-2007500762yiv9741981770last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 dd.ygrps-yiv-2007500762yiv9741981770last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 dd.ygrps-yiv-2007500762yiv9741981770last p span.ygrps-yiv-2007500762yiv9741981770yshortcuts {
margin-right:0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770attach-table div div a {
text-decoration:none;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770attach-table {
width:400px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770file-title a, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770file-title a:active, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770file-title a:hover, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770file-title a:visited {
text-decoration:none;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770photo-title a, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770photo-title a:active, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770photo-title a:hover, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div.ygrps-yiv-2007500762yiv9741981770photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 div#ygrps-yiv-2007500762yiv9741981770ygrp-mlmsg #ygrps-yiv-2007500762yiv9741981770ygrp-msg p a span.ygrps-yiv-2007500762yiv9741981770yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770green {
color:#628c2a;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 o {
font-size:0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770photos div {
float:left;width:72px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770reco-category {
font-size:77%;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770reco-desc {
font-size:77%;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 .ygrps-yiv-2007500762yiv9741981770replbq {
margin:4px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mlmsg select, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 input, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mlmsg pre, #ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 code {
font:115% monospace;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-mlmsg #ygrps-yiv-2007500762yiv9741981770logo {
padding-bottom:10px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-msg p#ygrps-yiv-2007500762yiv9741981770attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-reco #ygrps-yiv-2007500762yiv9741981770reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-sponsor #ygrps-yiv-2007500762yiv9741981770ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-sponsor #ygrps-yiv-2007500762yiv9741981770ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-sponsor #ygrps-yiv-2007500762yiv9741981770ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-text {
font-family:Georgia;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-text tt {
font-size:120%;}

#ygrps-yiv-2007500762 #ygrps-yiv-2007500762yiv9741981770 #ygrps-yiv-2007500762yiv9741981770ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-2007500762



Instead of creating a connectionPool try creating a Session


Session  = new Session("user","password","AppServerDC:…:9999", SessionType.Default);

then you can sue Sessino.ConnectionPool



Jose C Gomez

Software Engineer



T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Fri, Jan 10, 2014 at 9:13 AM, <js121280@...> wrote:

Â
<div>
  
  
  <p></p><p>Hi,</p><p> </p><p>I need some guidance on properly using the BLConnectionPool object.<br> <br>I&#39;ve tried the below, plus many variations in the strUrl (the third parameter).  It&#39;s clearly not working because <br>

a) I get no SessionID where querying it after creation
b) I can put in an incorrect username/password and I get the same behavior afterwards
Â
Epicor.Mfg.Core.BLConnectionPool connPool = new Epicor.Mfg.Core.BLConnectionPool("username", "password", "AppServerDC://VM-APPSERVER:9401");

Â
The AppServer port does display as 9401 in Epicor on the VM-APPSERVER.
Â
Is there something I'm doing obviously wrong? How can I confirm what the proper strUrl parameter should look like?

This is custom code running out of .NET. I've done this on numerous occasions (and I'm pretty sure I did it here at Corwil 7 months ago using the same code). There's no Epicor form involved, I'm just creating Customer records based on information from a completely separate database.

Â

Thank you all in advance

</div>
 


<div style="color:#fff;min-height:0;"></div>

Error is:

 

Unhandled exception.

Method 'UpdateExt' in type 'Epicor.Mfg.BO.Customer' from assembly 'Epicor.Mfg.BO.Customer, Version=9.5.701.0, Cultur=neutral,PublicKey Token=5d3fa3c7105d7992' does not have an implementation

Wait that error is not because fo your session but because there is no implementatino of the UpdateExt function, my guess is you are not including the EpiLib.UpdateExt bo which contains the UpdateEextBoError dataset


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com

     Â


Quis custodiet ipsos custodes?


On Fri, Jan 10, 2014 at 10:28 AM, <js121280@...> wrote:

Â
<div>
  
  
  <p></p><p>Error is:</p><p>Â </p><p>Unhandled exception.</p><p>Method &#39;UpdateExt&#39; in type &#39;Epicor.Mfg.BO.Customer&#39; from assembly &#39;Epicor.Mfg.BO.Customer, Version=9.5.701.0, Cultur=neutral,PublicKey Token=5d3fa3c7105d7992&#39; does not have an implementation<var></var></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>