I.T. Discussion Community!
-Collapse +Expand
ASP Classic
Search ASP Classic Group:

Advanced
-Collapse +Expand ASP Classic Store

Prestwood eMagazine

December Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyASP Classic Coding Board   Print This    All Groups  

ASP Classic Coding Most Read Threads

  


25 Threads:

,

Thread 25 of 25
Thread Starter  

charbrad
Need help with subtotals
{Too Long!}
Posted to MB Topic: ASP Classic Coding
12 years ago
5 replies. Last post:

charbrad
My post is there more than once because I was getting a thread error each time I hit save reply...sorry
12 years ago
Nothing New Since Your Last Visit
13588
Hits

Thread 24 of 25
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
11 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.
11 years ago
Nothing New Since Your Last Visit
11111
Hits

Thread 23 of 25
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.
11 years ago
Nothing New Since Your Last Visit
11010
Hits

Thread 22 of 25
Thread Starter  

Bryan Valencia
ASP Classic Suddenly fails
{Too Long!}
Posted to MB Topic: ASP Classic - Handling Data
9 years 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
9 years ago
Nothing New Since Your Last Visit
10862
Hits

Thread 21 of 25
Thread Starter  

aka51
Error evaluating CHECK constraint
{Too Long!}
Posted to MB Topic: ASP Classic Coding
17 years ago
4 replies. Last post:

jdschram
one other thought is that the constraint is actually on a field...like you have a field that cannot be null in the table you are trying to insert into...best bet is still to response.write your variable and work on it in access alone...that way you can be 100% sure it is not the DB that is causing the problem
17 years ago
Nothing New Since Your Last Visit
7914
Hits

Thread 20 of 25
Thread Starter  

Me
Help with some code
{Too Long!}
Posted to MB Topic: ASP Classic Coding
16 years ago
6 replies. Last post:

Me
I know, I've fixed it
16 years ago
Nothing New Since Your Last Visit
7253
Hits

Thread 19 of 25
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
11 years ago
1 Reply:

mprestwood
{Too Long!}
11 years ago
Nothing New Since Your Last Visit
6381
Hits

Thread 18 of 25
Thread Starter  

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

dmichael
{Too Long!}
9 years ago
Nothing New Since Your Last Visit
5095
Hits

Thread 17 of 25
Thread Starter  

Badzooka
In the eStore, how do you integrate credit cards?
In the Prestwood eStore, how do you integrate credit cards?
16 years ago
1 Reply:

mprestwood
Alter pay.inc. In the future, we will gradually include various merchants.
16 years ago
Nothing New Since Your Last Visit
4997
Hits

Thread 16 of 25
Thread Starter  

deleted_member
Data Environment Problem
I've got a problem that involves using the Data Environment with an interdev, application. We've deployed an interdev application to the IIS server., When we attempt to run the asp page we get the following error, , Server object error 'ASP 0177 : 800401f3', , Server.CreateObject Failed, , /db/global.asa, line 46, , Invalid class string, , , line 46 is Set DE = Server.CreateObject("DERuntime.DERuntime"), , I wasn't able to find this class on the server, and I assume that this has, to do with the installation of IIS and the deployment of the application., I've been out to Microsoft's website and haven't found anything that really, seems to relate to my problem. Do you lhave any insights? My current, thought is that the data environment runtime is not installed or maybe not, registered correctly. If that is the case how does one get that registered, / installed. We have ado25 installed.
Posted to MB Topic: ASP Classic Coding
19 years ago
1 Reply:

bprestwo
{Too Long!}
19 years ago
Nothing New Since Your Last Visit
4857
Hits

Thread 15 of 25
Thread Starter  

donna lee
ASP Mail
How can an html format be integrated into the following code:, , strMsgHeader = "Form information follows" & vbCrLf, for each qryItem in Request.QueryString, strMsgInfo = strMsgInfo & qryItem & " - " & request.querystring(qryItem) & vbCrLf, next, strMsgFooter = vbCrLf & "End of form information", Mailer.BodyText = strMsgHeader & strMsgInfo & strMsgFooter
17 years ago
29 replies. Last post:

donnalee
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
4740
Hits

Thread 14 of 25
Thread Starter  

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?
17 years ago
Nothing New Since Your Last Visit
4309
Hits

Thread 13 of 25
Thread Starter  

aka51
view table info
I am using ASP and this is the code I am using, ,
, <%, dim rsmail, sql, , Sql = "SELECT "& request.form("SELECT") &" FROM "& request.form("DATABASE") &" where "& request.form("WHERE_FIELD") &" = '"& strwhere &"';", , , set rsmail = Server.CreateObject("ADODB.Recordset"), , rsmail.Open sql, db, if not rsmail.EOF then, do while not rsmail.EOF, %>, , <% Response.Write rsmail("Action") %>, , , <% Response.Write rsmail("can") %>, , , <% Response.Write rsmail("emp_name") %> , , , <%, rsmail.MoveNext, loop, end if, %> However I will recieve anerror if I try to write the info to the screen as each select statement will select different things from the database so if one of the recordset (rsmail) was not selected it will cause an error., Is there a way to write it without specificing which recordset
Posted to MB Topic: ASP Classic - Handling Data
16 years ago
23 replies. Last post:

rbonas
that is where it was then when you suggested I look into the connection string being the problem i moved it out and it worked. All my other files are using an include file, I am just a little apprehensive to mess with it again.
16 years ago
Nothing New Since Your Last Visit
4208
Hits

Thread 12 of 25
Thread Starter  

ASPGuy
IIS On Windows XP
I'm used to developing on Windows 2000 and recently I finally upgraded to Windows XP Home edition. Does XP come with IIS? I do much ASP development and I like to develop all on my box and do not wish to set up a IIS server.
12 years ago
1 Reply:

mprestwood
{Too Long!}
12 years ago
Nothing New Since Your Last Visit
4093
Hits

Thread 11 of 25
Thread Starter  

cheddar
Best way to add controls at runtime.
Can anybody describe the best way to add controls to a web page using asp.net at runtime? I have seen methods that use placeholders and some that do not. I am planning on adding an unknown number of different controls at runtime. on PostBack I will need to be able to validate the entries in those fields and further process the data. , , Thanks
17 years ago
Nothing New Since Your Last Visit
4086
Hits

Thread 10 of 25
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
16 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.
9 years ago
Nothing New Since Your Last Visit
4068
Hits

Thread 9 of 25
Thread Starter  

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
16 years ago
Nothing New Since Your Last Visit
3826
Hits

Thread 8 of 25
Thread Starter  

Vikas Athavale
Connect Sql Server on Web
Please inform me the sytax for connectring SQL server on web, , Thanksing u in advace, Vikas AThavale
Posted to MB Topic: ASP Classic - Handling Data
16 years ago
1 Reply:

jdschram
OLE, Set objConn= Server.CreateObject("ADODB.Connection"), objConn.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI;_, PersistSecurity Info=False;Initial Catalog=_, YourDB;_Data Source=YOUR_LOCAL_SERVER_NAMEDSN, Set objConn= Server.CreateObject("ADODB.Connection"), objConn.Open "DSN=mySystemDSN;" & _ , "Uid=myUsername;" & _ , "Pwd=myPassword"
16 years ago
Nothing New Since Your Last Visit
3659
Hits

Thread 7 of 25
Thread Starter  

John Anderson
Remote Access Database
I have read every knowledge base article Microsoft has written on the subject of connecting to a remote Access database from an Active Server Page and have done everything the articles say to do and still come up with the error:, , The Microsoft Jet database engine cannot open the file ''. It is already opened exclusively by another user, or you need permission to view its data., , I know the file is not open, so that leaves permissions as being the cause. I've given every account in the f***ing domain full control of the share and file on the file server and still no dice., , Who is making the call from the web server to the file server? Can somebody tell me that?, , My web server is Win 2k running IIS 5 and the remote Access database is on a Win 2k server that is a domain controller., , Any light anybody can shed on this would be most , appreciated.
Posted to MB Topic: ASP Classic - Handling Data
16 years ago
2 replies. Last post:

SANDMAN
It maynot hurt to run this too:, , http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/tools/locktool.asp , , Also run a complete virus check., , Think "Code Red" and alike, any of them that use "IIS"., , I though I had a clean system ... but still found afew of these that use "IIS". Eek!
15 years ago
Nothing New Since Your Last Visit
3608
Hits

Thread 6 of 25
Thread Starter  

CathyHendricks
Data Entry Forms
{Too Long!}
Posted to MB Topic: ASP Classic - Handling Data
17 years ago
2 replies. Last post:

CathyHendricks
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
3535
Hits

Thread 5 of 25
Thread Starter  

debra_owens
https to http
{Too Long!}
Posted to MB Topic: ASP Classic Coding
10 years ago
1 Reply:

mprestwood
{Too Long!}
9 years ago
Nothing New Since Your Last Visit
3502
Hits

Thread 4 of 25
Thread Starter  

aka51
Viewing info selected from a table
I am selecting info from an access table. the constraints for the select table are coming form another form so the information selected is never the same. Is it possible to write only the records that are selected in one command instead of writing each record individually like , , response.write rs("name"), response.write rs("age") ,
Posted to MB Topic: ASP Classic - Handling Data
16 years ago
5 replies. Last post:

rbonas
I would love to have you look at the site but it is on an intranet, so public access is not possible. , But you do have the jist of the situation. The SQL statement is being generated dynamically, so I know that I can't hradcode rsmail as it will change with every run of the SQL statement, so I need to know how to get the info that was selected from the databse to be written out.
16 years ago
Nothing New Since Your Last Visit
3502
Hits

Thread 3 of 25
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
17 years ago
1 Reply:

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

Thread 2 of 25
Thread Starter  

Johnc
ftp/asp headache...
I wrote an ASP program that utilizes an FTP download feature, grabbing files that are stored in a paradox database and places them wherever the user wants on their hard drive. My question and problem is that our Users that download the files from our NT server have no problems opeing the files when download, however our users that grab files from our windows2000 server cannot open the files until the Web Server(Windows NT where i installed IIS and host the website) is reset, apparently the files get locked up, Paradox assumes the users are opening the files from its current location, but they are just grabbing a copy of the files from my website and storing the file on their hard drives...any ideas why this locks up only on the windows 2000 server...thanks
Posted to MB Topic: ASP Classic Coding
18 years ago
3 replies. Last post:

Johnc
{Too Long!}
18 years ago
Nothing New Since Your Last Visit
3458
Hits

Thread 1 of 25
Thread Starter  

aka51
Help with a loop
the code below for some odd reason will not work. The values for the session variables are being assigned when a database is queried. but for some reason if the session variable is empty it goes onto the else portion of the statement, , , , if Session ("aoemail1") = "" then , strTo = strTo &"here", else , strTo= strTo & Session ("aoemail1"), strTo= strTo & ";", end if , , , if Session ("aoemail2") = "" then , strTo = strTo &"here", else , strTo= strTo & Session ("aoemail2"), strTo= strTo & ";", end if , , , if Session ("supemail2") = "" then , strTo = strTo &"here", else , strTo= strTo & Session ("supemail1") , strTo= strTo & ";", end if , , , if Session ("supemail2") = "" then , strTo = strTo &"here", else , strTo= strTo & Session ("supemail2") , end if
Posted to MB Topic: ASP Classic Coding
16 years ago
1 Reply:

cheddar
post the code that set's the values and the loop.
16 years ago
Nothing New Since Your Last Visit
3428
Hits

Follow PrestwoodBoards on: 


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