10-19-04 10:51 PM
I am creating it on the HTML page just to test that my .NET COM object was
working properly (it was).
dim myobj
set myobj = CreateObject("ComTest.WebFarmSession")
myobj.testmethod()
When I moved the code to an ASP page to use it server side where it will be
used, I got the error. The error message "error 80131509" that is returned
is extremely unhelpful. The problem is I don't know ASP as all my experienc
e
is .NET, java. Instead of the code that worked for me in the html file, I
needed to use:
set WebFarmSession = Server.CreateObject("ComTest.WebFarmSession")
If you omit the "Server." prefix, you get that error.
"Aaron [SQL Server MVP]" wrote:
> How are you "creating the COM object in a simple HTML page"? Is it a
> control that the user will see? Otherwise, what purpose could it serve in
> HTML?
>
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>
>
>
> "Jason Rowland" <JasonRowland@discussions.microsoft.com> wrote in message
> news:0190289D-F0E5-4F46-810D-660B538889B1@microsoft.com...
> create
> CreateObject("ComTest.WebFarmSession")
>
>
>
[ Post a follow-up to this message ]
|