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].
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...
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...
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...
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...,
,
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.
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.
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...
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...
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.
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.
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
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.
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?
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
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.
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, %>
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?