|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Connecting to FoxPro database via OleDB in Reporting ServicesI'm accessing a FoxPro database via ole db and this works fine on my local report server. However, when I deploy the report to the live report server I'm getting the error 'Invalid path or file name' The FoxPro database is on a separate server and the connection string is : string connectionString = @"provider=vfpoledb;" + @"data source='\\server\data\foxpro.dbc';" + "password='';user id=''"; I've read a few articles explaining that it's a permissions problem. I've tried granting full permissions to the data folder for myself and 'Network Service' but this still occurs. The web.config file for the report server has impersonate set to true and IIS is configured for 'Integrated Windows authentication' and does not use anonymous access. Any ideas would be much appreciated. Regards Mike On Mon, 27 Mar 2006 07:49:02 -0800, MikeD <Mi***@discussions.microsoft.com> wrote:
¤ Hi, ¤ ¤ I'm accessing a FoxPro database via ole db and this works fine on my local ¤ report server. However, when I deploy the report to the live report server ¤ I'm getting the error 'Invalid path or file name' ¤ ¤ The FoxPro database is on a separate server and the connection string is : ¤ string connectionString = @"provider=vfpoledb;" + ¤ @"data source='\\server\data\foxpro.dbc';" + ¤ "password='';user id=''"; ¤ ¤ I've read a few articles explaining that it's a permissions problem. I've ¤ tried granting full permissions to the data folder for myself and 'Network ¤ Service' but this still occurs. The web.config file for the report server has ¤ impersonate set to true and IIS is configured for 'Integrated Windows ¤ authentication' and does not use anonymous access. ¤ ¤ Any ideas would be much appreciated. If the FoxPro file is on a different machine, it sounds like a security delegation problem. See if the following helps: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconaspnetdelegation.asp Paul ~~~~ Microsoft MVP (Visual Basic) Hi Mike,
Does the report server's account have permissions to the directory? -- Show quoteCindy Winegarden MCSD, Microsoft Visual FoxPro MVP cindy_winegar***@msn.com www.cindywinegarden.com "MikeD" <Mi***@discussions.microsoft.com> wrote in message news:1D7BFAA5-EECE-42AE-8776-590FEB8838A7@microsoft.com... > Hi, > > I'm accessing a FoxPro database via ole db and this works fine on my local > report server. However, when I deploy the report to the live report server > I'm getting the error 'Invalid path or file name' > > The FoxPro database is on a separate server and the connection string is : > string connectionString = @"provider=vfpoledb;" + > @"data source='\\server\data\foxpro.dbc';" + > "password='';user id=''"; > > I've read a few articles explaining that it's a permissions problem. I've > tried granting full permissions to the data folder for myself and 'Network > Service' but this still occurs. The web.config file for the report server > has > impersonate set to true and IIS is configured for 'Integrated Windows > authentication' and does not use anonymous access. > > Any ideas would be much appreciated. > > Regards > > Mike >
Other interesting topics
|
|||||||||||||||||||||||