FetalExecutionEngineError

FetalExecutionEngineError

本文介绍了在OpenFileDialog.showDialog()上发生FetalExecutionEngineError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我有一个使用 .Net Frameword 4 并以任何CPU 模式构建的WPF应用程序.
我有一个通过Bellow代码备份和还原软件数据库的窗口:

Hii have A WPF Application That use .Net Frameword 4 And Build in Any CPU Mode.
i have A Window To Backup And Restore Software Database by Bellow Code:

private void GetBackup(object sender, RoutedEventArgs e)
{
    System.Windows.Forms.SaveFileDialog SF = new System.Windows.Forms.SaveFileDialog();
    SF.Title = "Save Backup File";
    SF.Filter = "Standard Zip File (*.Zip) |*.zip";
    if (SF.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    {
        DBConnection.GetBackup(SF.FileName);
        MessageBox.Show("Backup Complete.", "Backup Manager", MessageBoxButton.OK, MessageBoxImage.Information);
    }
}

private void RestorBackup(object sender, RoutedEventArgs e)
{
    System.Windows.Forms.OpenFileDialog RF = new System.Windows.Forms.OpenFileDialog();
    RF.Title = "Restor Backup File";
    RF.Filter = "Standard Zip File (*.Zip) |*.zip";
    if (RF.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    {
        DBConnection.RetBackup(RF.FileName);
        MessageBox.Show("Restor Complete.", "Backup Manager", MessageBoxButton.OK, MessageBoxImage.Information);
    }
}



现在,当调用RF/SF.ShowDialog()行时,我得到FetalExecutionEngineError.
什么是问题?

注意:我使用Access 2010数据库( Microsoft.ACE.OLEDB.12.0 ).



Now I Get FetalExecutionEngineError When Call RF/SF.ShowDialog() Line.
What is Problem?

Note: i Use Access 2010 DataBase (Microsoft.ACE.OLEDB.12.0).

Help Me Please!

推荐答案




这篇关于在OpenFileDialog.showDialog()上发生FetalExecutionEngineError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 09:28