Not sure which category this falls in, but I will start here. I have built a web service that wraps a FoxPro DLL. I know a little about COMInterop and I am having a difficult time finding resources to learn more.
What I did was install the FoxPro dll on my local machine, which is my development machine running IIS 5.0. I then created a COM+ package for the dll. I next created my web service and added a reference to the FoxPro dll. Doing this added a Interop."dllname".dll file to my bin directory. The FoxPro object is basically a series of properties and then a method call. I build the objects state through the property calls and then I call a method, in this case the method is called 'post'. 50% of the time the post method works, 50% it does not and I rteceive a page cannot be found error, #500. When I say 'it works', I receive the expected results from the method call. I added a watch to my foxpro instance and I keep seeing the following 100% of the time: Parent <error: an exception of type: {System.Runtime.InteropServices.COMException} occurred> Integer Not having an in depth knowledge of COMInterop and what .NET is doing for me under the covers, this error bugs me as well as the 50% of the time the method call fails and I receive HTTP 500 - Internal server error Internet Explorer. Any feedback or pointers to a good resource would be greatly appreciated. Greg Robinson Director of Training and .NET Technologies Scribble Software www.scribblesoftware.com You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.