ASP & COM+'s Enable Object Construction

I have a site that has been working for a few years now. the web site
is using a DB Access DLL written in VB. the DB's connection string is
passed to the DLL using the COM+ enable object construction option and
using CreateObject in the ASP code.

we are now trying to install this application on a new server and we
have a very strange problem:

Server info: Win2K SP4. the COM+ package is a server package with
identity set to be the administrator.

When the ASP page is trying to call createobject the call runs fine
even though it is not going through COM+ (if i look at the currently
running objects in my package, the count is 0) and the connection
string is empty since no construction string was passed to the DLL

if i run the same createobject call in a VBS file while logged in as
the administrator, it does go through COM+ and the connection string
is fine.

so obviously it is some kind of permissions problem but i do not know
where. i have tried setting the IIS's site to use the administrators
account for anonymous access but that did not solve the problem.

View Replies


ADVERTISEMENT

Enable ASP On A W2K3 Box

I hava a new Windows 2003 box running IIS.When I try and display an asp page it says page not found.but the page is there.I've checked the settings in IIS - I have execute
permissions script only.What do I have to do to allow ASP to run?

View Replies View Related

Enable The HScroll Bar

I want to display a tool tip for each item in multi select box(list box) in a web page.i want to enable the horizondal scroll for the list box.if any genius knows the solution .

View Replies View Related

Enable A Checkbox

I need to enable a checkbox if text is entered into a text box.My Html is .Code:

<INPUT NAME="txtTextBox" SIZE=8 MAXLENGTH=8 TITLE="Title of text box">

What I am unsure about is the code for the vbscript. I currently have the following which I know is wrong.Code:

<SCRIPT ID=clientEventHandlersVBS LANGUAGE=vbscript>
<!--
Sub txtTextBox_onclick
Document.form.chkCheckBox.enabled = True
End Sub
-->
</SCRIPT>

View Replies View Related

Enable A Textbox

I have a form called form1, On this form i have 3 textboxes and 2 radio buttons.(called yes and no) If i load the page the 3 textboxes are disabled, Now comes my question. If i check radioButton(yes) i want to enable the 3 textboxes, does anyone nows how to do this?

View Replies View Related

IIS5 SSL Enable

how to enable SSL in IIS5?

View Replies View Related

Web Enable An MFC Application

I have developed an MFC application using VC++ 6.0. The
application has been properly packaged and installed in a
directory. e.g C:NMS

The directory consists of the main executable (NMS.exe)
and ceratin dependent executables (client.exe, server.exe
etc.)

Problem:

I have created a virtual directory for this C:NMS. I have
given a link to the main exe (NMS.exe) in an ASP document.
The main application runs fine, but when it calls
other .exe(s) nothing happens.

View Replies View Related

Does Anyone Know How To Enable ASPX On IIS6 ?

Does anyone know how to enable ASPX on IIS6?

View Replies View Related

How I Can Enable Or Configure Https

How I can enable or configure https on a certain page(file).

View Replies View Related

Enable/Disable Combo Box

I have two option button and on combobox,in that combobox i added "all" statically. My need is if i select that first RADIO BUTTON that "all" in the combobox has to be enable and if i select that second RADIOBUTTON the "all" in the my combobox has to be disable.this is my need.
My first radiobutton name is all and second is select. tell me the coding and where i have to write that coding. please answer me becos i am new to this environment.

View Replies View Related

ENABLE/DISABLE POPUP

I create a popup web page using:

newWin = window.open(.....)

In the popup window I have href links. The popup takes a while to load and I don’t want the users to be able to click on a link until the popup information has finished loading. Does anyone know what Visual Basic Script commands I can use to disable then enable the display in the popup window while the text and hyperlinks are loading (preferable I would still be able to see the text in the popup while its disabled.

View Replies View Related

How To Get Server To Enable .aspx

i just installed .net framework 1.1 from microsoft because i have some .aspx files written. i have windows 2000 server. i can't get the .aspx files to be recognized i guess because they work on another server i tested them on.

Do i need to download anything else. What do i do to get my server to process .aspx files. when i try viewing the .aspx file in mozilla it wants to download the file. in explorer it just doesn't work.

View Replies View Related

ODBC Enable Database Connection

In IIS 5, there's seem to be no ODBC loading under the log file format dropdown option. SO if i want to use ODBC enable database connection to store session data how shall i proceed? ODBC connection to store session data able to reduce data traffic on web server?

View Replies View Related

Enable A Textbox With A Radio Button

I have a form called form1, On this form i have 3 textboxes and 2 radio buttons.(called yes and no) If i load the page the 3 textboxes are disabled, If i check radioButton(yes) i want to enable the 3 textboxes, does anyone nows how to do this?

View Replies View Related

Javascript To Enable Or Disable Controls In ASP Forms

I am trying to write javascript which will enable or disable a control on client side. I am writing a sample code here in VB but it will not work on client side, I need same kind of code in Java:

Function SetControl(ByVal ControlName As Control, ByVal strAction As integer)
If strAction = 0 Then
ControlName.Enabled = True
Else
ControlName.Enabled = False
End If
End Function

this code will not work, it is just an example and I need this kind of script to place on the top of my page which I can use on client side.

View Replies View Related

Enable Permanent Cookies But Disable Session Cookies

Is it possible for a user to enable permanent cookies but disable session cookies.....this seems like a contradition yet this is what I appear to be
reading in online articles?

View Replies View Related

ADSI - Trying To Enable A User - The User Add Works Very Well

I have written an ASP.NET 2.0 application that uses Active Directory or ADAM
to manage account users - the site has a page that allows people to create an
account (much like any site). The page populates the AD with all the
information and the user account but I am unable to enable the account.
Microsoft has information on how to do that here -->
http://msdn.microsoft.com/library/d...ting_a_user.asp
(the sample is for Visual Basic) - and I am unable to complete the bottom
portion of the script. Can some one point me in the right direction - or can
you tell me how I can add a snippet of VBscript code to an ASP.NET page.

I am using the Active DS Type library - not sure why there are multiple ones
(System.DirectoryServices) but it is rather confusing - I seem to accomplish
one thing with one and another with the other (they did have trouble
co-existing however). Anyway my script works very well but I am not able to
access the properties required to enable the account.

Here is a simple version (no error checking) of the code.....

View Replies View Related

Arrays Of Dictionary Object Stored In An Object?

I'll admit my ASP skills are very rusty, and come seeking help.

I'm currently using a dictionary object to store a multi-dimensional array.

I want to pass this dictionary object to an object, which holds an array of dictionary objects.

However I'm finding that the array is not getting set, thus I'm having great issue with dynamically resizing the object's property for every new dictionary object I'm adding.

View Replies View Related

Can VB Com Object Used By ASP Get Events Fired By An Internal Object?

I have a VC++ COM object which fires an event. I've written VB EXE apps against it and they receive the event notification.

I've now built a simple VB COM object which uses the VC++ COM object internally.

My question is, assuming the ASP page which loads the object does not immediately exit, will the VB COM object be able to receive the events from the internal object?

View Replies View Related

Object Reference Not Set To An Instance Of An Object.

We are using .net 1.1 on windows 2003 server. This is we are facing in our
production server.

When we are doing the load testing we are getting the bellow error. While
the load testing this error is not coming frequently. When we run 20 threads
for 3 mins we are getting this error message 2 or 3 times. But this line of
code is executed by all the threads. Code:

View Replies View Related

Recordset Object Vs Command Object

I want to open a recordset object on an .asp page. When I open the recordset I would like to use a stored procedure that expects a parameter to be passed for the stored procedure. I will then use the recordset to loop thru the recordset, update values from the recordset and then update the database by passing parmeters to another stored procedure.

I would like to use the recordset object but can it be used to pass a parameter to a stored procedure? Do I need to use a command object to open the records instead in
order to pass the parameter to a stored procedure?

View Replies View Related

"Object Variable Not Set" When Object Is Neither Empty Nor Null?

I have a custom function for checking if a variable has been set or not to make the code easier to read, as well as to keep it shorter.

However, I'm getting errors that "Object Variable not Set", even after I've already checked for null and empty. Code:

View Replies View Related

"Object Reference Not Set To An Instance Of An Object"

A three-tier user authentication system was running without a problem for almost a year and now is suddenly dysfunctional. We don't know of any changes to any of the servers. It's quite maddening. The details:

1) We know the COM+ app is instanced on the COM+ server (Win 2000). The component graphic spins when CreateObject is called.

2) The proxy is installed on an IIS server (Win 2000) with delivers the interface, written in ASP, to the client PC.

3) These are the error messages displayed when a method of DAMS is called: Code:

View Replies View Related

OLE Object

I have one column in my access database named 'picture'. I uploaded the pictures in the database using OLE Object. Now I want to have a picture of an employe in my ASP form.
It gives me an error. The page works without that code-line where picture is mentioned. Code:

View Replies View Related

Xml Object

I have an xml data that I want to store in a database.

I want the following fields
1. Account-id
2. order-number
3. first-name
4. last-name
5. address-line
6. address-line-2
7 city
8, state
9 postal-code
10 total-points-spent
11 the list of items that were purchased which are in the section
item-redeemed

And this is the asp code that I use to move through the list. right now all
I can get is the redemption top-level, but I cannot seem to go down to the
subitems. Code:

View Replies View Related

CDO Object

I am creating an e-mail using the CDO object and using the AddAttachment method to attach a file from a URL. I am having a problem in that the file file attached is given a random name (something along the lines of ATXX412.pdf)

Does anyone know if it is possible to rename/assign a name to attached file before the e-mail is sent?

View Replies View Related

If Object

I am writing a function to take a recordset as parameter, and print a HTML Select element according to the record in the recordset. I would like to check if the input object a RecordSet before processing, how can i acheived that?

View Replies View Related

Filesystem Object ?

how to find the size of a pdf which is located on the server i know i have to use filesystemobject

View Replies View Related

Opening OLE Object In ASP

I have a table called "Document" which has 3 columns

Doc_ID
Doc_Name
Doc (this is a word doc stored as an OLE object in ms access)

Now in my asp if the user selects a document it should open the word file.
I have my case statement that looks like as follows which I think might need some
modifications to open a word file: Code:

View Replies View Related

BEST EMAIL Object Please...

we have NT 4.0 server now, will be moving to WIN2K and ASP TO ASP.NET. Right now we have java.jmail.....

View Replies View Related

CDO Mail Object

I have an E-mail ASP Web form that is using a CDO Mail
Object. This form has to be filled out before the
customer can download our demo. Currently, the customer
fills out the form, clicks to submit and a message appears
to the customer telling them it was successful and to
click on a picture on the form to download the demo. My
problem is that many of the customer don't read the
message. I want to modify the code so that after the
customer clicks SUBMIT, the info is submitted and then the
download immediately begins without them having to take
further action.

What is the code I should add to begin downloading a file
after the form is successfully submitted. Here's some of
the code I am currently using:

View Replies View Related

Create Object & DAO

how to create dao.tabledef object in asp:

I need to convert the following code into asp:
Dim tdf As DAO.TableDef
Dim db As DAO.Database
Dim fld As DAO.Field

Set db = OpenDatabase("C:Mydb.mdb")
Set tdf = db.TableDefs("Table1")
Set fld = tdf.CreateField("Field2", dbText, 10)
tdf.Fields.Append fld

View Replies View Related

Object Required!?

just trying to add a product to cart although this error has occured!

Microsoft VBScript runtime error '800a01a8'

Object required: ''

/djfubar/addCart.asp, line 75

this is the addcart script Code:

View Replies View Related







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