2016-11-22 43 views
0

有人能解釋爲什麼這個錯誤發生時我每次都重新登錄定製發佈後的時間?錯誤僅在登出

如果我刪除Acumatica實例,並重新創建它,連接到現有的數據庫 - 然後正常工作。如果超時,我必須再次登錄時,我得到這個錯誤:

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0117: 'PX.Data.PXLogin' does not contain a definition for 'EulaRequired' 

Source Error: 


Line 633:            username : 
Line 634:            string.Format("{0}@{1}", username, company); 
Line 635:  if (username == "admin" && PXLogin.EulaRequired(fullname)) 
Line 636:  { 
Line 637:   PXContext.Session.SetString("EulaRequired", fullname); 

回答

0

我不知道是什麼導致這一點,但我已經刪除Acumatica的情況下,除去定製項目我所有的類庫引用,並開始了。這似乎解決了這個問題。

0

在您的自定義,你包括任何的PX * .DLL庫?如果是這樣,您可能會替換您的網站所需的正確版本。確保只有dll文件INS您的自定義是那些你創建的。

+0

是 - 我總是確保我的引用是對我的工作的實例。 – pmfith

+0

的評論是,以確保您的自定義項目不包括任何Acumatica站點文件。您的圖書館當然會根據需要參考網站文件。 – Brendan