asp

Consume a "WCF Service" in "Classical ASP" respectively in VB6

Is there a simple way to consume a WCF Service from Classical ASP respectively in VB6 ? Is it possible to provide a WCF Service as a COM+ Service (component) ? ...

ELMAH on IIS 7.5 producing HTTP 404 error

So, have an ASP 3.5 site built using ELMAH. It runs fine under IIS 5.1, I can see all the error pages, etc. Set up the site on another machine running IIS 7.5. Now when I go to my /admin/elmah.axd page, i see a 404 error from IIS 7.5. Any thoughts on what I should look at? ...

Detailed 500 error message, ASP + IIS 7.5

Hi there! IIS 7.5 , 2008rc2, classic asp, 500 error msg: The page cannot be displayed because an internal server error has occurred. I need to know how to configure iis to get detailed error. I've tried setting to true all of debugging options into ASP configuration. Now I need help. Can anyone help me? thank u. ...

Why is this ASP Script not working?

Could you tell me whats wrong with this ASP script: I think the error is in the if statement <script> productID=new Array() variaveis=location.search.replace(/\x3F/,"").replace(/\x2B/g," ").split("&") if(variaveis!=""){ for(i=0;i<variaveis.length;i++){ nvar=variaveis[i].split("=") productID[nvar[0]]=unescape(nvar[1]) } } function Query...

Authenticate user and using the ChangePassword Control

I have a webpage that a user logs into to. Now I want to provide the ability for a user to change their password using the ChangePasswork Control. The control does work as described here ChangePasswork Control for non-authenticated users. But I want to the behavior for authenticated users. I'm fairly new to asp so this could be a si...

Using Excel.Application in ASP where Excel is installed on Client Machines instead of the Server.

Hi, I have a server with an asp page on it that generates a report in Excel, using the Excel.Application object. Normally, Excel would have to be installed on the server to work. I was wondering, however, if it is possible to utilise the excel install on client machines to do this instead, as I can't install Excel on the server? Thanks...

I need someone to explain this ASP function to me

Hello! I've got an ASP document that 5 years old. Actually I'm working with PHP but I must use ASP for a Windows Application. So I need someone to explain this function to me. //DNS SETTINGS ARE INCLUDED ALREADY. function Check_Is_Web_Locked() dim cmdDB , Ret OpenDatabase Set cmdDB = Server.CreateObject("ADODB.Command") ...

Can someone explain me the parameter RETURN_VALUE ?

Hello. I want to know what does RETURN_VALUE mean! I'm stuck at this thing. How to use RETURN_VALUE in a SQL Server stored procedure? thanks.. ASP: Set cmdDB = Server.CreateObject("ADODB.Command") With cmdDB .ActiveConnection = ADOConM .CommandText = "usp_jaljava_member_select" .CommandType = adCmdStoredProc .Parameters.App...

What can be a cookie? How to set with OUTPUT? RETURNVALUE?

hello. i think i got some problems with setting a cookie data. for this code: Set cmdDB = Server.CreateObject("ADODB.Command") With cmdDB .ActiveConnection = ADOConM .CommandText = "usp_jaljava_member_select" .CommandType = adCmdStoredProc .Parameters.Append .CreateParamete...

create a queue of process in classic asp

Hi, here is the problem : there is classic asp app which is calling lame.exe for encoding mp3s for lots of time per day and there is no control of the way of calling lame.exe from several users in another word there is no queue for that purpose. so here is what I am thinking about : //below code all are pseudo-code //process_flag and m...

Using Python and Mechanize with ASP Forms

I'm trying to submit a form on an .asp page but Mechanize does not recognize the name of the control. The form code is: <form id="form1" name="frmSearchQuick" method="post"> .... <input type="button" name="btSearchTop" value="SEARCH" class="buttonctl" onClick="uf_Browse('dledir_search_quick.asp');" > My code is as follows: br = mech...

Get Classic ASP variable from posted JSON

I'm trying to post JSON via AJAX to a Classic ASP page, which retrieves the value, checks a database and returns JSON to the original page. I can post JSON via AJAX I can return JSON from ASP I can't retrieve the posted JSON into an ASP variable POST you use Request.Form, GET you use Request.Querystring......... what do I use for JSO...

Conditional includes in Classic ASP - where the file may not exist on the server

I am currently in a situation where I have to make some additions to an application written in classic ASP using server-side JScript on IIS. The additions that I need to make involve adding a series of includes to the server-side code to extend the application's capabilities. However, the inc files may not exist on the server in all cas...

ASP/AJAX - Client Timer synchronous with Server Timer

Hi, I'm searching for an example with an client timer that ticks synchronous with an server timer. Also there must be a button on the client side which can reset the server timer to an default value, and with this it also resets the client timer ofcourse. I tried it myself but it seems that there is some postback delay which makes it...

Tomcat 5.5 and ASP site under IIS using SSL

I've been working on migrating our companies' website from it's original server to a new one and am having two different but possibly related problems. The box this is sitting on is a Windows 2003 server x64 running IIS 6. The Tomcat version is 5.5.x as it was the version the original deployment was built on. There are two other sites on...

How to download a file from a UNC mapped share via IIS and ASP

I am writing an ASP application that will serve files to clients through the browser. The files are located on a file server that is available from the machine IIS is running on via a UNC path (\server\some\path). I want to use something like the code below to serve the file. Serving files that are local to the machine IIS is running on...

Why do new ASP.NET books still refer to "Classic ASP?"

I have read several ASP.NET 3.5 and 4.0 books that begin explaining a concept with something like "in classic ASP it would have been done like this." Why do ASP.NET 4.0 books still refer to classic ASP? Are there really that many developers jumping from Classic ASP directly to ASP.NET 4.0 or is it just force of habit? ...

How can you pass URL Parameters at URL slashed address? (www.web.com/1/2 = www.web.com?x=1&y=2)

I want to be able to take a url and map it to a set of web parameters. For example: www.web.com/1/2/3 would be interpreted as www.web.com/default.asp?x=1&y=2&z=3 I know I've seen it done, I just can't find it anymore. Any ideas? ...

This array is fixed or temporarily locked(in asp)

I want my multidimensional array to be dynamic, when I am trying to do that using reDim i am getting the error "This array is fixed or temporarily locked:refArr ", Following is my code: max=10 dim refArr(10,2) dim i i=0 while not rs1.eof max=max+1 redim refArr(max,2) niftyChange=0 refArr(i,0)="niftyDate"...

jGrowl in asp.net

Hello there I have to search a particular member and so as i write the member id in the textbox and click the search button, I want the message to be displayed "member not found"(if not found) in jgrowl otherwise it will be redirected to the memberId page. Now the problem is when the button is clicked i write the details in button_clic...