Handling Script Timeout When Invoking ActiveX Object

I understand that with IIS5.1 on Windows XP Professional SP1, I can

1) Either set under IIS Manager-> Any specific Virtual Directory->
Configuration->Options->ASP Script timeout for all pages within that
directory OR

2) Within a specific page, set the timeout as per
http://www.microsoft.com/windows200...sp/vbob246s.htm
e.g. <% Server.ScriptTimeout = 1 %>

and that the value in 2 cannot be less than that of 1

What I am doing from an ASP page is as follows: Code:

View Replies


ADVERTISEMENT

Passing Parameters To Or Invoking A Method Of An Activex Control In Asp

I wrote a simple client/server chat program and the client runs as an
activex control within an asp page. I have the users logging into
the page using widows authentication and I'm using
Request.ServerVariables("AUTH_USER") to get the users name. I'd like
to pass this name to the activex chat client thru the page but I'm
having some difficulty. I tried passing it as a parameter to the
"Tag" property within the <OBJECT> element like this:

<%
username=Request.ServerVariables("AUTH_USER")

username=right(username,len(username)-instr(1,username,""))
' remove the domain or machine name from the username

Response.Write "<PARAM NAME=" & chr(34) & "Tag" & chr(34) & " VALUE="
& chr(34) & username & chr(34) & ">"
%>

When I do this the ActiveX control doesn't appear on the page. Is
there a better way to do this? I also tried creating a public sub in
the activex control and calling it as a method from within the page
but I can't seem to get the syntax right. I keep getting "Object
Required" errors.

View Replies View Related

Instantiating Object From Custom ActiveX DLL

I've been provided with a custom ActiveX DLL (written in C++) that reads a certiifcate to generate a signature for a passed XML string, and I'm having trouble instantiating it.
The DLL is registered succesfully on my computer and I've explicitly granted IUSR_<machinename> to use it. Code:

View Replies View Related

ActiveX Component Can't Create Object!

Originally Posted by Error

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object: 'CDONTS.Newmail'

/mailer.asp, line 20

I am Getting that error once i submit on a Form.. Code:

View Replies View Related

ActiveX Component Can't Create Object

I am recieving error ActiveX component can't create object in the following
line in the asp page.

set ExcelApp = CreateObject("Excel.Application")

Previously this code was working fine.

View Replies View Related

ActiveX Component Can't Create Object: 'CDO.Message'

I get:

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object: 'CDO.Message'

/wheelofgod/mailing.asp, line 3

How is that dealt with?

View Replies View Related

ActiveX Component Can't Create Object: 'CDO.message'

I run a script on my server I get a error
messeage..

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object: 'CDO.message

View Replies View Related

Error: ActiveX Component Can't Create Object: 'CDO.Message'

does anyone knows how to send email from ASP forms?

I wrote this code for sending email:

Dim objMail
set objMail = CreateObject("CDO.Message")
objMail.From = "mail-srv@binapuri.com.my"
objMail.To = "Serene@binapuri.com.my"
objMail.Subject = "New leave application."
objMail.TextBody = "Testing"
objMail.Send
set objMail=nothing

But I got this error:

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'CDO.Message'

What does it means?

View Replies View Related

ActiveX Component Can't Create Object: 'CDONTS.NewMail'

Does someone know the cause of this error? I'm developing a simple christian site for our church and it needs to have an email functionality. When I submit the form I receive this error. Can anyone give me some tips?

View Replies View Related

ActiveX Component Can't Create Object Error Number = 429

After server went down I got this error after submitting Membership form. (win2000, IIS 5.0, Access Database(mdb)
ActiveX component can't create object Error Number =429

View Replies View Related

ActiveX Can't Create Object:"Scripting.FileSystemObject

I'm at a complete loss on what is causing this error. ActiveX Can't create object:"Scripting.FileSystemObject when executing the code below. Every example I've looked at is pretty much identical except for the file names.

What I am ultimately trying to accomplish is when clicking on a link check to see if a file with today's date exists if so link to it. If not, link to a file with yesterday's date.

View Replies View Related

Session.timeout Object

I have a session object Session("login") whereas I need to extend the time on this to 1 hour, instead of the default 20 minutes. After initializing Session("login"), how would I change the timeout value?

View Replies View Related

Error :: ActiveX Component Can't Create Object: 'ScriptUtils.ByteArray'

I need to upload large files.I had the Huge ASP upload installed.It came recommended here.

Using the sample script I get this error when uploading:

Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'ScriptUtils.ByteArray'
/upload.inc, line 53

What does that mean?

View Replies View Related

Session.Timeout And Timeout Directory

I have a site that utilizes online forms. The problem is people could easily spend well more than 20 minutes filling out the forms before submitting them. To avoid the default timeout of 20 minutes (or whatever) I added a Session.Timeout = 120 to the forms page. I also checked IIS and set the connection timeout property to 120 minutes as well.

sessions still seem to be timing out well short of the 120 minute cutoff. (I haven't yet tested to see if it's still 20 minute default or somewhere between 20 and 120).

Is there anywhere else this setting might be controlled? Is there any simple way to do some sort of "keep-alive" from the page so that the server thinks it's active?

View Replies View Related

Invoking 404 Page Even When Page Exists

Is there a way I can make my server's 404 page display even when a correct page is requested?

Here's what I'm doing: on a certain page, the requestor's IP number is checked. If the number is an intranet number (192.168.x.x or 10.x.x.x), then the user is allowed to see the page. Otherwise, I want the 404 page to appear, as if the page doesn't even exist.

It's just one security measure I'm implementing.

View Replies View Related

VB6 Activex .DLL

Does any one know a way how to use a visual basic 6 written activex .DLL
without registering it with classic .ASP?Reason why my hosting is charging me for registering .DLL.

View Replies View Related

ActiveX Or COM

how can I create a simple non-UI dll or component which will be used by MS Access and .ASP apps which I can build with Visual C++ .net? An example or template which would allow me to paste in C code without learning all the C++ details would be perfect.

View Replies View Related

What Is ActiveX?

Can somebody explain me wht this ActiveX is all about. I am not a ASP coder, actually i just need to create something however i needs to be ActiveX i have been googling around trying to figure out how to implement this AcitveX in this ASP(not aspx) page. The page is done. kinda just missing the ActiveX.

View Replies View Related

ActiveX DLL

I created a ActiveX DLL project that will be with a asp page. I compile the project using Project compatibility instead of Binary Compatibility and import the DLL into Component Services.

Is there any problem that might occur using Project compatibility instead of Binary Compatibility with IIS? Also, what is the difference with the two type of compatibilities?

View Replies View Related

Or ActiveX?

what is faster, ASP Code or compiled ActiveX DLL with same functions(queryng data from ms sql server).

View Replies View Related

ActiveX Components

which ActiveX Component allows IIS to provide e-mail services

View Replies View Related

ActiveX DLL Component

I created a ActiveX DLL component to create a Excel file under my home directory through VB6.0. Then I registered it through "regsvr32" command and a messagebox came out to say that the register was successful. But when I tried to run it in my ASP page under IIS ver5.01 and win XP Pro, it gave me this error:

Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/tg.asp, line 2

Here is my full code:
<%
set myExcel=server.createobject("test.test1")
myExcel.CreateExcel
set myExcel=nothing
%>

View Replies View Related

Loading An ActiveX DLL

Why would the following code execute in VB6 but hang indefinately when
exectuted in an ASP 3.0 page?

Set VLReceive = CreateObject("VLCTI.VLReceive")

This line is invoked in the following context:
<%
Dim VLReceive
Set VLReceive = CreateObject("VLCTI.VLReceive")
Set VLReceive = Nothing
%>

Is it the setup of the virtual directory or something?

View Replies View Related

Activex Lifetime?

I have created a small activex dll to do a background task on my web server. I
fire it off with a set myjob = server.createobject(myactivex) and it runs.

I do not do a set myjob = nothing and so it seems to keep working even after
the initiating session is closed with session.abandon.

Question... what will be the lifetime of this object and is there a way to tell
if it is dead and needs to be reset... after the session is abandoned I no
longer have a reference to it (myjob)

View Replies View Related

How To Use ActiveX For Client PC Using ASP

I have created one ActiveX DLL in VB that has one public function
("GetClientCPUID") which will return a string of the CPUID. I want to use
this to get the clients CPUID and retuern to webserver. I am new to using
activeX in client side.

In Asp how can I send this ActiveX to client browser? (I will instruct my
users to allow this activeX). Is there a way I will execute this activeX in
clients PC and get the return value and return to the server for my
processing? Please suggest the ways that I can do this.

Also suggest what are the situations that I should know before I proceed. I
think there will might a issue when I upgrade the activeX and the client
those are using the current one may face problem so I think I will need a
way to uninstall the register the new one. Code:

View Replies View Related

Use Activex Control

I want to write an activex control. This actiovex comntrol will be a simple drop down and when i select a value from this drop down the value in another drop down will be fill up based on this value with page refreshing.I have no idea how to develop such type of activex control.

View Replies View Related

ActiveX Scripting

Does anyone know where I can find any good documentation using ActiveX scripting with asp and vbscript? How is ActiveX scripting different than using ADO (ActiveX Data Objects)?

View Replies View Related

Debugging Activex Exe

I have asp page which is using activex exe component ...how can I debug from asp page to the component...I am using visual basic to create my activex component.

View Replies View Related

ActiveX Component

Was running my ASP app no problem on a Windows XP Pro SP2 machine with IIS, dragged a copy my app folder and put it on another Windows XP Pro SP2 machine with IIS and I get the below problem:

Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'Scripting.FileSystemObject'
/asp/forms.asp, line 497

I can run old copies of this app folder no problems so what has happened since I dragged a copy from one machine to another?

View Replies View Related

ActiveX And Javascript

I can call a method of an ActiveX control via javascript but I also need to go the other way and call a javascript (or vbscript) function from within the ActiveX control.

I'm thinking the control must issue an event and javascript must listen for that event? Am I on the right track? Where can I learn about how to do it?

View Replies View Related

Activex Warning

I get the following warning when i receive a mail send from Asp:

""Your current settings prohibit running ActiveX contros on this page. As a result, the page may not display correctly.""

i want to avoid getting this message what can i do for it.

View Replies View Related

ActiveX Component IIS

I´m using IIS 5 on Windows XP. When trying to send a mail using 'CDONTS.NewMail', I get this error message : ActiveX component can't create object: 'CDONTS.NewMail' .

View Replies View Related

ActiveX On A Web Page

Is it possible to have one instance of an ActiveX control for all pages in a web application (written using ASP)? There are about 20 pages in that application and I would like to have one instance of the control to be shared among all pages without destroying and creating the one while browsing through pages.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved