Is this web app design even possible?

  • Thread starter Thread starter B. Chernick
  • Start date Start date
B

B. Chernick

As some of you may have noticed, I'm trying to write a quickie 2.0 web app
that accesses FoxPro 6 tables. I've been able to create a screen or two that
behaves but when I tried to publish to a server I discovered another problem.

I have put the FoxPro tables in the App_Data directory and I was planning to
deploy them with the app. The problem (I think) is this: When using an XSD
and defining tables, is it possible to define the location of the FoxPro
tables relative to the project or must it always be complete and literal?

When I published and ran the project, it crashed. Appears to be still
looking for the tables on my own computer, even though the tables themselves
deployed correctly.

What's the best way to handle a situation like this? (If this is even
possible. Still testing.)
 
I'm going to partially answer my own question. The answer is yes (I think)

The solution seems to be to set Data Source='|DataDirectory|' in the
web.config connection string. (Still testing.)
 
Back
Top