• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Newbie needing help to debug simple ASP page

DukeBlueDevil

Junior Member
Hi All,

I'm trying to access a simple stock quote Web service through ASP. Below is my code:


But I get the following error:
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: '[number: 26.86]'
/test.asp, line 20

line 20 refers to the Set result = client.getQuote("MSFT") line.

What's the problem?

Thanks for any help!
 
Looks like GetQuote returns a number. Therefore you don't need "SET" there. Just do result = GetQuote("MSFT").
 
Back
Top