2013-02-15 144 views
1

我有一個使用Visual C#Express編寫的工資系統。我已經完成了它的編碼併發布了它。但是,無論何時將它安裝到筆記本電腦上,Avast都會阻止它!防病毒可疑並停止該進程。之後,應用程序無法啓動事件,雖然它已安裝說缺少一個文件。它有這個在其detailsC#應用程序被防病毒攔截?

PLATFORM VERSION INFO 
    Windows    : 6.1.7601.65536 (Win32NT) 
    Common Language Runtime  : 4.0.30319.296 
    System.Deployment.dll  : 4.0.30319.1 (RTMRel.030319-0100) 
    clr.dll    : 4.0.30319.296 (RTMGDR.030319-2900) 
    dfdll.dll   : 4.0.30319.1 (RTMRel.030319-0100) 
    dfshim.dll   : 4.0.31106.0 (Main.031106-0000) 

SOURCES 
    Deployment url   : file:///C:/Users/John%20Jayson/AppData/Roaming/Microsoft/Windows/Start%20Menu/Programs/IT%20Box%20Incorporated/Payroll%20System.appref-ms%7C 

ERROR SUMMARY 
    Below is a summary of the errors, details of these errors are listed later in the log. 
    * Activation of C:\Users\John Jayson\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\IT Box Incorporated\Payroll System.appref-ms| resulted in exception. Following failure messages were detected: 
     + Activation failed. 
     + The system cannot find the file specified. (Exception from HRESULT: 0x80070002) 

COMPONENT STORE TRANSACTION FAILURE SUMMARY 
    No transaction error was detected. 

WARNINGS 
    There were no warnings during this operation. 

OPERATION PROGRESS STATUS 
    * [2/15/2013 12:39:05 PM] : Activation of C:\Users\John Jayson\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\IT Box Incorporated\Payroll System.appref-ms| has started. 
    * [2/15/2013 12:39:05 PM] : Performing necessary update check as specified by the deployment. 

ERROR DETAILS 
    Following errors were detected during this operation. 
    * [2/15/2013 12:39:05 PM] System.Deployment.Application.DeploymentException (Activation) 
     - Activation failed. 
     - Source: System.Deployment 
     - Stack trace: 
      at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) 
      at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) 
      at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter) 
      at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile) 
      at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) 
      at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) 
     --- Inner Exception --- 
     System.IO.FileNotFoundException 
     - The system cannot find the file specified. (Exception from HRESULT: 0x80070002) 
     - Source: System.Deployment 
     - Stack trace: 
      at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation) 
      at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) 

COMPONENT STORE TRANSACTION DETAILS 
    No transaction information is available. 

所以窗口說Application cannot be started彈出一個通知窗口從Avast的說,這是一個Win32:Evo-gen威脅之前。

我該怎麼辦?

+1

你是如何安裝的?點擊一次?如果你在AV軟件中列出白名單並嘗試運行,會發生什麼情況,這是否仍然是錯誤?你確定沒有什麼不好的東西放到源代碼中嗎?您是否運行完整的系統AV掃描? – John 2013-02-15 04:40:06

+0

也看起來像很多從任何.Net相關的誤報:http://forum.avast.com/index.php?topic=113984.0,確保你是最新的,因爲它看起來像是固定的Janurary結束 – John 2013-02-15 04:41:40

+0

我正在掃描我編碼並現在發佈的系統。我知道它的源代碼中沒有什麼不好,它只是訪問它的數據庫,它是一個數據庫。它是點擊一次 – 2013-02-15 04:51:15

回答

1

它也發生在我身上,我在c#中有項目,我在我的項目中使用外部Ribbon35控件,它具有創建,掃描,處理等選項卡的選項。當我添加4個新選項卡並在選項卡上添加按鈕時突然顯示[Win32:Evo-gen]並且exe被阻止。請記住,我沒有重命名Tab Names,而是使用其默認名稱,例如[RibbonTab1,captiontext = Scanning]。雖然Antivirus會將此視爲來自我的應用程序的惡意行爲,但我會將其所有標籤重命名爲其行爲和問題已消失。 (可能黑客不在乎命名控件是他們的行爲)

0

好友,它檢測爲病毒,因爲它包含付款,它認爲你有勒索軟件,你可以添加到排除我認爲,但我從未使用avast,它不是最好的防病毒軟件,如果你想要一個免費的防病毒軟件,或者如果你想最好:卡巴斯基,或者你應該使用另一種方法,但我更喜歡卸載avast並安裝更好的防病毒軟件,檢查AV Test 的網站,然後選擇最好的保護級別,你需要什麼

問候

+0

客戶端,他們會卸載avast! – Zeeshanef 2014-03-09 14:15:54

1

我也面臨這個問題在使用VB.NET處理項目時,然後將我最近的更新改回來找出問題。問題出在一個「插入」語句,我在下面的代碼中直接從Datetimepicker Control獲取日期值。

dtpJD.Value.ToString("yyyy/MM/dd HH:mm:ss")

然後我用Insert語句變量替代它,一切都很好。

parJDDate = dtpJD.Value.ToString("yyyy/MM/dd HH:mm:ss")

相關問題