VPN error 691 on programmatically made connection

K

Karol Martinka

Hi!

I'm encountering problems on some systems which are configured same as
another and connecting to same server.
This problem is on Windows 2000 and XP.

I have a VPN connection to ADSL provider with saved username/password. If I
make this VPN connection as common (in Networking) it works fine. But if I
try to connect to it programmatically it returns error 691 .
(The function RasDial( ) returns 691)
It works fine for 99% of cases, but 1% of my customers encounter this error.
(it is'nt occasionally. If it once return 691 it stays so even after
restarting, reinstalling service pack etc.)

I get the parameters for dialing throught function : RasGetEntryDialParams()
and pass the second parameter to RasDial.

Please help!

Thank you!
Karol
 
R

ravi [ msft ]

The right credentials ( username + password + domain etc. ) are not being
used during dialing. You could specify the credentials each time you dial if
this solves your problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top