473,666 Members | 2,093 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP / Active Server Pages Forum

ASP (Microsoft's Active Server Pages) web scripting language - Ask questions about asp development and scripting, ADO, scriptlets, caching, COM, components, sessions, data access, database, objects, cookies, security and more.
2
2,022
thread by: jeevan mysore | last post Nov 17 '11 by: CroCrew
Hi.. I am new to ASP. Whenever I am trying to connect to ASP, i am getting the following error... My Source code is: <html> <body> <% set cn= Server.Createobject("ADODB.Connection") set rs=Server.Createobject("ADODB.recordset")
3
2,297
thread by: Mark Maddox | last post Nov 17 '11 by: Frinavale
Using IE9 on Windows Server 2008R2, I'm stepping through code with the built-in debugger. The debugger always flags the Server.Execute call as an error saying that 'Server' is not an object. The server side is Windows 2003 R2 Standard Edition with SP2. It is running IIS v6.0. I'm using RUNAT=Server, so why would this not work? Why is the...
0
1,430
thread by: sim k | last post Nov 17 '11 by: sim k
I am trying to debug a classic ASP application in VS 2008 with Windows 7 (64 bit). I was successful in running the application (localhost/..) and attaching the process w3wp.exe (Type -Script, T-SQL, x86) but unable to set the break point. I have also checked the following are set 1) IIS -> Properties ->Debugging Properties->enable client side...
0
1,550
thread by: karumbur | last post Nov 15 '11 by: karumbur
Does anyone know how to attached a data stream to CDO Message email sending object in Classic ASP using Javascript? Pls. let me know if u know! I have following code which is not working. var myMail = Server.CreateObject("CDO.Message"); var cdoContentDispostion = "urn:schemas:mailheader:content-disposition"; ...
3
14,677
thread by: ankababu | last post Nov 10 '11 by: knjsandeepkumar
I have a simple application in which i want to access a variable of codebehind(.cs) file in javascript so that i can compare its value on client side only instead of going to server side thnx in advance , guys help me asap
1
7,428
thread by: dev4kumar | last post Nov 4 '11 by: jhardman
I am working in classic asp with vbscript. I am looking for a solution for an error for long time.So i ll post my query. In my ASP page , I am populating a record set from SQL SERVER stored procedure. As soon as the record set is populating , i am checking whether it is null or not. For that , I added If (RSDataset.EOF) Then ...
4
8,341
thread by: Josephine | last post Oct 28 '11 by: zawtunnaing83
Hi, Can anyone help me on create LDAP authentication code in asp file? If successful then will redirect user to appropriate page. From: Jo
7
12,439
thread by: siocodes | last post Oct 24 '11 by: manusamoa
I know I am so close on this, but I cannot see what the syntax fix is. I am sending two e-mails via one asp page; one to the gift giver and one to the recipient...I originally had the message text in the YourMail.TextBody = equation, but kept getting syntax errors so have since moved my message body to another section. Nonetheless, I'm still...
2
1,627
thread by: movieking81 | last post Oct 22 '11 by: movieking81
Can someone help with this, I'm about to pull my hair out? I get a type mismatch error from the following code: dim x,i,z,dig(200,200),catch(59) x = 1 i = 1 z = 34 catch(z) = dig(x,i)
4
2,091
thread by: movieking81 | last post Oct 22 '11 by: movieking81
Hello all - Does anyone here have any suggestions how I start to count the instances of a particular number with a string or array? I think I have an idea, but I'm not really sure. I have the following: string - 4,7,12,54,87,988,3456,76,21,76,5,9,3,87,38,7 From that string I need to count how many times the 7 occurs, how many times 87...
1
4,988
thread by: mavericksandy | last post Oct 21 '11 by: multinett
I have hidden fields.. <input type="hidden" id="totalrecords" name="totalrecords" value="1"> <input type="hidden" id="totalrecords" name="totalrecords" value="2"> <input type="hidden" id="totalrecords" name="totalrecords" value="3"> <input type="hidden" id="totalrecords" name="totalrecords" value="4"> <input type="hidden"...
4
2,460
thread by: cleary1981 | last post Oct 20 '11 by: multinett
Hi, I am migrating a domain from one host to another. Where the code uses the includes directive I keep getting errors from the 1and1 host. if I include the line below I get a 500 error. <!--#include file="/management/connection.asp"--> Would this be something to do with permissions on server?
10
13,133
thread by: GLSmyth | last post Oct 19 '11 by: multinett
I got a new Windows 7 box and am having troubles getting ASP to connect to the database. I have read about this error and it sounds like I need to download and install something but just do not understand what or where. My code is simple: <% Option Explicit %> <% Dim Driver, fso Driver = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA...
1
1,644
thread by: aditya dhumal | last post Oct 17 '11 by: Rabbit
when i open Asp program in any browser it will ask me for the user Name and Password... what i give it..
0
1,761
CassVox
thread by: CassVox | last post Oct 11 '11 by: CassVox
I recently inherited some code that I need to adapt and I am just not a java or asp coder so need some assistance. I have a web form created by converting an excel spreadsheet to html with several onClick events, specifically "Clear" (clears data), "Submit" (emails data) and "Save Draft" (saves draft lcoally). Customers input their data, the...
17
3,318
thread by: john garvey | last post Oct 11 '11 by: Frinavale
Hi It's been a while since I asked a question and I've trolled many, many discussion groups and forums without success and I'm not sure that my problem has a solution but here goes. I have a website which is hosted (successfully) on my own machine at home, it uses IIS7; classic ASP; activeX DLLs and an Access 2007 database. The website has...
0
1,729
maxamis4
thread by: maxamis4 | last post Oct 9 '11 by: maxamis4
Folks I have found a code that I am trying to use to query active directory. The code executes without a problem so I am assuming the syntax works. My problems is that a variable I am using does not retain its value. In the AD query it shows up blank, which really puzzles me. See the code I have created below from an article I found that...
1
1,598
thread by: Pooja Batale | last post Sep 30 '11 by: jhardman
Hi, In asp page I stored the textbox values in one javascript variable: var strline1side1 = document.frmartwork.side1textbox1.value; Then I save the same variable in one javascript cookie variable: document.cookie="lineside1="+strline1side1+";path=/;"; Now after this I read this cookie in asp variable strtextbox1 = ...
2
3,170
thread by: Vicent Lauv | last post Sep 23 '11 by: multinett
Hi all, My site is developing with lovely classic asp. i have question. It is possible to use 404.asp custom error rewrite page without ID? www.example.com/gallery/folderview.asp?=temple to... www.site.com/gallery/temple For paging more than 10 record: www.site.com/gallery/temple/01.htm, 02.htm, 03.htm
1
2,267
thread by: Nira Rama | last post Sep 23 '11 by: multinett
I am trying to pass the Client's PC Date and time to server side variable using session object and hidden field in Classic ASP code but no luck. Please help me in resolving this issue
2
1,629
thread by: Tracey Scouller | last post Sep 22 '11 by: jhardman
Hi, I am new to ASP and JS. We recently changed ISP's and now my asp file isnt working. I updated the relevant areas but when i open the asp file through html, the page opens with the code itself, not the feedback form. Any assistance would be appreciated. Thx
2
1,439
thread by: cleary1981 | last post Sep 19 '11 by: cleary1981
Hi, I have recently been asked to upload an asp site with an sql backend. I have all the code and a copy of the db. I do not have any passwords for the database. Is there an easy way to get these from the code? Thanks
2
2,123
thread by: Joe Farage | last post Sep 2 '11 by: Joe Farage
I have a page called OES_reg.html that has a form on it. 2 textboxes and 2 checkboxes and a submit button. This form is read by OES_regreply.asp which takes the information and does 2 things with it 1. displays the information to the user so they can verify 2. sends an email with the information from the form for my records. my problem...
1
1,904
colinod
thread by: colinod | last post Sep 2 '11 by: colinod
I have a page that adds thing to a shopping cart type app so i can email a list of items to uses of website. This seems to work fine except with some items and i cant figure out why, all items are from an access database and are all identicle in form just different content. page can be viewed through ...
3
3,900
thread by: user65 | last post Aug 29 '11 by: jhardman
Is it possible to have dynamic page titles with an ASP site? Many people would like to share our content on facebook, but can't do so because the page titles are displayed as the URL. I'm not very familiar with ASP, so any help would be greatly appreciated.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.