Re: oledb command + vfp
- From: "swdev2" <wsanders@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Sep 2006 01:09:48 -0600
Heya Agnes.
It's a rights problem in ASP.NET, same ol problem for fixing the privs on an
iUser/iUSR account for IIS and data pipes.
The invalid path error comes about from the user, not the servers. You'll
need to fix the user accounts so that it works.
Find out which user is running the asp.net service, and then add in the
rights to the external server.
I don't like doing it that way - prone to security holes.
Instead - I'll set up a different user to handle asp.net requests, tie it
into an IIS user account (newly made) and
then set up that account on the external box.
Works very well - gets around that user account problem that you've run
into.
hth - regards / xie xie [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net
"Agnes" <agnes@xxxxxxxxxxxxxxxxxx> wrote in message
news:#j12jy8zGHA.772@xxxxxxxxxxxxxxxxxxxxxxx
i got two server, (data server) + application server.=
the asp.net will be stored in application server and map the vfp database
by using network drive.
When the database and program located in the same server, everything works
fine.
However, when I place the database in another server, It got an error said
"invalid paht"
Dim db_root As String = "u:\WTO\"
Session("HostCompanyName") = "WTO LOGISTICS LIMITED"
Session("ConnectionAuth") = "Provider = VfpOleDB.1;Data Source
" & db_root & "vfpmaster\ttsdata\tts.dbc"
'U' is network drive.
when i change back into 'C', eveything works fine.
Does anyone know how to solve it ??
thanks a lot
.
- References:
- oledb command + vfp
- From: Agnes
- oledb command + vfp
- Prev by Date: Public objects can be accessed from different user sessions in a multi threaded dll
- Next by Date: Re: VFP6 ODBC and 64 Bit Windows 2003
- Previous by thread: oledb command + vfp
- Next by thread: translate VC++ to VFP
- Index(es):
Relevant Pages
|