Ask a Question related to ASP Components, Design and Development.
-
Surya #1
Accessing VJ++ COM DLL From ASP Page gives error
Hi Friends,
I had written a VJ++ COM DLL which uses some jar files.I tried to
access the DLL from a VB Standard Exe
and it worked fine.But,when i did the same with a ASP Page it gave an error
No Class Def Found.The Jar Files
which the COM DLL needs where in the proper classpath when the DLL was
built.Also ,VB Standard Exe was also
executed from the Same machine.The ASP Page is also in the IIS Server on the
same machine.But,i do not understand
why it works with VB and not with ASP the same way.Is there any specific way
to refer to jar files or class files which
a VJ++ COM DLL may require while working with ASP and IIS.If anyone knows a
solution or has has faced a similar
problem in the past,please let me know.Any help regarding this will be
sincerly appreciated.
Surya Guest
-
Error accessing ColdFusionMx 6.1 Administration Page.
Hi! I am installing ColdFusion MX 6.1 on my laptop that has Windows XP Prof. I was able to install it, but after the installation completes and... -
Template error code 3 + Error Accessing files..
Hi, I am really out of any idea after searching Macromedia website and still cant find the solution. I faced the error code 3 when trying to update... -
Error Accessing SQL Server Reporting Svcs Management Page!
Probably shouldn't have done so in this order, but I ran DCPromo on a SQL Reporting Services server. The /reportserver management page used to work... -
Accessing Values of local variables in previous page when using custom error page
Hello, I have created a nice funky 500 - 100 error page which gives a nicer error; happily loops through and supplies querysting information, all... -
Error accessing page
I've got an ASP .Net project which I built on a development machine, but when I copy the files to another computer I get the following error: ... -
Adrian Forbes - MVP #2
Accessing VJ++ COM DLL From ASP Page gives error
> i do not understand why it works with VB
ASP/VBScript can only use late-binding and the IDispatch> and not with ASP the same way.
interface. In your VB EXE are you using early binding?
Create a text file on your desktop called test.vbs and
enter into it;
set objMyObject = CreateObject("ProgID")
msgbox objMyObject is nothing
set objMyObject = nothing
Save the file and double-click it. If all is well you
will get a message box saying "False". Or do you get an
error message?
Adrian Forbes - MVP Guest
-
Surya #3
Re: Accessing VJ++ COM DLL From ASP Page gives error
Hi Adrian,
Thanks for your immediate response.It works fine as a vbscript
file,meaning i get a false..But,does not work in a ASP Page.What is that i
have
to do so that it works in ASP.
"Adrian Forbes - MVP" <adrian@xxxnoemailxxx.com> wrote in message
news:0a6801c3663c$cdddc540$a501280a@phx.gbl...>> > i do not understand why it works with VB
> > and not with ASP the same way.
> ASP/VBScript can only use late-binding and the IDispatch
> interface. In your VB EXE are you using early binding?
> Create a text file on your desktop called test.vbs and
> enter into it;
>
> set objMyObject = CreateObject("ProgID")
> msgbox objMyObject is nothing
> set objMyObject = nothing
>
> Save the file and double-click it. If all is well you
> will get a message box saying "False". Or do you get an
> error message?
Surya Guest
-
Adrian Forbes - MVP #4
Re: Accessing VJ++ COM DLL From ASP Page gives error
Is your site using anon access? Try logging in locally as
your anonymous IIS account and running the VBS test script
and see if it still works.
To log in as the anon user right-click your Default Web in
the IIS config util and select properties then the
Directory Security tab. In the Anonymous access box (top
one) click the Edit button.
This will give you the Authentication Methods box, click
Edit in the top one (anonymous access).
The anon user account dialogue has two fields. The top
one is the account IIS uses for anon access but it has a
random password. The account should be IUS_<machine
name>. Change the password for this user via the normal
admin tools, then uncheck "Allow IIS to control password"
and enter the password you changed the account to.
Now log off and log in using your IUSR account and the
password and try your script. When your testing is done,
go back to the anon account properties and reselect "Allow
IIS to control password"
vbscript>-----Original Message-----
>Hi Adrian,
> Thanks for your immediate response.It works fine as aPage.What is that i>file,meaning i get a false..But,does not work in a ASPmessage>have
>to do so that it works in ASP.
>
>"Adrian Forbes - MVP" <adrian@xxxnoemailxxx.com> wrote in>news:0a6801c3663c$cdddc540$a501280a@phx.gbl...>>>>> > i do not understand why it works with VB
>> > and not with ASP the same way.
>> ASP/VBScript can only use late-binding and the IDispatch
>> interface. In your VB EXE are you using early binding?
>> Create a text file on your desktop called test.vbs and
>> enter into it;
>>
>> set objMyObject = CreateObject("ProgID")
>> msgbox objMyObject is nothing
>> set objMyObject = nothing
>>
>> Save the file and double-click it. If all is well you
>> will get a message box saying "False". Or do you get an
>> error message?
>
>.
>Adrian Forbes - MVP Guest



Reply With Quote

