I run vfp app on Terminal Server and change the registy on
2k sbs server ref. by article 299603:
http://support.microsoft.com/default.aspx?scid=kb;en-
us;299603

HKEY_LOCAL_MACHINE\System\CCS\Services\Mrxsmb\Parameters
OpLocksDisabled : 0x1

HKEY_LOCAL_MACHINE\System\CCS\Services\LanmanServer\Paramet
ers
CachedOpenLimit : 0x0

HKEY_LOCAL_MACHINE\System\CCS\Services\LanmanWorkstation\Pa
rameters
UtilizeNTCaching : 0x0

It occur the following error message while running app :
Fatal error : Expection Code=C0000094
and then close the app.

client connect to Terminal Server O/S : Windows 2000 sbs
server (Service Pack 4)
app store on Data Server O/S : Windows 2000 Server
(Service Pack 4)
foxpro version of app : vfp8.0 sp1

What steps of configuration is missing?

Thanks

Ray

Re: C0000094 on Terminal Server by Eric

Eric
Mon Dec 29 04:49:13 CST 2003

Hello, Ray!
You wrote on Mon, 29 Dec 2003 01:27:19 -0800:

R> It occur the following error message while running app :
R> Fatal error : Expection Code=C0000094
R> and then close the app.

R> client connect to Terminal Server O/S : Windows 2000 sbs
R> server (Service Pack 4)
R> app store on Data Server O/S : Windows 2000 Server
R> (Service Pack 4)
R> foxpro version of app : vfp8.0 sp1

Do you get this error on your TS console or on the TS client? I've hacked
the registry for TS dozens of times and have never seen this error because
of the reg hack.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: C0000094 on Terminal Server by Leemi

Leemi
Mon Dec 29 13:59:53 CST 2003

Hi Ray:

I believe a C0000094 error is a divide by zero error.

Have you tried removing all the installed printer drivers from your
Terminal Server machine and replaced them with a Generic/Text only driver?
We have seen problems with certain printer drivers as discussed in this
article:

183522 FIX: Divide by Zero Creates Err with Third-Party Print Drivers
http://support.microsoft.com/?id=183522

When do you get the error? If you are opening and working with tables, you
might want to add a SYS(3050) function to the code to increase the
foreground memory buffer as shown in this article:

176483 PRB: Large Amounts of RAM Seem to Process Data Slowly
http://support.microsoft.com/?id=176483

Finally, if you are running any anti virus software, configure it so that
the VFP data files are not scanned. Here is an example of configuring
Norton anti virus in this manner:

321550 HOWTO: Optimize Visual FoxPro Applications While Using Norton
AntiVirus
http://support.microsoft.com/?id=321550

I hope this helps and have a Happy New Year.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003

>Hello, Ray!
>You wrote on Mon, 29 Dec 2003 01:27:19 -0800:

> R> It occur the following error message while running app :
> R> Fatal error : Expection Code=C0000094
> R> and then close the app.

> R> client connect to Terminal Server O/S : Windows 2000 sbs
> R> server (Service Pack 4)
> R> app store on Data Server O/S : Windows 2000 Server
> R> (Service Pack 4)
> R> foxpro version of app : vfp8.0 sp1

>Do you get this error on your TS console or on the TS client? I've hacked
>the registry for TS dozens of times and have never seen this error because
>of the reg hack.
>--
>Eric den Doop
>www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: C0000094 on Terminal Server by Ray

Ray
Tue Dec 30 21:59:32 CST 2003


>-----Original Message-----
>Do you get this error on your TS console or on the TS
client? I've hacked
>the registry for TS dozens of times and have never seen
this error because
>of the reg hack.
>--
>Eric den Doop
>www.foxite.com - The Home Of The Visual FoxPro Experts -
Powered By VFP8
>
>
>.

client using "remote desktop connection" connect to w2k ts
server, and application and data is mapped drive on other
server. It should be TS console.

the line of code crack on :
WITH THIS.GRD_INV
.RECORDSOURCE='PAY_SEL' && this line
...

1.No any printing before application crack, is it seem the
problem of third-party printer driver?
2.if it is a memory problem, should i set more or less RAM
used on application by SYS(3050)?

thanks

Ray

Re: C0000094 on Terminal Server by Eric

Eric
Wed Dec 31 02:08:48 CST 2003

Hello, Ray!
You wrote on Tue, 30 Dec 2003 19:59:32 -0800:

R> client using "remote desktop connection" connect to w2k ts
R> server, and application and data is mapped drive on other
R> server. It should be TS console.

R> the line of code crack on :
R> WITH THIS.GRD_INV
R> .RECORDSOURCE='PAY_SEL' && this line
R> ...

I'd check the table and index file first.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: C0000094 on Terminal Server by Ray

Ray
Fri Jan 02 23:42:11 CST 2004

Hi, Eric den Doop:
Thanks for your reply.

More information:
It was OK if user has adminisrator right.
Error is generated if user is not a adminisrator.

I still has no idea.

Ray

>-----Original Message-----
>Hello, Ray!
>You wrote on Tue, 30 Dec 2003 19:59:32 -0800:
>
> R> client using "remote desktop connection" connect to w2k ts
> R> server, and application and data is mapped drive on other
> R> server. It should be TS console.
>
> R> the line of code crack on :
> R> WITH THIS.GRD_INV
> R> .RECORDSOURCE='PAY_SEL' && this line
> R> ...
>
>I'd check the table and index file first.
>--
>Eric den Doop
>www.foxite.com - The Home Of The Visual FoxPro Experts -
Powered By VFP8
>
>
>.
>


Re: C0000094 on Terminal Server by Eric

Eric
Sat Jan 03 06:29:09 CST 2004

Hello, Ray!
You wrote on Fri, 2 Jan 2004 21:42:11 -0800:

R> More information:
R> It was OK if user has adminisrator right.
R> Error is generated if user is not a adminisrator.

Then this sounds like a securty issue. Does the normal user have full access
to the temp folders?
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8