Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxISAPI 101
Message
 
 
To
28/05/2001 22:32:09
Kenneth Downs
Secure Data Software, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
FoxWeb
Title:
Miscellaneous
Thread ID:
00511983
Message ID:
00512045
Views:
10
>I don't quite know what to say. The first time in my life somebody from Microsoft has ever answered one of my questions, and he tells me to read TFM.

So much for putting a smiley at the end of the sentence. ;-)

>My post indicates clearly that I put it in the scripts directory,

Sorry, the first thing I read was that you put it in the wwwroot directory, which was an immediate red flag. I should have read the later part of the post more closely.

> and reset the server to clear it from memory, and got the error 500-Internal Server Error.

Try doing a NEWOBJECT on the foxweb COM server. I'll bet it's something in the Init, like it can't find a file or something. If this is the case, you'll more than likely get a "Classfactory cannot supply requested class" error. Or for that matter, the error page that you get should have some descriptive information. No matter, you need to decouple this thing from FoxISAPI and make sure the COM server is working, then try to get it working through the web. Here's how I'd tackle it:

1. Test in VFP by creating a non-COM object from FoxWeb. Something like
ox=newo('server')
right before the class definition.

2. If that works, compile and NEWO('foxweb.server') on the COM server.

3. If that works, then you're right, something's hosed in your environment. I tend to doubt it, though.

> I followed them and it did not work. Since everyone else follows them and they do work, then I must assume that either a) I have configured my machine in some way as to prevent these normal operations, or b) there is some known issue with Windows 2000.

It ain't b), because I test weekly on Windows 2000. There is the remote chance that the COM server is crashing (this can cause a result of 500). The above steps will help you determine this.
Mike Stewart
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform