Home All Groups Group Topic Archive Search About

The RPC Server is unavailable!

Author
18 Jul 2006 1:55 PM
Tull Clancey
Hi, I have an app running at a customer site, it's a simple thing, it checks
a database (access) every 3 seconds, if there are records in a particular
table it gathers the first record and generates a print job which is sent to
any one of 4 networked thermal printers.

This all works perfectly for most of the time, but every now and then the
application halts on printing with an error 'The RPC server is unavailable.'

Of course I can trap the error and ignor it if I want to but I want to know
why I'm getting the error, any ideas?

Server (where the app is running) Win 2003 server.
Dev platform vb.net 2003

Cheers,
Tull.

Author
18 Jul 2006 5:33 PM
Samuel Shulman
Wher is the database located


Show quoteHide quote
"Tull Clancey" <tull.clan***@btopenworld.com> wrote in message
news:_KednY73OavKdSHZnZ2dnUVZ8t2dnZ2d@bt.com...
> Hi, I have an app running at a customer site, it's a simple thing, it
> checks a database (access) every 3 seconds, if there are records in a
> particular table it gathers the first record and generates a print job
> which is sent to any one of 4 networked thermal printers.
>
> This all works perfectly for most of the time, but every now and then the
> application halts on printing with an error 'The RPC server is
> unavailable.'
>
> Of course I can trap the error and ignor it if I want to but I want to
> know why I'm getting the error, any ideas?
>
> Server (where the app is running) Win 2003 server.
> Dev platform vb.net 2003
>
> Cheers,
> Tull.
>
Author
19 Jul 2006 1:23 PM
Tull Clancey
The database is stored on the same server, on a 2nd hard drive.

Show quoteHide quote
"Samuel Shulman" <samuel.shul***@ntlworld.com> wrote in message
news:Ob8KFBpqGHA.4632@TK2MSFTNGP05.phx.gbl...
> Wher is the database located
>
>
> "Tull Clancey" <tull.clan***@btopenworld.com> wrote in message
> news:_KednY73OavKdSHZnZ2dnUVZ8t2dnZ2d@bt.com...
>> Hi, I have an app running at a customer site, it's a simple thing, it
>> checks a database (access) every 3 seconds, if there are records in a
>> particular table it gathers the first record and generates a print job
>> which is sent to any one of 4 networked thermal printers.
>>
>> This all works perfectly for most of the time, but every now and then the
>> application halts on printing with an error 'The RPC server is
>> unavailable.'
>>
>> Of course I can trap the error and ignor it if I want to but I want to
>> know why I'm getting the error, any ideas?
>>
>> Server (where the app is running) Win 2003 server.
>> Dev platform vb.net 2003
>>
>> Cheers,
>> Tull.
>>
>
>
Author
19 Jul 2006 1:42 PM
Samuel Shulman
Did you try this: http://support.microsoft.com/?kbid=224370

When you resolve the problem please let us know how

Samuel


Show quoteHide quote
"Tull Clancey" <tull.clan***@btopenworld.com> wrote in message
news:RLidnYPjzIanryPZRVnyjQ@bt.com...
> The database is stored on the same server, on a 2nd hard drive.
>
> "Samuel Shulman" <samuel.shul***@ntlworld.com> wrote in message
> news:Ob8KFBpqGHA.4632@TK2MSFTNGP05.phx.gbl...
>> Wher is the database located
>>
>>
>> "Tull Clancey" <tull.clan***@btopenworld.com> wrote in message
>> news:_KednY73OavKdSHZnZ2dnUVZ8t2dnZ2d@bt.com...
>>> Hi, I have an app running at a customer site, it's a simple thing, it
>>> checks a database (access) every 3 seconds, if there are records in a
>>> particular table it gathers the first record and generates a print job
>>> which is sent to any one of 4 networked thermal printers.
>>>
>>> This all works perfectly for most of the time, but every now and then
>>> the application halts on printing with an error 'The RPC server is
>>> unavailable.'
>>>
>>> Of course I can trap the error and ignor it if I want to but I want to
>>> know why I'm getting the error, any ideas?
>>>
>>> Server (where the app is running) Win 2003 server.
>>> Dev platform vb.net 2003
>>>
>>> Cheers,
>>> Tull.
>>>
>>
>>
>
>
Author
19 Jul 2006 2:34 PM
Tull Clancey
Yes found that the other day before posting.  It just doesn't seem to apply
to the situation at all.  The server is a secondary server, the domain
controller handles all logon information.

The really odd thing is I have other applications polling this database that
don't cause any error at all, I think the error is actually being created
during the printing code which seems very odd.

I will let you know as and when I find more!

Cheers,
Tull.

Show quoteHide quote
"Samuel Shulman" <samuel.shul***@ntlworld.com> wrote in message
news:%23mXhwkzqGHA.4408@TK2MSFTNGP04.phx.gbl...
> Did you try this: http://support.microsoft.com/?kbid=224370
>
> When you resolve the problem please let us know how
>
> Samuel
>
>
> "Tull Clancey" <tull.clan***@btopenworld.com> wrote in message
> news:RLidnYPjzIanryPZRVnyjQ@bt.com...
>> The database is stored on the same server, on a 2nd hard drive.
>>
>> "Samuel Shulman" <samuel.shul***@ntlworld.com> wrote in message
>> news:Ob8KFBpqGHA.4632@TK2MSFTNGP05.phx.gbl...
>>> Wher is the database located
>>>
>>>
>>> "Tull Clancey" <tull.clan***@btopenworld.com> wrote in message
>>> news:_KednY73OavKdSHZnZ2dnUVZ8t2dnZ2d@bt.com...
>>>> Hi, I have an app running at a customer site, it's a simple thing, it
>>>> checks a database (access) every 3 seconds, if there are records in a
>>>> particular table it gathers the first record and generates a print job
>>>> which is sent to any one of 4 networked thermal printers.
>>>>
>>>> This all works perfectly for most of the time, but every now and then
>>>> the application halts on printing with an error 'The RPC server is
>>>> unavailable.'
>>>>
>>>> Of course I can trap the error and ignor it if I want to but I want to
>>>> know why I'm getting the error, any ideas?
>>>>
>>>> Server (where the app is running) Win 2003 server.
>>>> Dev platform vb.net 2003
>>>>
>>>> Cheers,
>>>> Tull.
>>>>
>>>
>>>
>>
>>
>
>
Author
17 Nov 2006 5:06 AM
DonL
The following is from a different post. Maybe it will help you.

I think I figured it out. My solution would pertain to those using SBS 2003
with ISA 2004.

The RPC port 135 is being blocked - by the Microsoft Firewall Client for ISA
2004. To unblock, do the following:

Go to ISA Server Management
Browse to "Firewall Policy"
Select "Edit System Piolicy"
Browse to "Active Directory" under "Authentication Services"
Unchek the box titled "Enforce strict RPC compliance"
Click OK
Apply the new settings


Is this another case of Microsoft protecting us from ourselves?


Show quoteHide quote
"Tull Clancey" wrote:

> Yes found that the other day before posting.  It just doesn't seem to apply
> to the situation at all.  The server is a secondary server, the domain
> controller handles all logon information.
>
> The really odd thing is I have other applications polling this database that
> don't cause any error at all, I think the error is actually being created
> during the printing code which seems very odd.
>
> I will let you know as and when I find more!
>
> Cheers,
> Tull.
>
> "Samuel Shulman" <samuel.shul***@ntlworld.com> wrote in message
> news:%23mXhwkzqGHA.4408@TK2MSFTNGP04.phx.gbl...
> > Did you try this: http://support.microsoft.com/?kbid=224370
> >
> > When you resolve the problem please let us know how
> >
> > Samuel
> >
> >
> > "Tull Clancey" <tull.clan***@btopenworld.com> wrote in message
> > news:RLidnYPjzIanryPZRVnyjQ@bt.com...
> >> The database is stored on the same server, on a 2nd hard drive.
> >>
> >> "Samuel Shulman" <samuel.shul***@ntlworld.com> wrote in message
> >> news:Ob8KFBpqGHA.4632@TK2MSFTNGP05.phx.gbl...
> >>> Wher is the database located
> >>>
> >>>
> >>> "Tull Clancey" <tull.clan***@btopenworld.com> wrote in message
> >>> news:_KednY73OavKdSHZnZ2dnUVZ8t2dnZ2d@bt.com...
> >>>> Hi, I have an app running at a customer site, it's a simple thing, it
> >>>> checks a database (access) every 3 seconds, if there are records in a
> >>>> particular table it gathers the first record and generates a print job
> >>>> which is sent to any one of 4 networked thermal printers.
> >>>>
> >>>> This all works perfectly for most of the time, but every now and then
> >>>> the application halts on printing with an error 'The RPC server is
> >>>> unavailable.'
> >>>>
> >>>> Of course I can trap the error and ignor it if I want to but I want to
> >>>> know why I'm getting the error, any ideas?
> >>>>
> >>>> Server (where the app is running) Win 2003 server.
> >>>> Dev platform vb.net 2003
> >>>>
> >>>> Cheers,
> >>>> Tull.
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
>
>
>