Free Download: Internet Explorer 8 with Bing & MSN
Don't show me this again
United States Change | All Microsoft Sites
Microsoft Support
Top of Form
LCID=1033
Bottom of Form
• Support Home
•
• Solution Centers
•
• Advanced Search
•
• Buy Products
Other Resources
Other Support Sites
• Solution Centers
• Microsoft Fix It Solutions
• Windows Help and How-to
• Office Online
Twitter
• Microsoft Partner Network
Linkedin
Community
Digg it • Answers Forums
Yahoo • Technet Forums
• Microsoft Developer Network
Delici.. (MSDN)
Stumbl.. Get Help Now
Yammer
Reddit Contact a Support Professional by
Email, Online, or Phone
Techno..
Friend..
Article ID: 293092 - Last Review: January 31, 2007
- Revision: 2.6
Error Message: Error
1722: The RPC Server
Is Unavailable
View products that this article applies to.
This article was previously published under
Q293092
Expand all | Collapse all
Article Translations
SYMPTOMS (الشرق الوسط )العربية
When you are automating • Brasil (Português)
another program with Microsoft • Česká Republika (Čeština)
• Deutschland (Deutsch)
Visual Basic or Microsof...
• España, Latinoamérica (Español)
When you are automating another program with
Microsoft Visual Basic or Microsoft Visual Basic • France (Français)
for Applications, you may receive an error message • Italia (Italiano)
similar to the following:
• Portugal (Português)
Error 1722: The RPC server is unavailable.
• Türkiye (Türkçe)
Back to the top
• 대한민국 (한국어)
CAUSE • 中国 (简体中文)
When you are automating a • 台灣 (繁體中文)
Microsoft Office program, it is • 日本 (日本語)
possible to call one...
When you are automating a Microsoft Office
program, it is possible to call one of the server's
objects without referencing the program object. The
code may work once, or it may work when you step
through it, but the code returns the error message View related content
when you run it from another program.
Back to the top
RESOLUTION
Microsoft provides
programming examples for
illustration only, without • Windows Server 2008 DCPROMO:
1722 The RPC server is
warranty... unavailable ...
Microsoft provides programming examples for • DNS Server Fails to Start Due to
illustration only, without warranty either expressed Unavailable RPC Server Error
or implied, including, but not limited to, the implied
warranties of merchantability and/or fitness for a • WIM_MSG_ERROR
particular purpose. This article assumes that you are • WIM_MSG_WARNING_OBJECTI
familiar with the programming language being D
demonstrated and the tools used to create and debug
• This is the Terminal Services
procedures. Microsoft support professionals can
help explain the functionality of a particular general error message.
procedure, but they will not modify these examples
to provide added functionality or construct
procedures to meet your specific needs.
If you have limited programming experience, you
may want to contact a Microsoft Certified Partner or Search related topics
Microsoft Advisory Services. For more information,
visit these Microsoft Web sites: • Dcpromo 1722 The RPC server is
unavaila...
Microsoft Certified Partners - • Rpc s server unavailable
https://partner.microsoft.com/global/30000104 • Error opening Terminal server
(https://partner.microsoft.com/global/30000104)
• Error HTTP services unavailable
Microsoft Advisory Services - how to ...
http://support.microsoft.com/gp/advisoryservice • Fix rpc server
(http://support.microsoft.com/gp/advisoryservice)
For more information about the support options that
are available and about how to contact Microsoft,
visit the following Microsoft Web
site:http://support.microsoft.com/default.aspx?
scid=fh;EN-US;CNTACTMS
(http://support.microsoft.com/default.aspx?
scid=fh;en-us;cntactms)
For additional information, click the article number Related Support Centers
below to view the article in the Microsoft • Word 2002
Knowledge Base: • Word
290140
(http://support.microsoft.com/kb/290140/EN-US/ )
OFFXP: How to Run Sample Code from
Knowledge Base Articles
When you write code against the server object
reference, make sure to include the variable
reference in calls to the server's internal objects.
The following sample code displays the correct
syntax:
Sub MyMacro()
Dim x As Word.Application
Set x = New Word.Application
'The following line now contains a
reference to the application
' object "x".
x.Selection.Text = "test"
End Sub
Back to the top
APPLIES TO
• Microsoft Office Word 2003
• Microsoft Word 2002
• Microsoft Word 2000
• Microsoft Word 97 Standard Edition
Back to the top
Keywords:
kberrmsg kbmacroexample kbprb
KB293092
Back to the top
132 0
9089 LABEL 0
Provide feedback on this information
9088 CHOICE 0
Did this information solve your problem?
Yes
No
I don't know
9086 CHOICE 0
Was this information relevant?
Yes
No
9087 TEXT-BLOCK 0
What can we do to improve this information?
7813 LABEL 0
To protect your privacy, do not include contact
information in your feedback.
Thank you! Your feedback is used to help us
improve our support content. For more assistance
options, please visit the Help and Support Home
Page.
Twitter
Linkedin
Digg it
Yahoo
Delici..
Stumbl..
Yammer
Reddit
Techno..
Get Help Now
Contact a support professional by E-mail,
Online, or Phone
Microsoft Support
Feedback | Services Agreement
Contact Us | Terms of Use | Trademarks | Privacy Statement ©2011 Microsoft