Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

The RPC server is unavailable

Posted on 2001-09-18
7
Medium Priority
?
425 Views
Last Modified: 2011-09-20
Experts-

For some time I have been developing a website on my own machine (NT40 Workstation with PWS) using Visual InterDev with no problems.  Yesterday we got our "official" web server up and running so I moved the website to that server and configured my project's Working Mode to Local for continuing development.

Now whenever I open InterDev and Start the website, I get the error, "The RPC server is unavailable."  The only way to correct the problem is to stop IIS and restart the relevant services (IIS, WWW Publishing Service).  Then I'm able to Start the website successfully one time, after which I get the error again.  Clearly this is not a good development procedure--I need to be able to edit and debug randomly throughout the day without shutting down IIS on my machine between every edit.

I have searched the MS KB and Google for a solution but nothing suggested there is relevant to my situation.

Thanks for your responses.

-Jon

0
Comment
Question by:jmundsack
  • 3
  • 2
  • 2
7 Comments
 
LVL 7

Expert Comment

by:John844
ID: 6491270
I would recommend keeping one project locally.  Work on that project in master mode and when you are ready to move the project to production, just copy the pages to the new server.

I am not familiar with your comment(start the website).  by default the website should start when iis starts unless you have changed it to stopped.  Please clarify this a little further.

John
0
 
LVL 7

Expert Comment

by:John844
ID: 6491288
I think that I just found what you mean by start the website.  If you mean the triangle button(like |>) on the menu bar, I would not use this method to test your site.  I would go directly to the web site using localhost/foldername/pagename.asp or 127.0.0.1/foldername/pagename.asp or www.sitename.com/foldername/pagename.asp
0
 
LVL 13

Author Comment

by:jmundsack
ID: 6491662
John844,

Yes, by Start I do mean the toolbar button.  I appreciate your reply; however, I would like to get this thing working as MS advertises.  That is, when working in local mode I should be able to run the site on my own PWS using Start with all the debugging capabilities that implies, and when I'm satisfied with the changes I make I should be able to release my working copies and switch to master mode to run the site on the production server.

This is how the configuration is supposed to work, and I don't want to abandon hope of this (yet).  So, with due respect, for my 200 points I would like to pursue troubleshooting the problem a bit further before I throw up my hands in disgust and resort to other methods.

Any other ideas?

Thanks,

-Jon


0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 5

Accepted Solution

by:
dgorin earned 800 total points
ID: 6491756
I work independently, and I'm always in Master mode.  What I do is clone the website to IIS on my workstation (running W2K) and open a project to this cloned site, which becomes my "local copy" without being in local mode.

Debugging is as easy as setting the startup project, the start page, a breakpoint or two, and pressing F5.

I keep a project to the real web site open as well, and for minor changes I just drag copies of the edited files between projects.

This scenario works well for me.
0
 
LVL 13

Author Comment

by:jmundsack
ID: 6496388
dgorin-

That's basically the same concept that John844 suggested, except you mentioned having two projects open so that I can "drag" the files to the server.  If I don't get help on how to make this thing work "as billed" I will use this approach and split the points between you and John844 because John844 was first with the "use local project" idea and you were first with the "drag between projects" idea.

Thanks.

In the meantime, does anyone have any insight on how to troubleshoot the RPC error?

-Jon


0
 
LVL 13

Author Comment

by:jmundsack
ID: 6520964
dgorin, thanks for the answer.

John844, as indicated, I am giving points to both you and dgorin.  Please see:

http://www.experts-exchange.com/jsp/qManageQuestion.jsp?qid=20189696

Thanks.

0
 
LVL 5

Expert Comment

by:dgorin
ID: 6521412
Thanks.

If you search the MS Knowledge Base, or the MSDN library if you have it available, search for "the rpc server is unavailable" and you'll get tons of hits.  From what I saw, basically anything that can hang up a services thread can cause this error, from memory problems to permissions problems to replication problems and the list goes on.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

564 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