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.
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?
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 .
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?
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.
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.
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.
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.
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?
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?
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.
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?
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.....
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.
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?
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:
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?
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:
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:
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:
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?
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?
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:
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: