I am trying to setup a report that uses a Visual FoxPro database. I can get
the report to work fine on my development machine, but when I deploy it to
the web server I get different error message, depending on the data source
setup.
Here are some of the different error messages I get:
Setup 1:
Connection type: OLE DB
Connection String: Provider=VFPOLEDB.1;Data
Source=\\server\path\dbname.dbc;Collating Sequence=GENERAL
Connect Using: Creditials stored securely in the report server (using admin
credentials for testing)
Check "Use as Windows credentials"
Error Message: Cannot open file \\server\path\table.dbf
Setup 2:
Same as above except
Connection String: VFPOLEDB.1;Data Source=\\server\path;Collating
Sequence=MACHINE
Error Message: File "table.dbf" does not exist
Setup 3:
Sames as Setup 2 except "Use as Windows Credentials" is unchecked
Error Message: Invalid path or file name.
The web server that I am deploying the report project to has several ASP.NET
applications that use the same connection string as setup 1 with no problem.
Any help would be appreciated.Hi!
Problems like this are usually permissions issues. The account that the
report server runs under needs to have permissions to the directory where
the DBFs are located. As far as I know the credentials you mention are for
SQL Server logins and not for file server directory permissions.
--
Cindy Winegarden
cindy@.cindywinegarden.com
VFP OLE DB: http://msdn2.microsoft.com/en-us/vfoxpro/bb190232.aspx
VFP ODBC: http://msdn2.microsoft.com/en-us/vfoxpro/bb190233.aspx
"jweesies" <jweesies@.discussions.microsoft.com> wrote in message
news:607B1301-9764-4A49-93EF-2AA9A5673CF2@.microsoft.com...
>I am trying to setup a report that uses a Visual FoxPro database. I can
>get
> the report to work fine on my development machine, but when I deploy it to
> the web server I get different error message, depending on the data source
> setup.
> Here are some of the different error messages I get:
> Setup 1:
> Connection type: OLE DB
> Connection String: Provider=VFPOLEDB.1;Data
> Source=\\server\path\dbname.dbc;Collating Sequence=GENERAL
> Connect Using: Creditials stored securely in the report server (using
> admin
> credentials for testing)
> Check "Use as Windows credentials"
> Error Message: Cannot open file \\server\path\table.dbf
> Setup 2:
> Same as above except
> Connection String: VFPOLEDB.1;Data Source=\\server\path;Collating
> Sequence=MACHINE
> Error Message: File "table.dbf" does not exist
> Setup 3:
> Sames as Setup 2 except "Use as Windows Credentials" is unchecked
> Error Message: Invalid path or file name.
> The web server that I am deploying the report project to has several
> ASP.NET
> applications that use the same connection string as setup 1 with no
> problem.
> Any help would be appreciated.|||Thanks for your reply. The Report Server service runs under
NTAuthority/Network Services. Do you know if this needs to run under a
domain account that has access to the server where the dbfs exist? If we
change it to a domain account, will it have any effect on the reports that
are currently running or any other effect on security? Thanks.
"Cindy Winegarden" wrote:
> Hi!
> Problems like this are usually permissions issues. The account that the
> report server runs under needs to have permissions to the directory where
> the DBFs are located. As far as I know the credentials you mention are for
> SQL Server logins and not for file server directory permissions.
> --
> Cindy Winegarden
> cindy@.cindywinegarden.com
>
> VFP OLE DB: http://msdn2.microsoft.com/en-us/vfoxpro/bb190232.aspx
> VFP ODBC: http://msdn2.microsoft.com/en-us/vfoxpro/bb190233.aspx
>
>
> "jweesies" <jweesies@.discussions.microsoft.com> wrote in message
> news:607B1301-9764-4A49-93EF-2AA9A5673CF2@.microsoft.com...
> >I am trying to setup a report that uses a Visual FoxPro database. I can
> >get
> > the report to work fine on my development machine, but when I deploy it to
> > the web server I get different error message, depending on the data source
> > setup.
> >
> > Here are some of the different error messages I get:
> >
> > Setup 1:
> > Connection type: OLE DB
> > Connection String: Provider=VFPOLEDB.1;Data
> > Source=\\server\path\dbname.dbc;Collating Sequence=GENERAL
> > Connect Using: Creditials stored securely in the report server (using
> > admin
> > credentials for testing)
> > Check "Use as Windows credentials"
> > Error Message: Cannot open file \\server\path\table.dbf
> >
> > Setup 2:
> > Same as above except
> > Connection String: VFPOLEDB.1;Data Source=\\server\path;Collating
> > Sequence=MACHINE
> > Error Message: File "table.dbf" does not exist
> >
> > Setup 3:
> > Sames as Setup 2 except "Use as Windows Credentials" is unchecked
> > Error Message: Invalid path or file name.
> >
> > The web server that I am deploying the report project to has several
> > ASP.NET
> > applications that use the same connection string as setup 1 with no
> > problem.
> > Any help would be appreciated.
>
>