返回列表 发帖

求助 在开发环境打不开用户程序-条件程序

下面是打开后 报告的详细信息
Exception:
配置系统未能初始化

Stack Trace:

Server stack trace:
   在 System.Configuration.ConfigurationManager.PrepareConfigSystem()
   在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
   在 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   在 System.Net.Configuration.SettingsSectionInternal.get_Section()
   在 System.Net.Sockets.Socket.InitializeSockets()
   在 System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   在 System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   在 System.Runtime.Remoting.Channels.RemoteConnection..ctor(SocketCache socketCache, String machineAndPort)
   在 System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
   在 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
   在 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   在 System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
   在 System.Configuration.ConfigurationManager.PrepareConfigSystem()
   在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
   在 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   在 System.Net.Configuration.SettingsSectionInternal.get_Section()
   在 System.Net.Sockets.Socket.InitializeSockets()
   在 System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   在 System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   在 System.Runtime.Remoting.Channels.RemoteConnection..ctor(SocketCache socketCache, String machineAndPort)
   在 System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
   在 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
   在 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   在 System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [1]:
   在 System.Configuration.ConfigurationManager.PrepareConfigSystem()
   在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
   在 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   在 System.Net.Configuration.SettingsSectionInternal.get_Section()
   在 System.Net.Sockets.Socket.InitializeSockets()
   在 System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   在 System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   在 System.Runtime.Remoting.Channels.RemoteConnection..ctor(SocketCache socketCache, String machineAndPort)
   在 System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
   在 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
   在 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   在 System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [2]:
   在 System.Configuration.ConfigurationManager.PrepareConfigSystem()
   在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
   在 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   在 System.Net.Configuration.SettingsSectionInternal.get_Section()
   在 System.Net.Sockets.Socket.InitializeSockets()
   在 System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   在 System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
   在 System.Runtime.Remoting.Channels.RemoteConnection..ctor(SocketCache socketCache, String machineAndPort)
   在 System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
   在 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
   在 System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   在 System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [3]:
   在 System.Configuration.ConfigurationManager.PrepareConfigSystem()
   在 System.Configuration.ConfigurationManager.GetSection(String sectionName)
   在 ControlEase.Inspec.PropertyPad.PropertyPadConfigurationSection.get_Default()
   在 ControlEase.Inspec.PropertyPad.SetSelectedObjectInternal(Object[] objects)
   在 ControlEase.Inspec.PropertyPad.SetSelectedObject(Object[] objects)
   在 ControlEase.Inspec.PropertyService.SelectedGeneralPadObjects(Object[] objects)
   在 ControlEase.Inspec.PropertyService.SetSelectedObject(Object[] objects)
   在 ControlEase.Inspec.PropertyService.set_SelectedObjects(Object[] value)
   在 ControlEase.Inspec.InDataGridView.PropertyGridSelected(Object[] values)
   在 ControlEase.Inspec.InDataGridView.Active()
   在 ControlEase.Inspec.InDataGridView.Initialize()
   在 ControlEase.Inspec.InDataGridView.Initialize(IDocument document)
   在 ControlEase.Inspec.InDataGridView.Initialize(IDocument document, ViewContent viewContent)
   在 ControlEase.Inspec.Users.SecurityZoneEditorEx..ctor(SecurityZone zone, ViewContent view)
   在 ControlEase.Inspec.Users.SecurityZoneViewContent..ctor(IDocEditable docEditable, IDocument document, ViewContentInfo info)
   在 ControlEase.Inspec.Users.SecurityZoneDev.CreateView(IDocument document)
   在 ControlEase.Inspec.BaseDev.OpenDocument(IDocument document)
   在 ControlEase.Inspec.BrowserNode.ActiveItem()
   在 ControlEase.Inspec.ProjectBrowserView.OnDoubleClick(EventArgs e)
   在 System.Windows.Forms.TreeView.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)

如果是工程问题,就会建议您新建一个工程测试了。
是环境问题,所以请您电话联系技术支持。

TOP

回复 2# service


     并不只是一个工程文件问题,用演示文件也是出现同样的问题

TOP

您好
请把问题工程发给技术支持查找问题。010-51658941

TOP

返回列表