Wednesday, November 22, 2017

Active Server Pages (ASP) Interview Questions and Answers

  New Page 2   What is ASP? ASP stands for Active Server Pages. It is a server side technology which is used to display dynamic content on web pages. For example you could write code that would...

Export ASP HTML to Excel,Image,Channel Definition Format (CDF).

  The ContentType property specifies the HTTP content type for the response. If no ContentType is specified, the default is text/HTML. Syntax Response.ContentType can be of the followings <% Response.ContentType = "application/x-cdf" %> <% Response.ContentType...

Call WSDL from ASP

SOAP is need to be enabled separately in ASP for this Download SOAP toolkit from Microsoft http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en and use the code to use WSDL service <% Set oSOAP = Server.CreateObject("MSSOAP.SoapClient30") oSOAP.ClientProperty("ServerHTTPRequest") = True oSOAP.mssoapinit("<URL HERE>") 'Invoke the Web Service oSOAP.<soap...

Classic ASP Error Codes and Descriptions

ASP 0100 : Out of memory. ( failed to allocate memory) ASP 0101 Unexpected error. ASP 0102 String Input Error. ASP 0103 Numeric Input expected ASP 0104 Operation not allowed. ASP 0105 Out of...

Windows 7 IIS ASP SQL not working

By default IIS and SQL Server combination debugging is not default enabled to configure ASP + SQL combination we must configure 3 things 1.  Enable  ASP Debugging ...

Windows 2008 IIS 7 is not displaying Classic ASP errors

In an earlier post i detailed the error and confessed i was not able to sort the error http://www.meabi.com/classic-asp-on-iis-7-doesnt-return-error-messages-to-browser/ this is possible from little more steps with in IIS 7 manager Step 1 Start >...

ASP Server side Execute

Server.execute executes as ASP file from with in an ASP File to demonstrate this lets create two files 1. main.asp 2. executed.asp main.php <% response.write("From main.asp<br>") Server.Execute("date.asp") response.write("<br>Again from main.asp") %> executed.asp: <% response.write " <br> From Executed.asp" %> and when execute main.asp Output: From main.asp From Executed.asp Again...

Classic ASP File Uploader

Provider :http://aspuploader.com/ Top features and Benefits Select multiple files at once when sending ASP Uploader allows you to select and upload multiple files at once rather than having to select and upload each file...

ASP Server Variables

ALL_HTTP Returns all HTTP headers sent by the client. Always prefixed with HTTP_ and capitalized ALL_RAW Returns all headers in raw form APPL_MD_PATH Returns the meta base path for the application for the...

ASP MSSQL Connection

While using asp my convention is to make a connection function inside asp block and to include it on all ASP Files Sub OpenDatabase(ByRef dbConn)    Set dbConn = Server.CreateObject("ADODB.Connection") dbConn.ConnectionTimeout = 150 dbConn.CommandTimeout =...

More