您的位置:首页 > 移动开发 > Objective-C

SAS EG RPC服务器不可用问题解决

2008-03-20 14:09 337 查看
在EG中打开表或者运行代码时,EG报错退出,如下错误:
----------------------------------------------------------------------------------
System.ComponentModel.Win32Exception

RPC 服务器不可用。

------------------------------ Technical Information Follows ------------------------------

[System.Drawing]
 
 RPC 服务器不可用。
 
 ----------------------------------------------------
 
    at System.Drawing.Printing.PrinterSettings.get_InstalledPrinters()
   at SAS.EG.DataGrid.DataGridClass.CanPrint()
   at SAS.EG.ProjectElementViews.DataView.get_CanPrintPreview()
   at SAS.EG.SEGuide.MainForm.UpdatePrintCommands()
   at SAS.EG.SEGuide.MainForm.OnUpdateMenuItems()
   at SAS.EG.SEGuide.MainForm.OnApplicationIdle(Object sender, EventArgs args)
   at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at SAS.EG.SEGuide.App.Startup(String[] args)
   at SAS.EG.SEGuide.App.Main(String[] args)System.ComponentModel.Win32Exception

RPC 服务器不可用。

------------------------------ End of Technical Information ------------------------------

解决:
启动RPC服务
启动printer pool服务

如上2服务都能正常启动,则问题即可解决
 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐