level 1
medivh12
楼主
该程序在win8.1可以流畅运行,百度后觉得应该是net4.6的问题,但是machine.config里明显写有"runtime"这个配置节,同时有其他程序无法识别诸如“start up”这个

error:
2016/06/24 02:40:09 ---------------------------------------------
System.Configuration.ConfigurationErrorsException: 配置系统未能初始化 ---> System.Configuration.ConfigurationErrorsException: 无法识别的配置节 runtime。 (C:\ShimakazeGo\ShimakazeGo.exe.Config line 3)
在 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
在 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
在 System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
在 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Configuration.ConfigurationManager.PrepareConfigSystem()
在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
在 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
在 System.Net.Configuration.ConnectionManagementSectionInternal.GetSection()
在 System.Net.ServicePointManager.get_ConfigTable()
在 System.Net.ServicePointManager.set_InternalConnectionLimit(Int32 value)
在 System.Net.ServicePointManager.set_DefaultConnectionLimit(Int32 value)
在 ShimakazeGo.Window_Initialize.a()
该程序config截图:

2016年06月25日 12点06分
1

error:2016/06/24 02:40:09 ---------------------------------------------
System.Configuration.ConfigurationErrorsException: 配置系统未能初始化 ---> System.Configuration.ConfigurationErrorsException: 无法识别的配置节 runtime。 (C:\ShimakazeGo\ShimakazeGo.exe.Config line 3)
在 System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
在 System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
在 System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
在 System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Configuration.ConfigurationManager.PrepareConfigSystem()
在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
在 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
在 System.Net.Configuration.ConnectionManagementSectionInternal.GetSection()
在 System.Net.ServicePointManager.get_ConfigTable()
在 System.Net.ServicePointManager.set_InternalConnectionLimit(Int32 value)
在 System.Net.ServicePointManager.set_DefaultConnectionLimit(Int32 value)
在 ShimakazeGo.Window_Initialize.a()
该程序config截图:
