Re: ADP: Can't use stored procedure on remote SQL server



do you have permissions to the sproc?



On Jul 10, 1:56 pm, "Marcus" <mar...@xxxxxxxxxxxxxxxxxx> wrote:
I'm happily using a remote SQL server over the internet using Sylvain
Lafontaine's suggestion:

"use a comma to specify the port number as in  a.b.c.d,1433"

Unfortunatelly I have noticed that stored procedures have some problems,
that is
they don't execute at all when launched remotely... is there a particular
reason, in your opinion, why this happens? While in LAN, they work
perfectly....

The error is:

"Run-time error '2812'  Could not find stored procedure 'SPInc'.

here's the offending code:
***********************

   spstring = "exec SPInc  '" & _
                     fGDataFine & _
                     "' , '" & _
                     fGDataInizio & _
                     "'," & _
                     Me.Anno & "," & _
                     Me.Mese & "," & _
                     AnnoPrec & "," & _
                     MesePrec & "," & _
                     spOrderBy

    Me.RecordSource = spstring
**************************

I

.



Relevant Pages

  • Re: ADP: Cant use stored procedure on remote SQL server
    ... are you using a different port? ... "use a comma to specify the port number as in  a.b.c.d,1433" ...
    (microsoft.public.access.adp.sqlserver)
  • Re: netopia 3000 and vsftpd
    ... you didn't specify the PASV port ranges. ...   The default behavior is ...
    (comp.os.linux.networking)
  • Re: how hard can it be to install a pci Parallel card
    ... I appear to have a PCI Parallel port NOT 1 ...     Does your motherboard have an LPT port, even if there is no physical ... The OS may be detecting that, and giving that LPT1. ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Specs on microwave power divider/combiners
    ...  I'm curious how they decide to specify its frequency ... Some more clues can be found in the Power Splitter FAQ at: ... Q. Can performance parameters be traded off when specifying ...   power splitter/combiners? ...
    (sci.electronics.design)
  • Re: how hard can it be to install a pci Parallel card
    ... I appear to have a PCI Parallel port NOT 1 ...     Does your motherboard have an LPT port, even if there is no physical ... try to reset the PCI card port to LPT1. ... The OS may be detecting that, and giving that LPT1. ...
    (alt.comp.hardware.pc-homebuilt)