Solved

How to enable RPC on Windows Server 2008 R2?

Posted on 2014-07-20
9
1,330 Views
Last Modified: 2014-07-25
Hi Experts,
I am not a regular 'server guy' but am trouble-shooting an issue where it appears RPC is not enabled on a Windows Server 2008 R2. It's a brand new installation so may not have everything turned on that has to be. With all the myriad screens for services, rules, features, permissions, roles, and you name it whatever other terminologies are called (my last experience was with Windows 2000 Server!) I'm somewhat overwhelmed.

Can someone explain how (or if it's even possible to configure) to enable RPC on Windows Server 2008 R2?
0
Comment
Question by:rascal
  • 5
  • 4
9 Comments
 
LVL 18

Accepted Solution

by:
Akinsd earned 500 total points
ID: 40208086
Check the settings in services - it should be set to automatic, if not, set it.

Also check port 135 on firewall

Check DNS resolution

Is dotnet framework 3.5 enabled on the server role? If not enable it.
0
 
LVL 1

Author Comment

by:rascal
ID: 40208123
Thanks Akinsd,
I will check the RPC server to ensure it's set to "automatic", and will check the firewall port 135.
What specifically should I check when you refer to "check DNS resolution" however?
and dotnet 3.5 is enabled on the server role.
0
 
LVL 18

Expert Comment

by:Akinsd
ID: 40208155
Try pinging the server by NetBIOS (eg SERVER1) name and also by fqdn (eg SERVER1.domain.local).
If pings are successful in both tests, then you can overrule DNS resolution
0
 
LVL 1

Author Comment

by:rascal
ID: 40208190
Thanks, and by the way, this whole issue came about since I was running TinyMCE (it's image manager) on the server and when attempting to view a folder, it clocked/timed-out and came back with a message: Server Error, produced by a source code file called rpc.js so I assume it was a remote procedure call issue since the website is an exact copy of the one on our test servers here in our office where the software runs fine.
0
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
LVL 1

Author Comment

by:rascal
ID: 40208195
More details: The rpc.js file contains the following code, where the "The server response wasn't JSON format" message is presented. It's actually trying to execute an ajax function(?) so are there other settings that need to be set on a Windows Server 2008 R2 to allow ajax to execute?

(function($){
      window.RPC = {
            pageBaseURL : document.location.href.replace(/[^\/]+$/, ''),

            init : function() {
                  $().ajaxError(function(e, req, se) {
                        if (req.status)
                              $.WindowManager.status({title : "The server response wasn't JSON format", content : req.responseText});
                  });
            },
0
 
LVL 18

Expert Comment

by:Akinsd
ID: 40210767
I'm going to assume that IIS is already enabled.

If it was working prior to crashing, try removing and re-installing the following
- IIS
- Dot net framework (2 or 3 or 4 or all as desired)

You may also try installing the Ajax plugin for aspx
http://www.microsoft.com/en-us/download/details.aspx?id=883
0
 
LVL 1

Author Comment

by:rascal
ID: 40218133
We discovered that the problem was caused by the file ModCloudFlare. When we disabled that we were able to get into our admin side of the WordPress site . We removed and reinstalled the iThemes security plugin just in case, although from the log files it looks like just ModCloudFlare was the culprit.
0
 
LVL 18

Expert Comment

by:Akinsd
ID: 40218609
Great!
Glad to hear that
0
 
LVL 1

Author Closing Comment

by:rascal
ID: 40219842
The actual problem was external (see last comment by Rascal) but your response was completely appropriate. Thanks!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I have been working as System Administrators since 2003. I recently started working as a FreeLancer and was amazed to find out that very few people are taking full advantage of their Windows Server Machines. Microsoft Windows Server comes with so…
I was asked if I could set up a fax machine so that incoming faxes were delivered to people's Exchange inboxes and so that they could send faxes from their desktops without needing to print the document first.  I knew it was possible but I had no id…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now