COMTI, Component Services, Invalid Cast Webservice VB HELP

Nate Bross

Contributor
Joined
Apr 6, 2005
Messages
601
Location
Chicago, IL
I'm getting a System.InvalidCastException: Query Interface for interface CapacityPricing._Login failed.

CapacityPricing._Login is a TLB created through Microsoft Component Services.

This is running as a Web Service; however, when I run the EXACT same code as a WinForms application it works as I expect it to.

I'm using asp.net 1.1, I can post the code for the function if it'll help, but the same code does work as WinForms app, it just doesn't work when Invoked through the web browser as a WebService.

Thanks In Advance.
 
You might need to adjust the permissions on the component to allow the ASPNet account to access / create and instance of the component.

You should be able to do this through the component services mmc tool - can't remember exactly where and this machine doesn't have it installed.
 
Back
Top