• 締切済み

イベントビュアーでエラー発生

イベントビュアーを開こうとすると、「スナップインのエラーがMMCにより検出されたので、スナップインがアンロードされます。」と表示されます。 スナップインをアンロードして、実行し続けるを選択すると Managed Codeスナップインで未処理の例外 FX:{b05566ad-fe9c-4363-be05-7a4cbb7cb510} パス 'C:\Users\admin\AppData\Local\Microsoft\Event Viewer\Settings.Xml' の一部が見つかりませんでした。 例外の種類: System.lO.DirectoryNotFoundException 例外のスタックトレース: 場所 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 場所 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 場所 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) 場所 System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) 場所 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) 場所 System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) 場所 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) 場所 System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) 場所 System.Xml.XmlTextReaderImpl.OpenUrl() 場所 System.Xml.XmlTextReaderImpl.Read() 場所 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) 場所 System.Xml.XmlDocument.Load(XmlReader reader) 場所 System.Xml.XmlDocument.Load(String filename) 場所 Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.InitialiePreviewSizeFromConfigFile() 場所 Microsoft.Windows.ManagementUI.CombinedControls.EventsNode.InitializeConfigDirectories() 場所 Microsoft.Windows.ManagementUI.CombinedControls.EventsNode..ctor() 場所 Microsoft.Windows.ManagementUI.CombinedControls.EventsNode..ctor(EventNodeType type) 場所 Microsoft.EventViewer.SnapIn.MMCRootNode..ctor(String remotecomputerName, String userDomain, String userName, SecureString encryptedPassword) 場所 Microsoft.EventViewer.SnapIn.EventViewerSnapIn.OnInitialize() 場所 Microsoft.ManagementConsole.SnapInBase.Initialized() 場所 Microsoft.ManagementConsole.Internal.SnapInClient.Microsoft.ManagementConsole.Internal.ISnapInClient.Initialize(ISnapInPlatform snapInPlatform) 場所 Microsoft.ManagementConsole.Executive.SnapInInitializationOperation.OnStart() 場所 Microsoft.ManagementConsole.Executive.RunningOperationsTable.EnqueueOperation(Operation operation) 場所 Microsoft.ManagementConsole.Advanced.FrameworkSnapInFactory.Microsoft.ManagementConsole.Advanced.ISnapInFactory.CreateSnapIn(Int32 bookkeepingId, String snapInKey, Object& snapIn) と意味不明なのが表示されます・・・。 一応ググってそれらしいのが出てきたのですが、書いてある意味がさっぱりわかりません。。。 できましたら細かな操作の手順をご教授いただけると助かるのですが。 OSはWindwos10Proで自作PCを最近購入したばかりです。 ちなみにこの状態で放置するとかなりまずいのでしょうか? ついでにメモリ診断ツール使ってみると問題発生・・・。 パソコンを普通に使っていて支障がなければいいんですが、何が原因かもさっぱりわかりません。 どなたかよろしければご回答お願いいたします。

みんなの回答

  • 2012tth
  • ベストアンサー率20% (1889/9435)
回答No.2

追記 保存しているフォルダが異なっていても同じフォト (ビューアー) に 纏めて項目別に表示されているので、私的に重宝しています。

  • 2012tth
  • ベストアンサー率20% (1889/9435)
回答No.1

50代♂ 同じく、自作 PC ですが? Windows 7 Pro → Windows 10 Pro にしましたが直後からインベントビューア自体見ていませんが? 何処から開いていますか? PC 内に保存しているフォト系は、Windows スタートより開くメニュー に表示されていて、アイコンをクリックするとフォト (ビューア) が起動 します。

関連するQ&A

  • windows7の起動時にエラーメッセージ

    パソコンを起動したら添付画像のようなエラーメッセージが出てきました。 詳細をクリックすると Just-In-Time (JIT) デバッグを呼び出すための詳細については、 ダイアログ ボックスではなく、このメッセージの最後を参照してください。 ************** 例外テキスト ************** System.UnauthorizedAccessException: パス 'C:\Users\Rintaro\AppData\Local\Dportal\V2\APP\app_list.xml' へのアクセスが拒否されました。 場所 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 場所 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) 場所 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) 場所 System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding) 場所 System.Xml.XmlDocument.Save(String filename) 場所 dynabookPortalGadget.clsAppLauncher.DownloadAppList() 場所 dynabookPortalGadget.clsAppLauncher.init() 場所 dynabookPortalGadget.frmMain.frmMain_Load(Object sender, EventArgs e) 場所 System.EventHandler.Invoke(Object sender, EventArgs e) 場所 System.Windows.Forms.Form.OnLoad(EventArgs e) 場所 System.Windows.Forms.Form.OnCreateControl() 場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) 場所 System.Windows.Forms.Control.CreateControl() 場所 System.Windows.Forms.Control.WmShowWindow(Message& m) 場所 System.Windows.Forms.Control.WndProc(Message& m) 場所 System.Windows.Forms.ScrollableControl.WndProc(Message& m) 場所 System.Windows.Forms.ContainerControl.WndProc(Message& m) 場所 System.Windows.Forms.Form.WmShowWindow(Message& m) 場所 System.Windows.Forms.Form.WndProc(Message& m) 場所 dynabookPortalGadget.frmMain.WndProc(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** 読み込まれたアセンブリ ************** mscorlib アセンブリ バージョン: 2.0.0.0 Win32 バージョン: 2.0.50727.4959 (win7RTMGDR.050727-4900) コードベース: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- dynabook Portal Gadget アセンブリ バージョン: 2.0.0.0 Win32 バージョン: 2.0.0 コードベース: file:///C:/Program%20Files%20(x86)/dynabook%20Portal%20Gadget/dynabook%20Portal%20Gadget.exe (字数の関係で中略。似たようなことがいくつか書いてありました。) ************** JIT デバッグ ************** Just-In-Time (JIT) デバッグを有効にするには、このアプリケーション、 またはコンピュータ (machine.config) の構成ファイルの jitDebugging 値を system.windows.forms セクションで設定しなければなりません。 アプリケーションはまた、デバッグを有効にしてコンパイルされなければ なりません。 例: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> JIT デバッグが有効なときは、このダイアログ ボックスで処理するよりも、 ハンドルされていない例外はすべてコンピュータに登録された JIT デバッガに設定されなければなりません。 こんな感じです。 このエラーはどのようにすれば表示されないようになるでしょうか? あと、関係ないかもしれませんが、デスクトップの背景の画像を単色から変えられなかったり、スクリーンショットが取れなかったり(今回のSSはスカイプで友達と画面共有して友達に共有画面のSSを取ってもらい、画像ファイルを送ってもらいました)、言語ツールバーがなくなっていたり・・・色んな不具合が生じています。 パソコンは dynabook T350/36AW OS windows7 Home Premium64bit CPU インテルcore i5-460Mプロセッサー 一応最低限普通に使うことはできるのですが、何かと不便ですし、エラーがどこに影響しているのかわからなくて不安です・・・ 何か解決方法がわかる方がいらっしゃいましたらご教授お願いします。

  • ウィンドウズ7起動時に毎回エラー枠が表示されるが、

    Windows7の起動時に、毎回Microsoft. NET Frameworkのエラーメッセージはが表示されて困っています。いったいどうすればなおるのでしょうか? なお、詳細をクリックすると下記のテキストが表示されます。 ************** 例外テキスト ************** System.Configuration.ConfigurationErrorsException: 構成システムを初期化できませんでした。 ---> System.Configuration.ConfigurationErrorsException: ルート要素が見つかりません。 (C:\Users\EMA\AppData\Local\MSI\SCM.exe_Url_zv0ikcohnhzptbjtykvepncdk0ijftla\14.13.7054.0\user.config) ---> System.Xml.XmlException: ルート要素が見つかりません。 場所 System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) 場所 System.Xml.XmlTextReaderImpl.ParseDocumentContent() 場所 System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors) 場所 System.Configuration.BaseConfigurationRecord.InitConfigFromFile() --- 内部例外スタック トレースの終わり --- 場所 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) 場所 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) 場所 System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e) --- 内部例外スタック トレースの終わり --- 場所 System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e) 場所 System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord) 場所 System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) 場所 System.Configuration.BaseConfigurationRecord.GetSection(String configKey) 場所 System.Configuration.ConfigurationManager.GetSection(String sectionName) 場所 System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped) 場所 System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties) 場所 System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) 場所 System.Configuration.SettingsBase.SetPropertyValueByName(String propertyName, Object propertyValue) 場所 System.Configuration.SettingsBase.set_Item(String propertyName, Object value) 場所 System.Configuration.ApplicationSettingsBase.set_Item(String propertyName, Object value) 場所 MSI.SCM.SCMII.MainForm_Load(Object sender, EventArgs e) 場所 System.Windows.Forms.Form.OnLoad(EventArgs e) 場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) 場所 System.Windows.Forms.Control.CreateControl() 場所 System.Windows.Forms.Control.WmShowWindow(Message& m) 場所 System.Windows.Forms.Control.WndProc(Message& m) 場所 System.Windows.Forms.Form.WndProc(Message& m) 場所 MSI.SCM.SCMII.WndProc(Message& m) 場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** 読み込まれたアセンブリ ************** mscorlib アセンブリ バージョン: 4.0.0.0 Win32 バージョン: 4.0.30319.18063 built by: FX45RTMGDR コードベース: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- SCM アセンブリ バージョン: 14.13.7054.0 Win32 バージョン: 14.013.07054.0 コードベース: file:///C:/Program%20Files%20(x86)/SCM/SCM.exe ---------------------------------------- System.Windows.Forms アセンブリ バージョン: 4.0.0.0 Win32 バージョン: 4.0.30319.34251 built by: FX452RTMGDR コードベース: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing アセンブリ バージョン: 4.0.0.0 Win32 バージョン: 4.0.30319.18021 built by: FX45RTMGDR コードベース: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5

  • 弥生ドライブが起動しません

    弥生販売15プロフェッショナルを使用しています。 ある日突然、弥生ドライブが起動しなくなりました。 いろいろと調べてみたところ以下のログが出てきました。 - ファイルのシリアライズ/デシリアライズ処理中にエラーが発生しました。 System.InvalidOperationException: XML ドキュメント (0,0) でエラーが発生しました。 ---> System.Xml.XmlException: ルート要素が見つかりません。 場所 System.Xml.XmlTextReaderImpl.Throw(Exception e) 場所 System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) 場所 System.Xml.XmlTextReaderImpl.ParseDocumentContent() 場所 System.Xml.XmlTextReaderImpl.Read() 場所 System.Xml.XmlTextReader.Read() 場所 System.Xml.XmlReader.MoveToContent() 場所 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderYDUserFile.Read6_LoginUser() --- 内部例外スタック トレースの終わり --- 場所 System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) 場所 System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) 場所 Yayoi.Drive.Client.Common.SerializeUtility.Deserialize[T](String path) 2015/03/31 10:09:17 [FATAL] (1_70) - 弥生ドライブの起動中にエラーが発生しました。 System.NullReferenceException: オブジェクト参照がオブジェクト インスタンスに設定されていません。 場所 Yayoi.Drive.Client.Presentation.Command.StartProcess.CheckMypageIdCustId() 場所 Yayoi.Drive.Client.Presentation.Command.StartProcess.IsUserGuideShow() 場所 Yayoi.Drive.Client.Presentation.Command.StartProcess.Execute(Object parameter) 場所 Yayoi.Drive.Client.Application.App.Application_Startup(Object sender, StartupEventArgs e) 午前中は問題ありませんでしたが、午後に異常となりました。 その間、PCのアップデートなどは行ってません。 何が原因か全く解らず困っています。

  • MS SQL Server 2005 express データベースに登録する際のエラー

    本についていた サンプルを動かそうとしてSQL server 2005 expressをインストールしたのですがサンプルデータベースに登録する際にDBエラーになって、うまくSQLServer 2005 Expressに接続できません。 エラーの内容は System.Data.SqlClient.SqlException:サーバーへの接続を確立しているときにエラーが発生しました。SQL Server 2005 に接続しているときときにこのエラーが発生した場合は、SQL Serverの既定の設定がリモート接続を許可しないようになっていることがエラーの原因である可能性があります。 (provider: 名前付きパイプ プロバイダ, error: 40 - SQL Server への接続を開けませんでした) 場所 System.Data.SqlClient.SqlInternalConnection.OnError(SqlExceptionexception, Boolean breakConnection) 場所System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) 場所 System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) 場所 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) 場所 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity > identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) 場所 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) 場所 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) 場所 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) 場所 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) 場所 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) 場所 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) 場所 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) 場所 System.Data.SqlClient.SqlConnection.Open() 場所 Seasar.Framework.Util.DataSourceUtil.GetConnection(IDataSource dataSource) ・ ・ ・ となり、データベースの登録に失敗しましたとなります。 初歩的なことでもうしわけないのですが、よろしくお願いします。

  • 起動するとクラッシュします。

    InPixio Photo Focus Crash Report ---------------- Internal Name: PhotoFocus.exe Version: 3.7.6646.26812 (32-bit) Built: 平成30年3月13日 13:53:45 GMT Date: 令和2年1月2日 9:32:06 GMT OS Version: Microsoft Windows NT 10.0.18363.0 (64-bit) OS Friendly Version: Microsoft Windows 10 Pro Processor Name: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz Processor Count: 12 Working Set: 82825216 Managed Memory Consumption: 5001344 Total Phys: 16977260544 Total Virtual: 4294836224 Available Phys: 8448094208 Available Virtual: 3858026496 Current UI Culture: ja-JP Current Culture: ja-JP Exception Type: System.ArgumentOutOfRangeException Exception Message: 指定された引数は、有効な値の範囲内にありません。 パラメーター名:時間値が年号の範囲を超えています。 Exception Stack Trace: 場所 System.Globalization.GregorianCalendarHelper.GetEra(DateTime time) 場所 System.Globalization.JapaneseCalendar.GetEra(DateTime time) 場所 System.DateTimeFormat.FormatCustomized(DateTime dateTime, String format, DateTimeFormatInfo dtfi, TimeSpan offset) 場所 System.DateTimeFormat.Format(DateTime dateTime, String format, DateTimeFormatInfo dtfi, TimeSpan offset) 場所 System.DateTimeFormat.Format(DateTime dateTime, String format, DateTimeFormatInfo dtfi) 場所 System.DateTime.ToShortDateString() 場所 InPixio.Imaging.ThumbnailHelper.LoadThumbnailAndInfo(String path, Int32 minLongEdge, Int32 maxLongEdge, String& info) 場所 InPixio.Imaging.ThumbnailHelper.LoadThumbnailAndInfo(String path, Int32 longEdge, Dictionary`2 Metadata) 場所 OneFix.ViewModels.SampleItem..ctor(String path) 場所 OneFix.ViewModels.PhotoFocusShellViewModel..ctor() 場所 OneFix.App.App_Startup(Object sender, StartupEventArgs e) 場所 System.Windows.Application.OnStartup(StartupEventArgs e) 場所 System.Windows.Application.<.ctor>b__1_0(Object unused) 場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ※OKWAVEより補足:「ソースネクスト株式会社の製品・サービス」についての質問です。

  • SQLサーバー インストール時にエラーになる

    win764bitです。 SQLサーバー2008をインストールしようとすると、 **************************************************** アプリケーションのコンポーネントで、 ハンドルされていない例外が発生しました。 続行をクリックすると、アプリケーションはこのエラーを無視し、 続行しようとします。 終了をクリックすると、アプリケーションは直ちに終了します。 ************** 例外テキスト ************** System.Configuration.ConfigurationErrorsException: userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings のための構成セクション ハンドラを作成中にエラーが発生しました。: ファイルまたはアセンブリ 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'、またはその依存関係の 1 つが読み込めませんでした。指定されたファイルが見つかりません。 (C:\Users\1\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException: ファイルまたはアセンブリ 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'、またはその依存関係の 1 つが読み込めませんでした。指定されたファイルが見つかりません。 ファイル名 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' です。 場所 System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError) 場所 System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) 場所 System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord) 場所 System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord) 場所 System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) 警告: アセンブリ バインドのログ記録がオフにされています。 アセンブリ バインドのエラー ログを有効にするには、レジストリ値 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) を 1 に設定してください。 注意: アセンブリ バインドのエラー ログに関連するパフォーマンス ペナルティがあります。 この機能をオフにするには、レジストリ値 [HKLM\Software\Microsoft\Fusion!EnableLog] を削除します。 --- 内部例外スタック トレースの終わり --- 場所 System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) 場所 System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) 場所 System.Configuration.BaseConfigurationRecord.GetSection(String configKey) 場所 System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName) 場所 System.Configuration.ConfigurationManager.GetSection(String sectionName) 場所 System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped) 場所 System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties) 場所 System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) 場所 System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName) 場所 System.Configuration.SettingsBase.get_Item(String propertyName) 場所 System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName) 場所 System.Configuration.ApplicationSettingsBase.get_Item(String propertyName) 場所 Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e) 場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) 場所 System.Windows.Forms.Control.CreateControl() 場所 System.Windows.Forms.Control.WmShowWindow(Message& m) 場所 System.Windows.Forms.Control.WndProc(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) **************************************************** と言うエラーが表示されます。 続行してインストールしようとすると、最終的にエラーになり インストールできません。 Microsoft.NET Frameworkは4と4.5しかインストールされてない状態です。 SQLServer2008SP1-KB968369-IA64-JPN.exe SQLManagementStudio_x64_JPN.exe SQLEXPR_x64_JPN.exe これら全部同じエラーが出ます。

  • VB2005による旧形式の対応について

    どなたかご教授下さい。 現在、WINXPでVB2005へのバージョンアップ処理をしています。 VB2003のときは出なかったのですが、下記ソースの「objXml.Document」で警告が出てしまいました。 いろいろ調べたのですがどう対処したらよいかわかりません。どなたかご教授願いないでしょうか? 互換による影響だということは分かるのですが、どう修正すればよいのか途方にくれております。 Protected WithEvents objXml As Global.System.Web.UI.WebControls.Xml Dim xml As String = XML_DATA Dim objDoc As XmlDocument = New XmlDocument objDoc.Load(New XmlTextReader(New StringReader(xml))) objXml.Document = objDoc 警告 'Public Property Document() As System.Xml.XmlDocument' は旧形式です: 'The recommended alternative is the XPathNavigator property. Create a System.Xml.XPath.XPathDocument and call CreateNavigator() to create an XPathNavigator.

  • C#のXmlDocumentについて

    C#のXmlDocumentについて質問です。 using System; using System.Xml; using System.Windows; public class XmlNewClass{ public static void Main(String [] args){ XmlDocument xmlObj = new XmlDocument(); xmlObj.Load("./test.xml"); XmlNode nodeObj = xmlObj.GetElementsByTagName("root").Item(0); Console.WriteLine(nodeObj); } } 上記のようなコードがあったとします。 この場合、プロンプトに表示されるないようは 〔System.Xml.XmlElement〕という記述が出力されます。 次に XmlElement elementObj =nodeObj; というコードを追加したとします。 それを実行してみると /****************************************************************** xml.cs(21,26): error CS0266: 型 'System.Xml.XmlNode' を 'System.Xml.XmlElement' に暗黙的に変換できません。明示的な変換が存在します。(cast が不足していないかどうかを確認してください) ***************************************************************************/ というようなエラーがプロンプト上に表示されます。 これはnodeObjがXmlNodeというクラスだということですが (実際GetElementsByTagNameで帰って来るオブジェクトはXmlNodeというクラスだとマニュアルにも記載がありました) なぜ冒頭のコードで Console.WriteLine(nodeObj); の箇所の出力で〔XmlElement〕という内容が出力されたのでしょうか? 同じオブジェクトなのに、なぜ出力と型がことなるのでしょうか? ご教授よろしくお願いします。

  • XMLデータをパーサーをかけてテキストデータにするには?

    VB2005の初心者です。 XMLファイルを読み込んで、パーサーをかけてテキストデータにしたいのですが、やり方が分りません。 (パーサーを使わずにテキストデータにすることはできます。) ご存知の方は、ヒントでも良いので教えていただきたいです。 仕事で行き詰っているため、たくさんの方の情報をいただけると幸いです。 下記は、パーサーを使わないやり方です。 Dim xmlDoc As XmlDocument = New XmlDocument Dim strText As String xmlDoc.PreserveWhitespace = True xmlDoc.Load("C:\XMLData.xml") strText = xmldoc.OuterXml パーサーを使う場合、下記のようになると思うのですが、 どのようにテキストデータにすれば良いのか分りません。 (OuterXmlが使えません。) Dim xmlDoc As MSXML2.DOMDocument = New MSXML2.DOMDocument Dim strText As String xmlDoc.PreserveWhitespace = True xmlDoc.Load("C:\XMLData.xml") よろしくお願い致します。

  • Javaのプログラムの質問です。

    Javaのプログラムについての質問です。 Listインターフェースの実装クラスの自作と、作成したクラスの全メソッドを呼び出すサンプルを作成せよ、という問題です。  注意点として、java.util.Listの実装クラスは使用出来ません(ArrayListなど)。実装するメソッドは、コードの中に番号を振ってあります。 import java.util.Collection; import java.util.Iterator; import java.util.ListIterator; import java.util.List; class LocalList implements List{  private int Count;  private String Data[];  private Iterator ite;  private ListIterator lite;  // コンストラクタ  void mylist(){   Data = new String[10];   Count = 0;  }  (1)  public boolean add(Object str){   if(Count >= 10){    return false;   }   Data[Count ++] = new String((String)str);   return true;  }  public void add(int i,Object str){  }        public boolean addAll(Collection c){   return false;  }        public boolean addAll(int i,Collection c){   return false;  }    (2)  public void clear(){   Count = 0;  }  public boolean contains(Object str){   return false;  }          public boolean containsAll(Collection c){   return false;  }  public boolean equals(Object str){   return false;  }    (3)  public Object get(int i){   return (i >= Count);  }  public int hashCode(){   return -1;  }  public int indexOf(Object str){   return -1;  }  public boolean isEmpty(){   return false;  }  public Iterator iterator(){   return ite;  }     public int lastIndexOf(Object str){   return -1;  }     public ListIterator listIterator(){   return lite;  }     public ListIterator listIterator(int i){   return lite;  }    (4)  public Object remove(int i){   return (i >= Count);  }    public boolean remove(Object str){   return true;  }         public boolean removeAll(Collection c){   return false;  }         public boolean retainAll(Collection c){   return false;  }    (5)  public Object set(int i,Object str){   return Data[i];  }    (6)  public int size(){   return Count;  }  public List subList(int i,int j){   return this;  }  public Object[] toArray(){   return Data;  }  public Object[] toArray(Object[] a){   return Data;  } } class Main {  public static void main(String[] args) {   mylist sub = new mylist();   sub.add("ビルドバーニングガンダム");   sub.add("ライトニングガンダム");   sub.add("ウイニングガンダム");   sub.add("ガンダムフェニーチェリナーシタ");   sub.add("R・ギャギャ");   for(int i = 0; i < sub.size(); i++){      System.out.println(sub.get(i));   }   // 改行   System.out.println();   // setメソッド   sub.set(1,"ガンダムエピオン");   for(int i = 0; i < sub.size(); i++){    System.out.println(sub.get(i));   }   // 改行   System.out.println();   // sizeメソッド   System.out.println("\r\n" + "機体数は" + sub.size() + "です" + "\r\n");   // removeメソッド   sub.remove(1);   for(int i = 0; i < sub.size(); i++){       System.out.println(sub.get(i));   }   // clearメソッド   sub.clear();   System.out.println("\r\n" + "機体数が" + sub.size() + "になったので負けです");    } } setメソッドとremoveメソッド以外は起動するのようになったのですが、この2つがうんともすんとも動きません。ジェネリクス型を使うという考え方もあるらしいのですが、ネットで調べてもピンと来ず寸詰まり状態になってしまっています。後少しだと思うのですが。。。。 どなたかご教授頂けないでしょうか?よろしくお願い致します。