custom class is failing...HELP:)

  • Thread starter Thread starter Chris Marsh
  • Start date Start date
C

Chris Marsh

Hello,

I have moved the ASP.NET C# source code from PC 'x' to PC 'y', since doing
that we are having a problem with 4 custom Visual FoxPro classes DLL's that
we have created - they are failing. They show up with the 'warning'
triangle, if we remove and then re-add to the Solution Explorer then the
'warning' triangle disappears however the problem is not solved, they still
are not available in the in the class object browser.

The project is running a different PC with without the code behind source
involved. What are we missing?

Thanks

Chris
 
Hi Chris,

Thanks for posting here. From your description, you've moved one of your
ASP.NET web application from one box to another, the app has used some
custom class in a managed dlls which is used for operations on Visual
FoxPro. However, you found that those classes in the custom dll not work on
the new machine, yes?

As for this problem, I'd like to confirm some further questions:
1. Is the managed dll(contains those custom classes) calls some Visual
FoxPro's COM components? If so, this is because the COM components is
registered on a certain computer(in registery). Though we can copy the
warrper managed dll( which call the VFP's COM interfaces) to a new machine,
but it'll be unable to find the COM interfaces on the new machine.

2. You can create a winform application and add those custom class's dll
into refernce and call those classes to see whether the problem also
remains. This can help confirm the problem I mentioned above.

Please try the above things. If you have anything unclear or have any new
findings, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
Back
Top