Re: How can I connect to a remote database?
- From: "Dave F." <dflowers@xxxxxxxxx>
- Date: Wed, 25 May 2005 14:46:04 -0700
Bruce,
Thanks for the help. I think we are on to something now. Our SQL database is
about a year away. I'm sure that will make life much easier.
Dave
"Bruce Barker" <brubar_nospamplease_@xxxxxxxxxx> wrote in message
news:eBQrxaUYFHA.2288@xxxxxxxxxxxxxxxxxxxxxxx
> the asp.net process does not have network permission by default, so the
> driver can not access the share. on you 2003 server, create an app pool
> with a domain account, with permissions to the share, and setup your site
> to use the app pool. on win2k, use the <identity> section in web.config to
> set a domain account
>
> -- bruce (sqlwork.com)
>
>
> "Dave F." <dflowers@xxxxxxxxx> wrote in message
> news:OMtcMjTYFHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
>>I am using ODBC to connect to dBase data on a remote server. The ASP.NET
>>app will be running on Win 2k or 2003 server. I have tried to make it work
>>but all I can get is an error.
>>
>> System.Data.Odbc.OdbcException: ERROR [HY024] [Microsoft][ODBC dBase
>> Driver]
>> '(unknown)' is not a valid path. Make sure that the path name is spelled
>> correctly and that you are connected to the server on which the file
>> resides. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
>> SQLSetConnectAttr failed ERROR [HY024] [Microsoft][ODBC dBase Driver]
>> '(unknown)' is not a valid path. Make sure that the path name is spelled
>> correctly and that you are connected to the server on which the file
>> resides.
>>
>> Everything works fine if the data and the .net app are on the same
>> machine but won't work if separated.
>>
>> I'm using the DSN. The driver is Microsoft dBase driver. Any ideas
>> besides changing to OleDB?
>>
>> Thanks
>>
>
>
.
- References:
- How can I connect to a remote database?
- From: Dave F.
- Re: How can I connect to a remote database?
- From: Bruce Barker
- How can I connect to a remote database?
- Prev by Date: Response.Redirect to network share failing
- Next by Date: Re: Code Behind Page
- Previous by thread: Re: How can I connect to a remote database?
- Next by thread: Beta 2 Login Control Problem
- Index(es):
Relevant Pages
|