Error - 2022/05/22 12:42:09

Erreur du Serveur Applicatif

UKNW-9999
[DBNETLIB][ConnectionOpen (Connect()).]Ce serveur SQL n'existe pas ou son accès est refusé
Cannot Connect to Database EUREKA.SRV-SQL-PROD\EFFICY_PROD
Application Server Error
[DBNETLIB][ConnectionOpen (Connect()).]Ce serveur SQL n'existe pas ou son accès est refusé
Cannot Connect to Database EUREKA.SRV-SQL-PROD\EFFICY_PROD
Call ForgotPasswordURL()
Call OnArgument(ArgValue=, else=
<div id="oa_social_login_container"></div>
<script type="text/javascript">
var url = '<%GetAppBase(context=JS)%>home?page=logon.htm&customer=<%GetCustomerProfile(context=JS)%>&language=<%GetLanguage()%>&social=T';
var _oneall = _oneall || [];
_oneall.push(['social_login', 'set_callback_uri', url]);
_oneall.push(['social_login', 'set_providers', ['linkedin','facebook','google','twitter']]);
_oneall.push(['social_login', 'set_custom_css_uri', 'https://secure.oneallcdn.com/css/api/themes/flat_w32_h32_wc_v1.css']);
_oneall.push(['social_login', 'do_render_ui', 'oa_social_login_container']);
</script>
)
Call Macro(=SocialLoginEnabled)
Call GetLabel(=Log in)
Call GetArgument(=language, context=ATTR)
Call GetLabel(=Password)
Call GetArgument(=PASSWORD, context=ATTR)
Call GetLabel(=Mail)
Call GetArgument(=USER, context=ATTR)
Call GetLabel(=Efficy Extranet)
Call OnArgument(=language, value=TR, then=selected)
Call OnArgument(=language, value=SK, then=selected)
Call OnArgument(=language, value=RU, then=selected)
Call OnArgument(=language, value=RO, then=selected)
Call OnArgument(=language, value=PT, then=selected)
Call OnArgument(=language, value=PL, then=selected)
Call OnArgument(=language, value=JA, then=selected)
Call OnArgument(=language, value=IT, then=selected)
Call OnArgument(=language, value=HU, then=selected)
Call OnArgument(=language, value=EL, then=selected)
Call OnArgument(=language, value=CS, then=selected)
Call OnArgument(=language, value=HR, then=selected)
Call OnArgument(=language, value=ZH, then=selected)
Call OnArgument(=language, value=AR, then=selected)
Call OnArgument(=language, value=ES, then=selected)
Call OnArgument(=language, value=DE, then=selected)
Call OnArgument(=language, value=NL, then=selected)
Call OnArgument(=language, value=FR, then=selected)
Call OnArgument(=language, value=EN, then=selected)
Call Navigate(language=, user=, password=)
Call GetLabel(=Connection endpoint unreachable, check url or contact the Helpdesk, context=JS)
Call GetAppBase(context=JS)
Call GetArgument(=CUSTOMER, context=JS)
Call GetLabel(=Please enter a password)
Call GetLabel(=Please enter a username)
Call GetArgument(=noheader, context=JS)
Call GetArgument(=language, context=JS)
Call Navigate(page=, filebase=, custombase=, database=, password=)
Call GetLabel(=Efficy Extranet)
Call Macro(=SocialSubDomain)
Call UseScript(=custom/Custom, fixedline=T, ifexists=T)
Call UseScript(=Base, fixedline=T)
Call UseScript(=../lib/js/jquery/jquery.js, fixedpath=T, fixedline=T)
Call UseStyleSheet(=logon.css)
Call UseScript(=../lib/js/vendor/modernizr.js, fixedline=T, fixedpath=T)
Call UseStyleSheet(page=extranet)
Call OnLanguage(ar=extranet-rtl, else=extranet)
Call Macro(=MetaHead)
Call GetLabel(=Efficy Extranet)
Call OnLanguage(ar=rtl, else=ltr)
Call GetLanguage(lowercase=T)
Call Macro(=Doctype)
Call LoadMacros(=MacroLibrary;MacroDesktop)
Call SetBookmark()
Call IfConnected(then=
<%LoadMacros('MacroLibrary')%>
<%Macro('Doctype')%>
<html>
<head>
<%Macro('MetaHead')%>
<meta name="robots" content="noindex, nofollow">
<title></title>
<%UseScript('js/config/require.config.js', fixedpath=T, data-custombase='%%GetCustomBase()', data-dealerbase='%%GetDealerBase()')%>
<%Macro('RequireConfigDealer', evaluate=T)%>
<%Macro('RequireConfigCustom', evaluate=T)%>
<%UseScript('../lib/js/vendor/require.js', fixedpath=T)%>
<%UseScript("scripts/Base", fixedline=T)%>
<%UseScript("scripts/Efficy", fixedline=T)%>
<%UseScript("scripts/Translate", fixedline=T)%>
<%UseScript("custom/Custom", fixedline=T, ifexists=T)%>
<script type="text/javascript">
function Loaded() {
requirejs(['model'], function(Model) {
Model.set({
"appbase": "<%GetAppBase(context=JS)%>"
});
ShowDesktop(true, <%OnMobile(then='true', else='false')%>);
});
}
</script>
</head>
<body onload="Loaded()"></body>
</html>
, else=<%SetBookmark()%>
<%LoadMacros('MacroLibrary;MacroDesktop')%>
<%Macro('Doctype')%>
<html lang="<%GetLanguage(lowercase=T)%>" dir="<%OnLanguage(ar='rtl', else='ltr')%>">
<head>
<title><%GetLabel('Efficy Extranet')%></title>
<%Macro('MetaHead')%>
<meta name="robots" content="noindex, nofollow">
<link rel="icon" type="image/ico" href="../favicon.ico">
<%UseStyleSheet(page='%%OnLanguage(ar="extranet-rtl", else="extranet")')%>
<%UseScript('../lib/js/vendor/modernizr.js', fixedline=T, fixedpath=T)%>
<%UseStyleSheet('logon.css')%>
<%UseScript('../lib/js/jquery/jquery.js', fixedpath=T, fixedline=T)%>
<%UseScript('Base', fixedline=T)%>
<%UseScript('custom/Custom', fixedline=T, ifexists=T)%>
<script type="text/javascript">
var oa = document.createElement('script');
oa.type = 'text/javascript'; oa.async = true;
oa.src = '//<%Macro('SocialSubDomain')%>.api.oneall.com/socialize/library.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(oa, s);
</script>
<script type="text/javascript">

function Loaded() {
try {
history.replaceState({}, '<%GetLabel("Efficy Extranet")%>', '<%Navigate(page="",filebase="",custombase="",database="",password="")%>');
} catch(e) {}
if ("<%GetArgument('language',context=JS)%>" == "") {
var Lang = navigator.userLanguage ? navigator.userLanguage : navigator.language
if ('fr;nl;es;de;pl;ja;tr;ar;el;hr;it;pt;ro;hu;ru;sk;cs;zh'.indexOf(Lang) > -1)
SetLang(Lang.toUpperCase());
}

if ($('#FldUser').value !== "")
$('#FldPass').focus();
else
$('#FldUser').focus();

if ("<%GetArgument('noheader',context=JS)%>" !== "") {
$('#header').css('display','none');
}
}

function Logon() {
if($('#FldUser').val() === "") {
alert("<%GetLabel("Please enter a username")%>");
$('#FldUser').focus()
return;
}
if($('#FldPass').val() === "") {
alert("<%GetLabel("Please enter a password")%>")
$('#FldPass').focus()
return;
}
$('#status').css('display', 'none');
$('#div-submit').addClass('loading');
$('#submitbtn').attr('disabled', true);
$.ajax({
url: 'logon?_macrofile=MacroAjax&_macro=SuccessResponse&errorpage=ErrMini&customer=<%GetArgument("CUSTOMER", context=JS)%>',
data: $(document).find('form').serialize(),
method: 'post'
}).done(function(data, textStatus, jqXHR) {
var el = document.createElement('div');
el.innerHTML = data; // decode htmlentities
$('#submitbtn').attr('disabled', false);
$('#div-submit').removeClass('loading');
if (LogonSuccessful(el.innerHTML)) {
if (data.indexOf('alert(') > -1) {
var els = $.parseHTML(el.innerHTML, null, true);
for (e in els) {
if (els[e].nodeName.toLowerCase() === 'script') {
eval(els[e].text);
}
}
}
location.href = "<%GetAppBase(context=JS)%>dialog?&page=desktop/main&entity=Case&caseEntity=Case&detail=Wait";
}
}).fail(function() {
alert("<%GetLabel('Connection endpoint unreachable, check url or contact the Helpdesk', context=JS)%>");
});
}

function LogonSuccessful(errtext) {
var errors = [];
var response = errtext.toLowerCase();

if (response.toUpperCase().indexOf('#OK#') !== -1)
return true;
else if (response.indexOf('newpassword') !== -1) {
wnd = OpenNewWindow(0, 'request?page=dialog/Password', 480, 320);
wnd.setTimeout('top.focus()', 500);
errors.push(sPassExpired);
}
else {
try {
if (!CookiesEnabled())
errors.push(sCookieFailed);
}
catch(ex) {} // ignore diagnostic errors
var Messages = ["required argument not found: \"database\"",
"required argument not found: \"user\"",
"required argument not found: \"password\"",
"please verify your login name and password",
"does not exist in current database",
"incorrect database alias",
"logoncomplete",
"as a com object instead",
"maximum number of concurrent users has been reached",
"is currently locked",
"license for",
"expired"];
var found = false;
var i = 0;
while (i < Messages.length && !found) {
if (response.indexOf(Messages[i]) !== -1) {
errors.push(sLoginErrors[i]);
found = true;
}
i++;
}
if (!found)
errors.push(sErrorUnknown);
}
var st = $('#status');
st.html(errors.join(' ')).css({
display: 'block',
cursor: 'pointer'
});
st.on('click.eff.logon', function() {
st.css('cursor', 'default');
st.html(st.html() + '<br><br>' + errtext);
st.off('click.eff.logon');
});
return false;
}

function SetLang(Lang) {
var NewURL = "<%Navigate(language='',user='',password='')%>".replace(/\&?$/,'') + "&user=" + EscapeName($('#FldUser').val()) + "&language=" + Lang;
location.replace(NewURL);
}
</script>
</head>

<body onload="Loaded()">
<div id="header" class="row">
<div class="small-6 medium-8 large-3 columns"></div>
<div id="lang" class="small-6 medium-4 large-2 columns">
<select onchange="SetLang(this.value)">
<option value="EN" <%OnArgument('language', value='EN', then='selected')%>>English</option>
<option value="FR" <%OnArgument('language', value='FR', then='selected')%>>Français (French)</option>
<option value="NL" <%OnArgument('language', value='NL', then='selected')%>>Nederlands (Dutch)</option>
<option value="DE" <%OnArgument('language', value='DE', then='selected')%>>Deutsch (German)</option>
<option value="ES" <%OnArgument('language', value='ES', then='selected')%>>Español (Spanish)</option>
<option value="AR" <%OnArgument('language', value='AR', then='selected')%>>&#x627;&#x644;&#x639;&#x64E;&#x631;&#x64E;&#x628;&#x650;&#x64A;&#x629;&#x64F; (Arabic)</option>
<option value="ZH" <%OnArgument('language', value='ZH', then='selected')%>>&#x7B80;&#x4F53;&#x4E2D;&#x6587; (Chinese)</option>
<option value="HR" <%OnArgument('language', value='HR', then='selected')%>>Hrvatski (Croatian)</option>
<option value="CS" <%OnArgument('language', value='CS', then='selected')%>>Čeština (Czech)</option>
<option value="EL" <%OnArgument('language', value='EL', then='selected')%>>&#x395;&#x3BB;&#x3BB;&#x3B7;&#x3BD;&#x3B9;&#x3BA;&#x3AC; (Greek)</option>
<option value="HU" <%OnArgument('language', value='HU', then='selected')%>>Magyar (Hungarian)</option>
<option value="IT" <%OnArgument('language', value='IT', then='selected')%>>Italiano (Italian)</option>
<option value="JA" <%OnArgument('language', value='JA', then='selected')%>>&#26085;&#26412;&#35486; (Japanese)</option>
<option value="PL" <%OnArgument('language', value='PL', then='selected')%>>Polski (Polish)</option>
<option value="PT" <%OnArgument('language', value='PT', then='selected')%>>Português (Portuguese)</option>
<option value="RO" <%OnArgument('language', value='RO', then='selected')%>>Română (Romanian)</option>
<option value="RU" <%OnArgument('language', value='RU', then='selected')%>>Русский (Russian)</option>
<option value="SK" <%OnArgument('language', value='SK', then='selected')%>>Slovak (Slovakian)</option>
<option value="TR" <%OnArgument('language', value='TR', then='selected')%>>Türkçe (Turkish)</option>
</select>
</div>
</div>
<div id="content-wrapper">
<div id="content">
<div id="logo"></div>
<div id="LoginContent">
<form name="login" action="" method="post" onsubmit="Logon(); return false">
<div id="welcome" class="text-center"><%GetLabel('Efficy Extranet')%></div>
<div id="div-user">
<input id="FldUser" name="USER" type="text" value="<%GetArgument('USER',context=ATTR)%>" placeholder="<%GetLabel('Mail')%>" autocomplete="off" required>
</div>
<div id="div-pass">
<input id="FldPass" name="PASSWORD" type="password" value="<%GetArgument('PASSWORD',context=ATTR)%>" placeholder="<%GetLabel('Password')%>" autocomplete="off" required>
</div>
<input type="hidden" id="LANGUAGE" name="language" value="<%GetArgument('language',context=ATTR)%>">
<div id="div-submit">
<button id="submitbtn" class="button small expand action" type="submit"><%GetLabel('Log in')%></button>
</div>
<%OnArgument(ArgValue="%%Macro('SocialLoginEnabled')", else=`
<div id="oa_social_login_container"></div>
<script type="text/javascript">
var url = '<%GetAppBase(context=JS)%>home?page=logon.htm&customer=<%GetCustomerProfile(context=JS)%>&language=<%GetLanguage()%>&social=T';
var _oneall = _oneall || [];
_oneall.push(['social_login', 'set_callback_uri', url]);
_oneall.push(['social_login', 'set_providers', ['linkedin','facebook','google','twitter']]);
_oneall.push(['social_login', 'set_custom_css_uri', 'https://secure.oneallcdn.com/css/api/themes/flat_w32_h32_wc_v1.css']);
_oneall.push(['social_login', 'do_render_ui', 'oa_social_login_container']);
</script>
`)%>
<div id="div-forgot">
<a href="<%ForgotPasswordURL()%>"><%GetLabel('I forgot my password')%></a>
</div>
</form>
</div>
<div id="status"></div>
</div>
</div>
<%Macro('LogonFooter')%>
<!--</body>-->
<%UseScript('js/config/require.config.js', fixedpath=T, data-custombase='%%GetCustomBase()', data-dealerbase='%%GetDealerBase()')%>
<%UseScript('../lib/js/vendor/require.js', fixedpath=T')%>
<%UseScript('Translate', fixedline=T)%>
<%UseScript('Efficy', fixedline=T)%>
<%UseScript('Extranet', fixedline=T)%>
<script type="text/javascript">
requirejs(['model'], function(Model) { Model.set({
"appbase": "<%GetAppBase(context=JS)%>"
}); });
var IsMobile = <%OnMobile(then='true', else='false')%>;
var sNavURL = "<%Navigate(language='',user='',password='')%>";
var sArgLanguage = "<%GetArgument('language',context=JS)%>";
var sCookieFailed = "<%GetLabel('Your browser does not seem to accept cookies, please ask your administrator to check your settings')%>";
var sPassExpired = "&nbsp;<%GetLabel('Your password has expired')%>";
var sErrorUnknown = "<%GetLabel('Unknown Reason, please contact your Efficy administrator')%>";
var sLoginErrors = ["<%GetLabel('Empty Database')%>",
"<%GetLabel('Please enter a username')%>",
"<%GetLabel('Please enter a password')%>",
"<%GetLabel('Authentication failed. Please verify your username and/or your password')%>",
"<%GetLabel('Username does not exist in this database')%>",
"<%GetLabel('Alias does not exist')%>",
"<%GetLabel('Refresh the page and try again. If it does not work, please contact your Efficy administrator')%>",
"<%GetLabel('Bad COM+ installation, please contact your Efficy administrator')%>",
"<%GetLabel('The maximum number of concurrent users has been reached. Please try again later')%>",
"<%GetLabel('User is currently locked')%>",
"<%GetLabel('The license has expired')%>",
"<%GetLabel('Your password has expired')%>"];
</script>
</body>
</html>
, =)|)
Call IncludeFile(=LogonForm)
Start Function Evaluation
End Initialisation
Connect to Application Server
Verify Arguments
Initialise Request Handling /home