COM Object In A Service Usable From ASP But Not ASP.Net
Weird goings on over here, I have a COM object DCServerAdmin, that I can break in when I attach the debugger to the service that creates the object and I call a method on that object from an ASP page.
Now, if the method on the DCServerAdmin COM object is called from an ASP.Net (C# DLL) page, it never breaks in the service's process BUT the ASP.Net code doesn't report any exceptions. I don't have immediate access to the C# code so I can do any tests on it just yet, but it looks totally normal. I know there are process differences between ASP
and ASP.Net (ASP shares its process with other ASP pages, ASP.Net code runs in its own, et cetera...)
i'm trying to build a simple re-usable function which lets me connect to a database, using whatever parameters i pass through, and which i can then call from inside other functions in my page which use the data.
e.g. this is the kind of thing i'm trying so far, but at the moment it's throwing up an "Object required: 'rs'" error. Code:
I have a shopping cart in which I am trying to use breadcrumb style navgiation. I need to be able to display the categroy heading relating to the section of the site a visitor is using i.e If a user is in the "camera" section I need to display that heading as a link "camera", however in order to do this at the moment I am querying the database and storing the recordset in the application object (see below). 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?
The logic is in the vb dll. Now I need to extent one asp page to do extra step, but the similarly code is in the vb dll. I don¡¯t want to copy/paste code (and beside don¡¯t know copy/paste will work). So I¡¯m thinking of open a web service function in vb dll and the asp can http request? Is it other options?
I'm the co-developer for an ASP helpdesk system which has an in-built POP3 Email function. The idea of the function being that a member of staff logged into the helpdesk can monitor a specific support email address and convert emails into support tickets. Now one of the things our clients have asked for is a service that runs the POP3 Email function so that they don't need to be logged into the helpdesk. What is the easiest way to achieve this? Since users can potentially email the support address 24/7 the service therefore needs to run 24/7. I've read threads in this forum on running scheduled jobs that call an ASP script but I'm not sure if that is the correct solution for my needs. I also need to take into account the fact that some of our clients run the helpdesk application on a shared hosting server so they won't be able to create a Windows Scheduled Task.
if anyone has come across a web service that does synonyms.I want the end user to type in a word and find synonyms on the same page w/out jumping to synonyms.com
Can anyone point me to a very basic example of a project that takes an XML stream from a web page and sends it to a ASP.NET Web Service that can then be used to pull records from a SQL Server DB. Like I said I am green at this, so the more basic it is the better. I am reading about having to serialize, etc. but not sure about it all yet.
I have this project where I am creating a ASP.NET Web service that's going to be consumed by an application on the Intranet. This Web service will access a SQL Server database, extract data from tables, create XML DOM that's going to be posted to 3rd party Internet Web service. Code:
Is it possible to restart a service using ASP ? I have some code here to restart a service using vbscript, but it doesnt translate into asp at all. I also have a script here that displays the status of a service, and that works fine in ASP, so i know that it can be done, and that security, once set, wont be an issue.
Does anyone know how i can restart a service with ASP? any examples?
How do you change the port in which CDONTS will look for Microsoft SMTP server? I have Imail running on port 25, and I have SMTP service running on port 26. Any help you can provide me would be excellent.
Does anybody out there consume a web service using classic ASP?If anyone has any useful resources for doing this, I'd love to see them. I haven't found much online at all. Long story but I'd rather not have to learn .net or switch to php for this one project
Im trying to print a report from a web service. When the web service is called, a message "invalid logon" appear. The following code is the code used to print the report: Code:
How can I invoke web service from a classic ASP page? As I know I cannot use HTTPGet or HTTPPost protocal if the service is built under .net framework 1.1(security issue).
I'm using web hosting services of a company. I try to connect to a remote SQL Server from the hosting account. But they told me I must use a "proxy aware" code to connect to the SQL server through their proxy server.
How can I do this? I searched the Internet and can only find a webproxy class. But the code is written in ASP.Net which I'm not familiar with. So anybody can help me and give me some ASP example code?
Someone has given me the URL of a "web service". What happens is I send it an input key and an associated value and it returns a set of values. I have to write an ASP page (not .NET) that calls this page and loads the return value into a variant and I'm not sure quite how to achieve this. Presume it's dead easy though.
I'm trying to write an ASP page that consumes a webservice I wrote. I have done this in other programs but with the help of the .net web reference wizard. I need to know how to manualy reference and consume a webservice in ASP (useing VB as my language). All the tutorials I've found refer to useing the web reference wizard, but I need to know the acctual code to use.
One of my clients has a site on a really cheap ISP. Currently, the site is written in ColdFusion. There is a webservice call that uses a coldfusion tag to execute the web service. Coldfusion is going away for this client. In place will be asp.
I would like to be able to call a webservice from a regular asp page (not ..net). Is this possible? If so, would you have some pointers, urls, etc that I could see how this is done?
I've recently transferred our web sites from a Windows2000 server to a Windows2003 server. The transfer went almost flawless until I noticed that our search function isn't working anymore. I'm using an ASP script to use the Indexing Services and have set up my catalogs and directories but I'm getting a 'type mismatch' on one of my Server.URLEncode commands.
Do I need to obtain a new script to utilize the Indexing Services of Windows2003? If so, does anyone know where I can find this or would it be better to use a service such as Google or another SE?
I installed Report Server in IIS to provide report service. In ASP page, I make some links to reports so that users can view them through browser. Users should provide ID and password in order to view reports.
Is there any license issue in order to use Report Server? Does user should get connection/any license to login the server through authentication?
I'm trying to build a site that based on a user entry searches through the contents of files on a disk and displays a list of files which contents match user criteria (basicaly a word).
How to extract a part of the document (paragraph ecc), where the searched word is found. OLE DB provider for Indexing service provides atribute Characterization, which returns the subject of the document, but not the correct paragraph. Is there any other usefull atribute?
I am experiencing a problem with our ASP service. OS: windows 2000 server, service pack 4. IIS 5.0 working with Oracle 9i. Our ASP service collapses and restarts once in a while (short while... practically every day). The symptoms are that first we see some of the ASP having the error: |0|ASP_0100_:_8007000e|Out_of_memory 500 0 0 while others work fine.
During that time the virtual memory usage goes up and up and the processiort works at 100%, After about 15 seconds the memory usage goes over the top and the ASP service restarts.
When restarting the ASP's return: Out-of-process+ISAPI+extension+request+failed. 500 1726 4203 (which is probalbly because the service is down). After the restart everythign is fine again -but they become more and more freaquent, and having between 50-300 concurrent users that get kicked out this becomes a real problem.
How can I consume a Web Service that returns a DATASET from classic ASP. I know how to consume the Web Service when it returns just a variable using SOAP Toolkit 3.0.