CreateObject Not Working In Win2003
We have a web application that calls a VB dll in one of the asp pages. It
works fine on the old NT server but does not display results on the Windows
2003 server (IIS 6?). Does anyone know where I might start trying to find
out why this is happening? We copied the web pages and registered the dll
on the new server. The call to the dll function returns a string and we
just display that string on the next asp page, but it does not show up. Is
this some sort of cache issue or ???
View Replies
ADVERTISEMENT
I've recently uploaded a site to a new ISP, which is on a Win2003 platform. I've had a problem in that the existing ASP scripts handling email form submissions all experience the following error:
Microsoft VBScript runtime error '800a0046' Permission denied
From what I can gather this is due to moving from Win2000 to Win2003, and specifically the problem lies in this line of code: ....
View Replies
View Related
I want to create object of outlook so that i will play around all outlook methods and properties. I used to create a outlookobject using:
set myOEobj=create.object("outlook.application")
Code:
View Replies
View Related
I have some ASP pages(called dlls) running well on Win2000, but not Win2003.
Got "Permission deny" when called Server.CreateObject
View Replies
View Related
The first page create a cookies. The second read the contet. If I browse the pages via IE6.0 the pages does not work. If I browse the pages via FireFox the pages work fine....
View Replies
View Related
I have moved an ASP application to Windows 2003 and I have problems as I am currently using an Access Database until I upgrade it.
However, I am getting the error:
Operation must use an updateable query.
I have had this before so this didn't bother me too much. I added my IUSR_WINSERVER2003 to the security tab of the folder containing the database and gave read/write permissions.
However, I am still getting the updateable query errors!
I even added the Everyone account temporarily to see if it made a difference - and I still get the error.
Is there something new in Win 2003 ? Can anyone help me?
View Replies
View Related
I am moved to WIN2003 Server, and the server admin is saying CDONTS is no more supportable on Win2003 I don't like the CDOSYS
and tell me in detail what I need to do to get the CDONTS on my win2003
View Replies
View Related
It works perfect on my Win xp machine but when i upload the page into my server which is win2003 it returns 0 What is the possible cause of it ? Code:
View Replies
View Related
I got a new server with Windows 2003 on. I moved a site that works fine from a Windows 2000 server. On many pages i get a convertion like this:
|Microsoft VBScript runtime error '800a000d'
|Type mismatch
|
|/test/test.asp, line 3
|
This is the code that i run to get the error:
|<%
| a = 1
| if a = 1 then response.write("a = 1")
|%>
|
It does work if i add "if cint(a) = 1 then...." but is it a way to make IIS6/ASP don't check the code so critical?
View Replies
View Related
I'm getting this error where I hadn't had a problem before. Prior to getting the error, I did change settings on the default web site. Could that cause this problem? How do I fix it? I've stop and restarted the server and the computer. Still getting the error. Code:
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
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
View Replies
View Related
what is the difference between these two jscript statements?
object = new ActiveXObject("myobject.object");
vs
object = WScript.CreateObject("myobject.object");
on my samples they practically does the same. what are the differences (if any). when would you use one over the other?
View Replies
View Related
When i try to do this
Dim ExcelFace
Set ExcelFace = CreateObject("Excel.Sheet")
.........
the browser says this
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'CreateObject'
/mjenjaci/test.asp, line 5
I have given the IUSR permission to the folder but still the sam error.
View Replies
View Related
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.
View Replies
View Related
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'
View Replies
View Related
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
View Replies
View Related
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'
ActiveX component can't create object: 'Word.Application'
/citistaff/admin/EditManualy.asp, line 54
View Replies
View Related
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?
View Replies
View Related
we use an ASP page to upload files but sometimes it doesnot work as it suppose to do and we found error log in Application Error as:
Event Type: Error
Event Source: Active Server Pages
Event Category: None
Event ID: 5
Date: 11/27/2006
Time: 9:17:08 AM
Description:
Error: File /ASP/UploadFile.asp CreateObject Exception. The CreateObject of
'(null)' caused exception C0000005..
This exception happened sporadically. I didnot find a way to reproduce the error.
View Replies
View Related
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?
View Replies
View Related
I try to Use Excel.Application Library on an ASP page like this
Server.CreateObject("Excel.Application")
i get this error:
ASP error '800a01b0'
File name or class name not found during Automation operation:
On the server is installed Excel 2000 and the OS is Win2K.
View Replies
View Related
Im using PWS as my server. I try to use server.CreateObject("tesing01.mystatus")
but get a error message:
tesing01 error '800a01ad'
ActiveX component can't create object /myTestingPage01.asp, line 512 .
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
in the line error i'm trying to create a RDO recorset, but i don't know if is correct:
Set RdoQuery = Server.CreateObject("RDO.Recordset")
if is correct, what happen?, else, how is it?
View Replies
View Related
A custom ASP web application that i have developed has stopped working
after the install of WinXP SP2. The application breaks on:
Set oMaint = Server.CreateObject("efilingMaintenance.clsMaintenance")
with error message: Code:
View Replies
View Related
I just setup a new machine with Vista Business Edition and IIS 7. I had to turn on IIS 7 attributes including the IIS Manager. Not sure what options I needed I turn them all on that even remotely look like I might need them.
The IIS Manager looks total foreign to me but eventually I figure how to add a virtual folder. I then started making script files in html, javascript and vbscript. I would run them through IIS 7 using the URL: http://localhost/../filename. This all worked fine and I was able to try most of the code that I had used on IIS 6 under XP.
I then start adding ASP server-side calls to the script. I tried several objects: Request, Response..etc. and they worked fine. The problem started when I started using the Server object. In particular when I added the line:
objCLC = Server.CreateObject("MSWC.NextLink")
View Replies
View Related
how to change the default horizontal align from chDimCategories property to vertical?
View Replies
View Related
I've been here before, I've set this working on an NT 4 server, but for the life of me, I can't remember the trick...
In full, I'm opening a doc in word 2k on the server - win2k adv - to print to file as .ps, for conversion via Acrobat distiller.
set wordapp = createobject("word.application")
is generating:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'createobject'
/test/print.asp, line 32
View Replies
View Related
Any idea why this is happening? The directory exists on the FS. It's an upload script to put files in a database directory. It errors out on the upload.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/ProspectTracking/alphatest/default/Upload/upload.asp, line 3
800401f3
SELECT.ASP
Code:
View Replies
View Related
I am doing a bit of ASP and I have created a new object, for example:
set sourceDOM=Server.CreateObject("Microsoft.XMLDOM")
When I am done with the code do I need to worry about killing or closing this object? If so, how?
View Replies
View Related