Re: Very Strange Problem

2008-07-19 Thread DCJ GMail
In VFP, DBF may not open if the path contains blank space.

As for example if the DBF is in c:\vfp 9\dbf   directory, it may not open.
It will open if the DBF is in c:\vfp9\dbf   directory.

Check the path. Make sure that path does not have blank space.

I have encountered similar problem. And I have found this reason.

I think this may help.

Devendra Jariwala

- Original Message - 
From: "Jeff Johnson" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, July 19, 2008 3:43 AM
Subject: Re: Very Strange Problem


> Thanks for your responses - I read the others too.  The paths are stored
> in a table.  I did all of your suggestions and more.  After re-doing
> your suggestions I discovered something unusual about the database in
> the site path.  I validated the database and it did not find several
> tables in the database, yet they are all there.  I copied a good DBC()
> into the folder and it still didn't work.  I am guessing that the files
> were set as not belonging to a database somehow!?!  I removed the
> missing tables from the DBC() and re-added them.  I haven't checked to
> see if this solved the problem because I have to leave for a while - but
> I am pretty sure that is it because the DBC() can now be validated.
>
> So how does a DBC() remain in tact and files mark themselves as not
> belonging to the database?
>
> I will report back.
>
>
> Jeff
>
> Jeff Johnson
> [EMAIL PROTECTED]
> SanDC, Inc.
> 623-582-0323
> Fax 623-869-0675
>
> Phoenix Python User Group - [EMAIL PROTECTED]
>
> Ted Roche wrote:
>> On Fri, Jul 18, 2008 at 5:10 PM, Jeff Johnson <[EMAIL PROTECTED]> wrote:
>>> The
>>> really strange thing is that the application selects one of 10 sites
>>> (path to DBC()).  It works fine on all of the sites except for 1 !!!
>>
>> How does it do this selection? Is it picking a path to the DBC from a
>> data record or an INI setting? Is it possible the first record has
>> somehow gotten corrupted? Try to recreate the first record and see if
>> the problem recurs.
>>
>
>
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Very Strange Problem

2008-07-18 Thread Jeff Johnson
Thanks for your responses - I read the others too.  The paths are stored 
in a table.  I did all of your suggestions and more.  After re-doing 
your suggestions I discovered something unusual about the database in 
the site path.  I validated the database and it did not find several 
tables in the database, yet they are all there.  I copied a good DBC() 
into the folder and it still didn't work.  I am guessing that the files 
were set as not belonging to a database somehow!?!  I removed the 
missing tables from the DBC() and re-added them.  I haven't checked to 
see if this solved the problem because I have to leave for a while - but 
I am pretty sure that is it because the DBC() can now be validated.

So how does a DBC() remain in tact and files mark themselves as not 
belonging to the database?

I will report back.


Jeff

Jeff Johnson
[EMAIL PROTECTED]
SanDC, Inc.
623-582-0323
Fax 623-869-0675

Phoenix Python User Group - [EMAIL PROTECTED]

Ted Roche wrote:
> On Fri, Jul 18, 2008 at 5:10 PM, Jeff Johnson <[EMAIL PROTECTED]> wrote:
>> The
>> really strange thing is that the application selects one of 10 sites
>> (path to DBC()).  It works fine on all of the sites except for 1 !!!
> 
> How does it do this selection? Is it picking a path to the DBC from a
> data record or an INI setting? Is it possible the first record has
> somehow gotten corrupted? Try to recreate the first record and see if
> the problem recurs.
> 


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Very Strange Problem

2008-07-18 Thread Vince Teachout
Jeff Johnson wrote:
> Does anyone have a clue?
>   

My guess would be that someone either changed a drive mapping, or a path 
name.  I'd guess drive mapping.



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: Very Strange Problem

2008-07-18 Thread Virgil Bierschwale
What has changed windows wise ?? Sp's, vista ?

Its always been my experience that when you have something that doesn't make
sense, you need to step back and see what is different between the two
computers, outside of your application. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jeff Johnson
Sent: Friday, July 18, 2008 4:10 PM
To: profox@leafe.com
Subject: Very Strange Problem

I have an application that has been working for many years at many sites.
Getting right to the problem, I have a main program that calls another
program to start the application.  In mymain.prg there is a line DO
mysubmain.prg.  I put a messagebox in mymain.prg right before the call to
mysubmain.prg and it comes up "about to start mysubmain".  I put a
messagebox in mysubmain.prg that says "entering mysubmain.prg".  The first
messagebox appears but the second one doesn't and I get an "invalid path or
filename" that is not handled by my error handler.  The really strange thing
is that the application selects one of 10 sites (path to DBC()).  It works
fine on all of the sites except for 1 !!!  It also behaves exactly the same
way on my system that it does on the customer site !!!

There is nothing between the main program and the sub program.  I have
recompiled both of them and removed and re added them to the pjx.

The user and I can access the data for that site without any problems.

Does anyone have a clue?

--
Jeff

Jeff Johnson
[EMAIL PROTECTED]
SanDC, Inc.
623-582-0323
Fax 623-869-0675

Phoenix Python User Group - [EMAIL PROTECTED]


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Very Strange Problem

2008-07-18 Thread Matt Jarvis
Jeff Johnson wrote:
> The 
> really strange thing is that the application selects one of 10 sites 
> (path to DBC()).  It works fine on all of the sites except for 1 !!! 

How are the paths stored? In a table?

If so make sure the record giving you the problem is clean i.e. retype 
the info into that field to make sure it's totally good.

Way back in my SBT AccountMate/DOS days I had a client that would 
sometimes get corrupted records that pointed to the paths for the 
various modules. Re-entering the data fixed it - but man, that was a 
bugger to track down...

-- 
Matthew S. Jarvis
IT Manager, MCP
Bike Friday - "Performance That Packs!"
www.bikefriday.com
[EMAIL PROTECTED]


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Very Strange Problem

2008-07-18 Thread Ted Roche
On Fri, Jul 18, 2008 at 5:10 PM, Jeff Johnson <[EMAIL PROTECTED]> wrote:
> The
> really strange thing is that the application selects one of 10 sites
> (path to DBC()).  It works fine on all of the sites except for 1 !!!

How does it do this selection? Is it picking a path to the DBC from a
data record or an INI setting? Is it possible the first record has
somehow gotten corrupted? Try to recreate the first record and see if
the problem recurs.

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Very Strange Problem

2008-07-18 Thread Jeff Johnson
I have an application that has been working for many years at many 
sites.  Getting right to the problem, I have a main program that calls 
another program to start the application.  In mymain.prg there is a line 
DO mysubmain.prg.  I put a messagebox in mymain.prg right before the 
call to mysubmain.prg and it comes up "about to start mysubmain".  I put 
a messagebox in mysubmain.prg that says "entering mysubmain.prg".  The 
first messagebox appears but the second one doesn't and I get an 
"invalid path or filename" that is not handled by my error handler.  The 
really strange thing is that the application selects one of 10 sites 
(path to DBC()).  It works fine on all of the sites except for 1 !!!  It 
also behaves exactly the same way on my system that it does on the 
customer site !!!

There is nothing between the main program and the sub program.  I have 
recompiled both of them and removed and re added them to the pjx.

The user and I can access the data for that site without any problems.

Does anyone have a clue?

-- 
Jeff

Jeff Johnson
[EMAIL PROTECTED]
SanDC, Inc.
623-582-0323
Fax 623-869-0675

Phoenix Python User Group - [EMAIL PROTECTED]


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.