I've got an asp page using CDONTS for mail. It's running on an NT4
server with the latest updates. I don't have any problems with the
page except I want to convert it to a vbscript (.vbs) file so that I
can schedule it to run with Task Scheduler. So the original page
works fine.I've copied the page code and edited it to scripting standards and
saved it as a .vbs file. It's on the same server as the original asp
page.But I get this error when it runs:
ActiveX component can't create object: 'CDONTS.NewMail'
i can use Server.CreateObject("Scripting.FileSystemObject") successfully, why this excel.application cannot work?is there any other way to read data from an excel file?
Error: File /default/default.asp CreateObject Exception. The CreateObject of '(null)' caused exception C0000005, when i trying to create an object of component.
This component is used for generating Images on browsers. The image is generated in btyes array and passed to this component for further processing. I checked the internet and not able to find any specific pointers.
I am trying to create a comments form with html and have it sent to my email address from the website via ASP. I keep getting an error message that says:
Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /myapp/email.asp, line 3 Invalid class string
I've examined my line 3, and I cannot see the problem. Could anyone tell me whats wrong with the codes, or must I have a separate database to house the contents of my forms as well?
I'm trying to install a simple e-mail form to my webpage; which takes some info from user (like name, phone, e-mail,etc...) and when user pushes submit button e-mails them to me immediately. I've tried to do so with ASP Formmail but I couldn't succeed. . it gives me: Server object error " 'ASP 0177 : 800401f3' Server.CreateObject Failed " error. Can anyone please help me to install my form? Because I need to install it immediately;
In file '1.asp' I call Server.CreateObject("a") to create an instance of object 'a'.
I then call Server.Execute("2.asp") and want to pass the reference to the object 'a' I just created to the script executing in '2.asp'. Session cookies are not enabled so there is no session object.
Does anyone know if there is any documented way of doing that? or if there is a good/right solution to this problem?
My system has a problem when I invoke the fileSystemObject to create a text file (it worked ok long before.) The asp seems running, but actually never finishes. I don't know what I done wrong to the server. How can I fix the problem? Is there a way to resinstall the filesystemobject to the server?
why the second statement below hangs the call to the server. I am running Win2000 , SP4, IIS 5.0 on a local machine. I recently applied SP4 and had to re-install IIS. The code use to work okay under Sp3.
Set TypeLib = Server.CreateObject("Scriptlet.TypeLib") TempGUID = TypeLib.Guid Response.Write TempGUID & Chr(13) & Chr(10) Set TypeLib = Nothing
I have a VB script function that creates an instance of an ActiveX object on the server. The problem is that even if I delete the physical DLL on the server,it still creates the oblect. Which means it's not pointing to the correct DLL. I searched the entire registry and all strings were pointing to the same physical path. But as I say, even if I modify or delete this DLL it's one of our own ActiveX component, it still works.
I also searched the entire server for this DLL's name and found it in a couple of other places. I then renamed those DLLs to ".old". Have you ever heard of anything like it ? Somehow there must be a cached version that the server use when I call the CreateObject method instead of using the registered one.
How do you capture an error when executing "Server.CreateObject" from and asp page. The object does not get created and no error message is reported. I know the application recognizes the existence of the registered dll but it does not creat it
I am new here so hi to all anyone can help me as i have a problem when i create the object Set objWord = createobject("Word.Application") i get the error Microsoft VBScript runtime error '800a01ad'
I'm studying "Visual Basic Developer's Guid to ASP & IIS", and I am following instructions an pp 72-75.I am creating a WebClass, and enter code as instructed, and it all is entered correctly.
When I try and run, I get the folowing error:
"The call to Server.CreateObject failed while checking permissions. Access is denied to this object."
I've not compiled this, but am following instructions to just run the project.Is this not possible without compiling it?
MSXML3.0 is installed on the server.When calling the function below I get an error:
Server.CreateObject("MSXML2.ServerXMLHTTP.3.0")
However when using Server.CreateObject("Microsoft.XMLHTTP") the object gets created just fine.Is there a difference between the 2 functions?Is the second one using MSXML3.0 or an older version? What could be causing the first call to fail?
my problem is my Server.CreateObject("ADODB.Errors") fails with Invalid ProgID. For additional information specific to this message please visit
the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
My other Server.CreateObject's work for other ADODB objects but not for this one. Any ideas why and how to fix? i m using Windows 2000 Server SP3.
I made a small executable file in VB, compiled it and threw it in the Bin folder of my virtual web directory, however when I try to run it from an ASP webpage I keep getting the error that it can not create the object.
After some googling everyone seems to say that you must register the .exe with the server first. My question is, how do I go about registering the .exe file with the server (I have admin access to the server) so that I can use it in my ASP webpage.