2

我有一个使用 Visual C# Express 编写的薪资系统。我实际上已经完成了编码并发布了它。但是每当我将它安装在笔记本电脑上时,它就会被 Avast 阻止!防病毒软件可疑并停止该过程。之后应用程序无法启动事件,尽管它安装时说文件丢失。它有这个details

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威胁。

我应该怎么办?

4

4 回答 4

1

It also happened with me, I have project in c#, I am using external Ribbon35 control in my project which has option in tabs like creating, scanning, processing etc. When I added 4 new tabs and added buttons on tabs it suddenly shows [Win32:Evo-gen] and exe was blocked. Please remember I did not rename Tab Names instead they were on its default names like [RibbonTab1, captiontext = Scanning] I though Antivirus would have thinking this as malicious behavior from my application, I rename all tabs as like its behavior and problem gone. (May be hackers don't care about naming controls as their behaviors)

于 2013-11-01T08:04:15.537 回答
1

我在使用 VB.NET 进行项目时也遇到了这个问题,然后我将最近的更新改回以找出问题所在。问题出在“插入”语句中,我使用下面的代码直接从 Datetimepicker 控件中获取日期值。

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

然后我用 Insert 语句中的变量替换它,一切都很好。

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

于 2014-04-04T15:37:14.533 回答
0

找到一条线索.. - 当我的应用程序从名称中包含外来字符的文件夹中运行时,Avast 将阻止它。- 在我将文件夹重命名为仅包含英文字符之后。问题解决了。

于 2020-04-24T13:34:45.557 回答
-1

哥们,它检测为病毒,因为它包含付款,它认为你有一个勒索软件,你可以添加到排除我认为,但我从未使用过 avast,它不是最好的杀毒软件,如果你想要一个具有良好保护使用的免费杀毒软件comodo,或者如果您想要最好的:卡巴斯基,或者您应该使用其他方法,但我更喜欢卸载 avast 并安装更好的防病毒软件,检查AV 测试站点 并选择您需要的最佳保护级别

问候

于 2014-02-05T11:50:16.213 回答