IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
ASP Classic
Search ASP Classic Group:

Advanced
-Collapse +Expand ASP Classic Group Home
-Collapse +Expand Message Board
-Collapse +Expand ASP Classic KB
-Collapse +Expand ASP Classic To/From
To/FromCODEGuides
-Collapse +Expand ASP Classic Study Test
PRESTWOODCERTIFIED
-Collapse +Expand ASP Classic Store
-Collapse +Expand Members Only
   ► MB LobbyAll Groups   All Groups   Print This   

ASP Classic Coding Message Board

ASP Classic Coding Q&A

ASP Classic Coding Message Board (Q&A). Free help! Answer questions. Part of our ASP Classic Group. This group focuses on ASP Classic, the versions of ASP prior to ASP.NET.

To start a new thread, choose a topic, then click [New Thread].

ASP Classic Specific Topics

TopicThreadsPostsLast Active Thread 
ASP Classic - Handling Data846
Bryan Valencia
RE: ASP Classic Suddenly fails
Actually, after much anguish, I found that the latest MS patch had inadvertently changed my site from Low(iis) to Medium(Pooled)Setting it back did th...
32 months ago
Nothing New Since Your Last Visit
ASP Classic and Third Party Controls666
Mallika
ASPMail and Exchange Server 2000
I have a question on ASPMail. I want to know if it can coexist with Exchange Server 2000. Currently I use Cdonts for Emails being sent out from our web site but Cdonts do not coexist with Exchange server 2000. Cdont Coexist only with the upgraded version of Exchange 2000 from Exchange 5.5, Now we ar...
10 years ago
Nothing New Since Your Last Visit
ASP Classic Coding2060
debra_owens
https to http
{Too Long}
47 months ago
Nothing New Since Your Last Visit
ASP Classic Setup & Configuration39
cmccullough
Coding ASP Classic on Linux
Hello all,First, I should let you know that I am not an experienced ASP coder and, honestly, don't have lots of experience with Microsoft products.  I've been using Unix for more than 20 years and Linux for about 10 years.  Most of my programming experience is with Perl and Python.I just l...
5 years ago
Nothing New Since Your Last Visit
Prestwood ASPSuite (All modules)12
Badzooka
In the eStore, how do you integrate credit cards?
In the Prestwood eStore, how do you integrate credit cards?
10 years ago
Nothing New Since Your Last Visit

Newest Posts...

New Posts: ASP Classic Board

More...

Thread 10 of 10
Thread Starter  

Bryan Valencia
ASP Classic Suddenly fails
I do not have the time for this!  As of today, every time someone tries to open any .asp page on my site, they get...,

Server Application Error

The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
This asp.net site that has been RUNNING and STABLE for 5 years suddenly REFUSES to execute any ASP classic pages!  I have done NOT ONE THING to the server other than install a MICROSOFT SECURITY UPDATE, which of course happens automatically., , So far, I have lost a FULL DAY OF PRODUCTIVITY over this, and it is NOT resolved at ALL., , In my event log I get these 3 every time I try to hit any asp classic page..., ,
Event Type:    Error, ...
Posted to MB Topic: ASP Classic - Handling Data
32 months ago
2 replies. Last post:

Bryan.V
Actually, after much anguish, I found that the latest MS patch had inadvertently changed my site from Low(iis) to Medium(Pooled)Setting it back did the trick.asp classic sites dont work on medium
32 months ago
Nothing New Since Your Last Visit
6355
Hits

Thread 9 of 10
Thread Starter  

khatib_b
Diplaying javascript error message from DB
{Too Long}
Posted to MB Topic: ASP Classic - Handling Data
33 months ago
1 Reply:

dmichael
{Too Long}
32 months ago
Nothing New Since Your Last Visit
2587
Hits

Thread 8 of 10
Thread Starter  

bphilip
Kill a windows Process Using Asp
I need to create an asp page which will kill process in a windows 2000. Please help
Posted to MB Topic: ASP Classic Coding
10 years ago
1 Reply:

mprestwood
I don't think this is possible at least not with ONLY ASP and in a real webserver environment because you would have to grant unusual rights and make use of something like a DLL with special rights.
39 months ago
Nothing New Since Your Last Visit
2113
Hits

Thread 7 of 10
Thread Starter  

debra_owens
https to http
{Too Long}
Posted to MB Topic: ASP Classic Coding
47 months ago
1 Reply:

mprestwood
Hi Debra, Here are my three routines from my generic SysUtils library I maintain:''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''', ' SU_IsHTTPSOn, ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''', Function SU_IsHTTPSOn,  If LCase(Request.ServerVariables("HTTPS")&"") = "on" Then,   SU_IsHTTPSOn = True,  Else,   SU_IsHTTPSOn = False,  End If, End F...
39 months ago
Nothing New Since Your Last Visit
1446
Hits

Thread 6 of 10
Thread Starter  

ASPGuy
Creating Classes in ASP
Does anyone have a simple example of creating a class in ASP? I've always used it as a scripting language and never used in in an object oriented way.
Posted to MB Topic: ASP Classic Coding
59 months ago
1 Reply:

mprestwood
Hi Andy, I linked Adam's simple example of creating a class in ASP Classic to this thread (seems appropriate). It has exactly what you want, a simple example. Post follow ups if you want. When I code in ASP Classic, I too mostly use it in a "scripting-way". I do organize my routines into files with names that mimic objects and as I code I think about what object a routine belongs too, but that's a far cry from using in the OO features of ASP. I...
59 months ago
Nothing New Since Your Last Visit
2756
Hits

Thread 5 of 10
Thread Starter  

ParaDelphi
Exit a While Loop
I've been looking all over, how do you exit a while loop? I tried exit and that didn't work.
Posted to MB Topic: ASP Classic Coding
5 years ago
5 replies. Last post:

Paul.S
Thanks to both of you. Great help as usual. I did get it from Mike's post but the example is nice especially for others looking on.
5 years ago
Nothing New Since Your Last Visit
5831
Hits

Thread 4 of 10
Thread Starter  

aka51
ASP query
I am submitting a query in an ASP page. , , It is a tow piece query and I am not sure the correct process to accomplish this., First I am , , , SQL ="SELECT OAID1 FROM tblOrganization where branch_labid = "& Request("branch_labid") &";", then the valuse returned from this query i would like to use it in the next query , , , SQL ="SELECT aoemail, aofirstname, aolastname FROM tblAO where OAID1 = (tring to use the value from the previous query here)", I tried to combine the select statement as below , , SQL ="SELECT aoemail, aofirstname, aolastname FROM tblAO where OAID1 = (SELECT OAID1 FROM tblOrganization where branch_labid = "& Request("branch_labid") &" ); "but I get the , [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. , , Can anyone offer some help.
Posted to MB Topic: ASP Classic Coding
11 years ago
1 Reply:

Paul.S
How did you solve this? Was it with the in keyword?
5 years ago
Nothing New Since Your Last Visit
1664
Hits

Thread 3 of 10
Thread Starter  

cmccullough
Coding ASP Classic on Linux
Hello all,First, I should let you know that I am not an experienced ASP coder and, honestly, don't have lots of experience with Microsoft products.  I've been using Unix for more than 20 years and Linux for about 10 years.  Most of my programming experience is with Perl and Python.I just landed a new client that needs some code work on their current online training that they offer.  It's written in ASP Classic and running on a Postgresql back-end.  I don't have experience with ASP Classic but can pick-up on the language relatively quickly (I think).  I will do the work on a Windows XP box if I have to but would prefer to do the coding one of my Linux boxes, if possible.  Does anyone know if this is even possible?Thanks for your help.
5 years ago
4 replies. Last post:

cmccullough
No apologies for the confusion.  Actually, I didn't do a very good job of explaining myself.  The link that you gave looks very promising.  Thanks!
5 years ago
Nothing New Since Your Last Visit
5527
Hits

Thread 2 of 10
Thread Starter  

soji_ng
Asp on windows XP
I develop on windows 2000 and just migrated to XP pro. I was able to enable IIS but it seems not to be able run data driven web applications. the web app does not connect to the database
5 years ago
1 Reply:

mprestwood
I can confirm that what you are trying to do can be done (I do that all the time). What are you trying to connect to? Also, can you connect to that database on your new computer from something other than ASP? Finally, show me your connect string and I'll take a look.
5 years ago
Nothing New Since Your Last Visit
1682
Hits

Thread 1 of 10
Thread Starter  

Badzooka
DTC problems and the Session
I am experiencing many state and DTC roblems in my environment. For example, if I do as a book I'm using says:, , 1. Add a new ASP page to your project, 2. Drag a Page Object to it, , I cannot add references (links to other pages). Likewise, I cannot edit the Page Objects on existing pages either., , The initial problem seems to be that I created a new project, then added the ASP files from an existing project to it. The problem has gotten worse as I copy the changes from another programmer. Maybe we cannot edit files outside of or within two different projects if the page contains DTC?, , I've searched MSDN and it seems to be a "black box" how these interface to a project, and what to do in this situation. , , Any ideas or tips?
Posted to MB Topic: ASP Classic Coding
12 years ago
1 Reply:

mprestwood
Are you still having trouble with this? I read your issue but didn't understand it completely. Can you post more details?
6 years ago
Nothing New Since Your Last Visit
1490
Hits
More...

Unanswered: ASP Classic Message Board

Answer an unanswered thread. Even old threads. Our goal is to have a complete and thorough resource.


Thread 4 of 4

Mallika
ASPMail and Exchange Server 2000
I have a question on ASPMail. I want to know if it can coexist with Exchange Server 2000. Currently I use Cdonts for Emails being sent out from our web site but Cdonts do not coexist with Exchange server 2000. Cdont Coexist only with the upgraded version of Exchange 2000 from Exchange 5.5, Now we are installing Exchange 2000 on our server without the upgrade and want to use ASPMail. So i want to know if it can peacefully coexist with Exchange 2000 Server?, , Thanks,, Mallika
10 years ago
Nothing New Since Your Last Visit
1863
Hits

Thread 3 of 4

Amiya
ASPMail component ***Urgent Help****
Hi,, , I have created an asp form which will e-mail data. i am using ASPmail component. the code is right, except remotehost field. i have written, remotehost ="pop3.xyz.com" , the mailer.Send shows that ur mail has been sent, but there is no mail in my inbox., the ISP told that there is a userid and password to send mail.Can u tell me where to insert that?, , he says that his pop3 and smtp address are same., , can u help me, the client is waiting for response.
10 years ago
Nothing New Since Your Last Visit
1389
Hits

Thread 2 of 4

aka51
Display image
I am attempting to display an image that is stored in an access Database as an OLE Object, the code is as follows but when it rum it shows garbage caracters to the screen , , , <% , , 'Step 2: grab the picture from the database, Dim objConn, objRS, strSQL, strSQL = "SELECT image FROM test WHERE ID = 1 ;", , Set objConn = Server.CreateObject("ADODB.Connection"), objConn.Open "DSN=budget_demo", , Set objRS = Server.CreateObject("ADODB.Recordset"), objRS.Open strSQL, objConn , , %>, , , , <% , 'Step 3: Set the ContentType to image/jpg, Response.ContentType = "image/JPEG", , , 'Step 4: Use Response.BinaryWrite to output the image, Response.BinaryWrite objRS("Image"), , //Response.BinaryWrite objRS("image"), %>, , , , <%, 'Clean up..., objRS.Close, Set objRS = Nothing, , objConn.Close, Set objConn = Nothing, %>
Posted to MB Topic: ASP Classic Coding
10 years ago
Nothing New Since Your Last Visit
1535
Hits

Thread 1 of 4

tmannino
ASPMail AddCC function
I am trying to use the ASPMail AddCC function and am unable to. I currently have AddRecipient and AddBCC, which are both working fine. When I added the AddCC the mail will not send now. Here is a cut from my code:, , if (emailrecp <>"") then, Mailer.AddRecipient emailrecp, emailrecp, if ccfunction <>"" then, Mailer.AddCC ccfunction, ccfunction, end if , if emailbcc <>"" then, Mailer.AddBCC sendername, emailbcc, end if , Mailer.RemoteHost = Application("SMTPMailHost"), Mailer.BodyText = Msg, Mailer.Subject = Sbj, Mailer.SendMail, End If, , The variables are passing the correct values but the email is not being sent. If I removed the AddCC function I added then it works fine, except without the CC address. Do I need a specific version of ASPMail on the server to make this work?
11 years ago
Nothing New Since Your Last Visit
2852
Hits
More...

Icon Legend:
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).



-
  Load Time=less than 1 second.
 
Print This
-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


1,083 People Online Now!!  
Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
Show More...


©1995-2013 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech