2

Visual C# Express を使用して作成された給与計算システムがあります。私は実際にすでにコーディングを終えて公開しています。しかし、ラップトップにインストールするたびに、アバストによってブロックされています! ウイルス対策は疑わしいものとしてプロセスを停止します。その後、ファイルが無いと言ってインストールしたのにアプリを起動できません。それはその中にこれを持っています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ポップアップする前に、アバストからの通知ウィンドウがWin32:Evo-gen脅威であると表示されます。

私は何をすべきか?

4

4 に答える 4

1

それは私にも起こりました。私はc#でプロジェクトを持っています。プロジェクトで外部Ribbon35コントロールを使用しています。これには、作成、スキャン、処理などのタブのオプションがあります.4つの新しいタブを追加し、タブにボタンを追加すると、突然[Win32 :Evo-gen] と exe がブロックされました。[RibbonTab1, captiontext = Scanning] のようなデフォルトの名前になっている代わりに、タブ名の名前を変更しなかったことを覚えておいてください。Antivirus はこれを私のアプリケーションからの悪意のある動作と考えていましたが、その動作と問題がなくなったように、すべてのタブの名前を変更しました。(ハッカーは、動作としてコントロールの名前を付けることを気にしないかもしれません)

于 2013-11-01T08:04:15.537 に答える
1

また、VB.NET を使用してプロジェクトに取り組んでいるときにこの問題に直面しました。その後、最近の更新を元に戻して問題を特定しました。問題は、以下のコードを使用して Datetimepicker コントロールから日付値を直接取得する「挿入」ステートメントにありました。

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

次に、それを Insert ステートメントの Variable に置き換えましたが、すべて問題ありませんでした。

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

于 2014-04-04T15:37:14.533 に答える