Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Complicated Question

Status
Not open for further replies.

gregarican

IS-IT--Management
Jan 31, 2002
469
US
Perhaps not technically complicated, really more complex in terms of different components. I have a 64-bit Windows 2008 Server with IIS 7.0 running. This server is going to replace an older 32-bit Windows 2000 Server that's currently in production.

One of the roles the new box will have is hosting up Crystal Reports. These reports were hosted on the old box through its IIS service. I have installed the necessary CR redistributable files on the new 2008 box and most of the SQL-based reports are working fine.

The problem is when I try to test out the Foxpro-based reports on the new box. Previously these reports had an ODBC data source on the old box. Well, from what I've gathered apparently there aren't any 64-bit Foxpro ODBC drivers.

So I recompiled these reports to use the Foxpro OLE DB provider instead. For the data source I point the OLE DB provider to the full UNC path to the Foxpro data directory. This works fine on my development machine. But when I test things out on the 2008 box I get a CR message back stating that the requested page requires logon credentials. That's CR's way to complaining that it can't physically connect to the data set. Because there are no logon credentials. It's just a publically shared directory that everyone has access to.

This might be the wrong forum to post my question in, but it appears as if it's a permissions issues somewhere in tbe belly of the IIS/ASP.NET services. I've set the App Pool to run under a domain admin account as a test. I still get the same results. I've changed it so this UNC path is accessible to the Everyone group (not just the Domain Users group) as another test. Still the same results.

Any suggestions? Our company has a decent amount of Foxpro data on our network and if I can't mine into it using my web-hosted reports this will be a curve ball for sure!
 
Hi Gregarican,

I suppose I am missing something. You state you have VFP reports and you have recompiled them for using on your Windows2008 server. What has that to do with your Crystal Reports? Are you using VFP FRX files or are you using CrystalReport files?

Jockey(2)
 
They are .rpt files. When I try accessing them from the asp.net site on my local development pc the foxpro data is pulled fine. It's just on the asp.net site on the 2008 server host that cannot access them...
 
Gregarican,

You're right. It's not a VFP issue. As you say, It's most likely that the problem lies in CR not being able to physically access the files.

You can verify that by temporarily chaging the data source to something other than FoxPro. An easy way to do that would be to create a quick report against a Microsoft Access database -- or even use one of the sample reports that come with CR. Then, deploy the Access files in the same way as you are trying to do with the FoxPro tables. If that doesn't work, that would tend to confirm that it's not a Foxpro issue.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Finally arrived at the solution. In the case of my hosted Crystal Reports, they were accessing the Foxpro DB through the OLE DB Provider for Visual Foxpro. This was a 32-bit DLL and my IIS 7.0 box wasn't running its Application Pool in 32-bit mode. Once I changed that things worked out fine!
 
Glad to hear you've got it working.

Could I make another suggestion. In general, when you post a question here, it's best to give it a title that indicates the nature of the question or problem. That way, it's easier for people browing the forum to decide if they want to view the thread. It also helps other people searching for solutions to the same problem.

To name your thread "complicated question" tells us nothing about the problem or what it's all about.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top