CreateObject Fails After XP SP2

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


ADVERTISEMENT

ASP Fails

I've got some ASP-code that uses FileSystemObject to move user home
directories on a DFS-root. When I run this code on the original
Win2000/IIS5-server, it works fine. But when I try it on a
Win2003/IIS6-server, I get the following error:

-2147023545

which I found can be translated as follows

=> 0x80070547 => 1351 =>
"Configuration information could not be read from the domain controller,
either because the machine is unavailable, or access has been denied."
I've tried to run IIS in IIS5-isolation mode, but get the same error.

View Replies View Related

Cmd.exe Fails

i mtrying to run a message service using net send via our intranet -
basically the user selects the poeple on the network who they want to
send a message to from a drop-down list on a form and on submit a loop
is run - here's a snippet of the code (inside a for loop)

<% elseif Request.Form("recipients")(a) <> "" then %>
<% NamUsr = CStr(Request.Form("recipients")(a)) %>
<% server_shell.Run "%comspec% /c net send " & NamUsr & " FROM " &
username &":" & Msg %>

(Note : I create the server_shell object outside the loop and set it
to nothing when the loop has finished - also username is basically
Server Variable Logon User)
The problem happens when all users are selected - it sends it to a few
people and then bombs out and then i get a load of application errors
- cmd.exe or net.exe failed to initialize on the server.yet when tested for smaller numbers of users it runs fine

View Replies View Related

Asp Fails To Execute

after publishing a web to iis, asp pages based on a
database fail to work. the browzer starts loading such page
and never does- at some point the status bar stops and the
page never loads without displaying any errors. the browzer
shows that it is busy all the time.

View Replies View Related

CDO Message With CC Or BCC Fails

Greetings, I'm using simple code to send customers an email after they submit a helpdesk ticket. I wanted to copy myself on the emails, but when I enter myMail.BCC or myMail.CC, it fails to send. If I comment out these lines, the message sends successfully. I've made sure the bcc or cc addresses are valid. I changed the names in my code to protect the innocent.

View Replies View Related

IIS 5.0: CreateFolder Fails

CreateFolder method does not produce a result from IIS. I tried many things including changing file permissions, web server permissions etc. to no avail.

View Replies View Related

Login Fails - Error

I am getting this error. Got it for the first time, so am really not sure why

"[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login '/dbmckenna'. Login fails.

/Sitter_Registration.asp, line 12 "

View Replies View Related

Fso Fails When Connecting To Mapped Drives From Asp On IIS 6.0

I have an asp page (see source code below) running on IIS 6.0 on
Win2003 Server that tries to get file and folder information on a
Novell Server. I am able to successfully connect to the share on the
Novell box if I use the UNC path. But, unfortunately, I need to have
the mapped path for my application.

I created a simple vbs script and
saved it to the server desktop and run it to verify connectivity to the
Novell box. I am logged in to the server with the same user as set up
in my website as the anonymous user. The vbs file runs perfectly. But
as soon as I move the code into an asp file, I get the following error
"Microsoft VBScript runtime error '800a004c' Path not found". If I
go into my asp file and change the path to the novell box to a UNC
format, then it works. Below is the asp file: Code:

View Replies View Related

Login Fails Inside A Frame

I have an ASP 2.0 secured website that works fine.My problem is that I need to run this "mini site" inside a frame.We have a domain hosted website and I'm redirecting the frame contents to our IIS server and my MD doesn't want the customers seeing a "messy" IP
address, so the solution was to run the mini-site inside a frame. However, despite the login screen being displayed, when a user logs in, theuser.identity.name is null and roles are not set.

View Replies View Related

.SaveToFile Fails In Firefox/Mozilla

I have an upload script that seems to fail in Firefox and Mozilla based browsers when it hits the .SaveToFile Method. It works fine in IE. Is this a documented bug? Is there a work around?

View Replies View Related

Server Side Executable Fails

I am attempting to have an asp page call a batch file. I had it working, I was high on life and then I decided to log off the server. Once I did, the code would no longer work. When I logged back onto the server, I saw:

'The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.' Code:

View Replies View Related

ASP Upload Fails When Files Dimensions Exceed 3MB. Why ?

I'm experiecing a problem with file uploads from ASP pages.

On a Windows 2000 - IIS 5 server we're running an ASP Classic
application that features an upload form for files of great dimensions
(100+MB). Problem is, when we try to upload a file exceeding 3MB we
retive almost immediatly a message such as 'The page cannot be
displayed'.

We do not even reach the page that contains the code for file
managing; when we click on the submit button in the form with enctype
multipart form data the application ends and the error is visualized.

For files under 3MB there are no problems at all.

The FAQ of our upload third party component (ABCUpload by Websupergoo)
state that we could either have problems with our proxy or we could be
stopped by a wrong URLScan setting: we do not have any proxy nor
URLScan is installed on our server.

I may add that all the configuration of the script timeouts on IIS are
correctly set.

Is there anyone who can suggest us a solution?

View Replies View Related

ASP VBScript Fails When Response.buffer = True

I have a big asp file that has an error under certain conditions -- totally
repeatable. However, it only fails when I set response.buffer = True at the
top. WHen I set it False in order to debug it, it works every time! I even
set it to True, but did a .Flush just before the error, and the error won't
happen.

It only happens when response.buffer is True and no .response.flush is issued.

The error is a string variable turns-up empty and crashes a function
requiring a date. I could test for this before the line where it crashes,
but where did my data go? Why is the buffer affecting it?

View Replies View Related

Validation Fails On Copy Paste From RTF Document

If I copy & paste from a RTF document into a field, the javascript validation and field length are bypassed and cause the form to fail.

View Replies View Related

ASPPop3 (Server Objects) Fails To Return Email Details

Can anyone tell me why this code doesn't work? The original came from
an example in this group, but was modified slightly when the original
failed to return message details.

I am able to connect to the server and see the number of messages on
the server, but message details (sender, subject, body, etc.) are not
returned....

View Replies View Related

Createobject

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

CreateObject

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

CreateObject

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

CreateObject

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

CreateObject

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

CreateObject

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

CreateObject Error

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

Server.CreateObject

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

Problem With Createobject

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

Server.CreateObject

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

CreateObject Exception

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

Server.CreateObject

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

Server.CreateObject

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

Server.CreateObject

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

Server.CreateObject

my problem is my Server.CreateObject(&quot;ADODB.Errors&quot;) 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

Register .exe For CreateObject

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

Server.CreateObject

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

Server.CreateObject

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







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