Thanks, Claude... I figured it out at the same time you posted this. Apparently the error I was getting was related to IIS. The Fox COM Server has to be on the machine and not on a mapped network drive. Thanks though.
Richard
>Here's what I have in C#:
>< % @Page Language="C#" ASPCompat="true"
>< % @Import Namespace="avfpdemo2_dotnetproxy"
>< %
>server x ;
>x = new server() ;
>try
> {
> Response.Write(x.main());
> }
>catch(Exception ex)
> {
> Response.Write("Caught .NET exception, source: " + ex.Source + " message: " + ex.Message);
> }
>
>
>>I created a simple COM component with Fox 8 that simply logs into a SQL Server backend to test the connection and return true if it succeeds. On the ASP.Net side I'm using C#. I'm getting the following error from .NET:
>>
>>System.IO.FileNotFoundException: The specified module could not be found
>>
>>The debugger is pointing to the following line of code:
>>
CJTUpdateTester atest = new cjtupdate.CJTUpdateTesterClass();
>>
>>I've set a reference to the TLB which is residing in the development directory for the fox dll through VS.NET 2002. Should it be in the Windows directory or something? I'm running out of ideas.
>>
>>TIA
>>
>>Richard
State of Florida, DCF