Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > inetserver asp general > july 2006 > threads for july 15 - 21, 2006

Filter by week: 1 2 3 4 5

timeout expired
Posted by Simon Wigzell at 7/21/2006 4:19:08 PM
Occassionaly I get the following error, always when storing a record: Microsoft OLE DB Provider for ODBC Drivers error '80040e31' [Microsoft][ODBC SQL Server Driver]Timeout expired Googling around I see ways of setting the expiry time but why is the database not responding in the first pl...more >>


Error Displyaing Session Variables
Posted by Jerry at 7/21/2006 7:16:21 AM
I'm using this code: Dim strName For Each strName in Session.Contents Response.Write strName & " - " & Session.Contents(strName) & "<BR>" Next If I only do a response.write strName, it shows all the session names but when I include the session.contents it gives me the following error:...more >>

How do I import a CSV data into an Access DB?
Posted by john_aspinall NO[at]SPAM yahoo.co.uk at 7/21/2006 7:06:09 AM
For a kick off sorry if this is the wrong forum, Ill go on the Access one if Im not on the right board! Anyways, Ive got a problem and am not sure if its going to be solved programatically using ASP or not. Here's the overview: Im building an eCommerce web site using ASP. It has an Acces...more >>

Search Engine Listings
Posted by MDW at 7/21/2006 6:09:01 AM
Posted this on another board, but evidently it was off-topic there...hope you folks will be able to provide some guidance. I've been working on a Web site for a business (my first non-personal site) and I want to help my client get the best search engine listing. Because this is my first f...more >>

Chinese Chars in XML
Posted by tomtiv NO[at]SPAM gmail.com at 7/21/2006 6:07:30 AM
Hi All, I am having a probem with asp, xml, com while using chinese chars. The chinese letters come out of com fine and they are also fine when i use asp to write to a text file. When i load the chinese chars into an xml dom they become invalid Chinese chars show as this =E6=88'=E7=9A,,=E6=...more >>

Count Query
Posted by AJ at 7/21/2006 3:39:02 AM
Hi all, I have the following data: AnswerID SubmitID AnswerQuestion OptionSelected 0001 1 1 1 0002 1 1 2 0003 1 2 1 0004 1 ...more >>

Can anyone suggest me the way to Upadate a MS Access database from Global.asa
Posted by geshan at 7/20/2006 9:04:51 PM
hello everyone, if you can help me to update a table entry from global.asa on session end please help me.. ...more >>

Using ASP to capture a query string and redirect to SSL
Posted by Nuevo at 7/20/2006 4:14:48 PM
I am looking for some method to capture, into a variable, the entire URL of an http request and redirect to SSL. For example, if a user opens a browser and typed in http://myserver.com/application/some.asp?form=y&format=mgs&customerid=893bdgt0248991 I want to be able to redirect to an SSL ...more >>



a name was started with invalid character
Posted by Middletree at 7/20/2006 3:28:36 PM
Teaching myself ASP.NET, using Microsoft Press book called ASP.NET 2.0 by George Shepherd. Ch. 2, it says to type the following code: <%@ Page Language="C#" %> <html> <body> <h1>Hello World</h1> Nothing really showing here yet, except some HTML... </body> </html> ...more >>

Open PDF
Posted by CJM at 7/20/2006 2:26:52 PM
I have an application that generates PDF documents (from an ASP page). In some cases, I need to generate a PDF then provide a link to that PDF from the web page - this I can do fine. In other cases, I want to generate the PDF, but then immediately open the PDF in the browser; in this case, onc...more >>

Another VB question
Posted by the other john at 7/20/2006 7:17:40 AM
I'm trying to enhance a script to do the following things. 1). detect the first four words of a paragraph and stylize them (already does that) 2). Capitalize and stylize the first letter of each paragraph (already does that via style sheet) 3). Count the number of paragraphs (or number of "vb...more >>

error page
Posted by amatuer at 7/20/2006 6:03:01 AM
hi i have a link from page1 to page2. this link uses a querystring to transfer data. usually i have no problems using querystring t transfer data. bt for the first time page2 does not display.an eror page displays. i had a look at the properties of the error page to see if the url is correct and...more >>

error page
Posted by amatuer at 7/20/2006 6:03:00 AM
hi i have a link from page1 to page2. this link uses a querystring to transfer data. usually i have no problems using querystring t transfer data. bt for the first time page2 does not display.an eror page displays. i had a look at the properties of the error page to see if the url is correct and...more >>

Time() range
Posted by le0 at 7/20/2006 12:00:00 AM
Hello Guys, I have this dropdown box and the options is TimeShift (6a-2pm, 2p-10p, = 10p-6a ), im getting this data in a table (Acess DB) . My problem is how = can i display (option selected) the actual shift based on the actual = time. Code: <td width=3D"100" height=3D"5"><select size...more >>

Timeout expired error while using select
Posted by Dax at 7/19/2006 11:31:43 PM
Hi, I have a problema of query in an asp page, if I run the query in sql query analizer is time running it's about 3-4 seconds, if I made the same query in an asp page it create the error of timeout for the browser. The result of the query output 2000 of records, all in one page. The query i...more >>

Strange file access
Posted by Mr Seth T at 7/19/2006 1:46:23 PM
I have an .NET 2.0 web application that I am using to create, read, encrypt, and delete an XML file. It all works great when I am testing it on the local machine that I am using as a web server, in debug and release using impersonation, but when I use a different computer to log on to the same ...more >>

not evaluate html from sql?
Posted by bouy78 NO[at]SPAM yahoo.com at 7/19/2006 11:57:44 AM
quick question..I have some html in an mssql db and i want to response.write it without the tags being evaluated....???? ...more >>

url length prob
Posted by Katie at 7/19/2006 11:33:05 AM
Hi, I have a webpage with a form and i am saving the webpage using name value pairs. So i can give the users a link which they can click on and the form will open up prepopulated. The problem i am having is that these forms can get exteremely long (hence the prepopulation facility) e.g tes...more >>

Apostrophe error while retrieving the record from the database
Posted by Bhavna at 7/19/2006 10:43:40 AM
I am using a Replace function to replace single quotes with double when submitting a text field in the database i.e. Replace (q, "'", "' ' ") which works fine. When I retrieve the field from the database which has apostrophe I am getting 'Object expected' error message. Is there a way to fix thi...more >>

best practise for search function / regExp?
Posted by Russell at 7/19/2006 10:05:22 AM
Hey, ok i have numerous tables to search through for a 'site search'. some of the searchble fields have html embeded within so after some quick referencing, saw I can use the regExp function to strip out all the HTML leaving only the raw text. (done and works a treat) My issue is: w...more >>

asp create mailbox question
Posted by Michael at 7/19/2006 9:10:02 AM
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The Exchange System Manager is running on the web server and Exchange SP2 has been installed. The IIS site i...more >>

ASP Amphasand, XML
Posted by jbroderick NO[at]SPAM gmail.com at 7/19/2006 8:56:07 AM
I have a .asp document on my server it goes as follows --- <?xml version="1.0" standalone='yes'?> <Restaurants> <% Dim objConn Dim objRS set objConn = Server.CreateObject("ADODB.Connection") set objRS = server.CreateObject("ADODB.recordset") obj...more >>

ADS Query
Posted by shawn.dba at 7/19/2006 12:13:01 AM
Hello. Thank you in advance for your time. I'm trying to query a set of groups in ActiveDirectory and output the members of each group. I'm not receiving output. The object tab of one object is listed as uscol.ad.companyname.com/Global Groups/SYS_Authority Global Groups/SYS_Authority_B...more >>

uploading file into SQL 2005 using .asp
Posted by jo uy at 7/19/2006 12:00:00 AM
Hi, Anyone who can send me a sample code of how to upload a file into SQL 2005 server using .asp running on IIS 6? I have a code that has been working when uploading into SQL 2000 but when I do the migration to SQL 2005, it doesn't work anymore. Thanks ...more >>

help with parameter not passed from for loop to while loop
Posted by pauljturner99 NO[at]SPAM gmail.com at 7/18/2006 4:56:39 PM
Hi, I'm trying to pass a parameter from a for loop to the nested while loop but only the first counter is passed. Here is the code: dim ctr redim ctr(5) ctr(0) = 2 ctr(1) = 4 ctr(2) = 6 ctr(3) = 8 ctr(4) = 10 ctr(5) = 12 dim counter redim counter(5) counter(0) = 0 counter(1) = 2 c...more >>

variable in SQL statement
Posted by Matt at 7/18/2006 2:23:00 PM
I need to add the following variable into an SQL statement and not sure how to do it. strGCID needs to be inserted into the following statement: SQL = "SELECT tblContacts.* FROM tblContacts INNER JOIN tblGC ON tblContacts.GCID = tblGC.gcID WHERE (((tblContacts.GCID)=strGCID))" i am just n...more >>

800a01b6 create mailbox asp
Posted by Michael at 7/18/2006 2:22:01 PM
Hello, I've created an ASP web page where users in our organization can create Active Directory computer accounts. The web page is running on a Server 2003 SP1 IIS 6 installation. The Exchange System Manager is running on the web server and Exchange SP2 has been installed. The web pag...more >>

are server variables secure?
Posted by wolfing1 NO[at]SPAM gmail.com at 7/18/2006 1:14:30 PM
I'm working on a shopping cart page. In page A (checkout) the user enters their credit card information. On postback, if everything is correct, it sends the user to page B (confirmation). My question is, can I (or should I) use server variables to send CC information to page B? My boss doesn't...more >>

DetailsView fields
Posted by bruno at 7/18/2006 1:04:02 PM
I'm new in ASP.NET programming and I'm using a DetailsView to view/edit colums in a SQLServer table. Is there a way to reference the actual displayed value of a column and use it to select a group of records from a different table? Can I have an example in VB.NET? If I use a DropdownList in...more >>

Is multithreading possible in ASP?
Posted by sundar22in NO[at]SPAM gmail.com at 7/18/2006 6:53:07 AM
Hi, Iam working on a ASP page which updates about 10000 datas. So it takes more than 1 hour. So how can we redure the time? Is multithreading possible in ASP? Kindly Help -Sundar ...more >>

Recordset Query!
Posted by AJ at 7/18/2006 2:45:01 AM
Hi all, I am trying to execute the following code: 'create recordset object SET recData = Server.CreateObject("ADODB.recordset") 'open recordset recData.Open "exec GetExhibitorsSearchByName 20,38916,38916,'do'", DataConn, 3, 3 20 = First Param (EventID) 38916 = Second Param (Start ...more >>

include file according to a parameter
Posted by lucky at 7/17/2006 6:53:04 PM
Hi I need to include a file within a page but the address of the included file depends on a parameter So I wrote something like this: <!--#include virtual="/<%=FolderName%>/includes/includefile.asp"--> where FolderName is a variable containing a string. But this doesn't work. It seem...more >>

Stored Query & Parameters.
Posted by AJ at 7/17/2006 5:53:02 AM
Folllowing on from a previous post, i have created a stored query as follows. SELECT c.ID, c.Company_Name, p.[level], 1 As QueryNbr FROM (Company AS c LEFT JOIN Sale AS s ON c.ID = s.Company_ID) LEFT JOIN Package AS p ON s.Package_ID = p.ID WHERE c.Category = 'EXH' ...more >>

mail body get truncated while using CDO in ASP
Posted by visu at 7/17/2006 2:39:09 AM
Hi my scenario is i ve upgraded my asp application to windows 2003 +IIS 6.0 + virtual SMTP server enabled environment from win 2000. so i need to update the mail procedure too.(becox i used CDONTs previously which is not supported in win 2003 by default).i have coded my mail sending script usi...more >>

regional settings inconsistency
Posted by Janette at 7/17/2006 12:00:00 AM
Hi, I have done a lot of reading before doing this posting, but I just can't find a solution that makes sense. eg http://support.microsoft.com/default.aspx/kb/306044 - Behavior of Date/Time format differs when accessed from Active Server Pages and http://support.microsoft.com/kb/264063/ -...more >>

ASP Email With Attachments Failure using CDO.Message
Posted by Naveen Jain at 7/16/2006 11:08:01 PM
Hi All, I'm using this code to send a e-mail with attachment: Dim oCdoMail Set oCdoMail = Server.CreateObject("CDO.Message") oCdoMail.From = strFromEmail oCdoMail.To = strToEmail oCdoMail.Subject = "Job Information" oCdoMail.TextBody = "This is the email notification" oCdoMail.AddA...more >>

ASP Session lost in IFRAME?
Posted by zzzbla NO[at]SPAM gmail.com at 7/16/2006 12:22:33 PM
Hello, I have a project in which I'm trying to embed one site, that uses session stored variables, inside an IFRAME in another site (which for that matter doesn't even use sessions). Problem is, that it doesn't always save the session. When I try to access it from some computers, I have no ...more >>

Running ASP code in the background
Posted by TheWiz at 7/16/2006 6:05:02 AM
Hi there.. I have a ASP web application, in the application I need to check if people did submit some documents, and if they don't past a certain date I want to send them email notifications. I am using SQL Server 2000 and SQL Server Agent How can I write ASP code to run in the background o...more >>

Upload excel (multiple sheets) data into sql server
Posted by Pk at 7/16/2006 5:47:25 AM
Hi, I have an data in multiple excel worksheet which i wan to upload into sql server through asp code. Please help me how can i use server.createobject("excel.application") help me its urgent with code Thank you very much in advance. ...more >>

Advanced server-side form validation
Posted by FayeC at 7/15/2006 5:49:30 PM
Can anybody point me to a good tutorial/manual on advanced server-side form validation including validation of fields against unwanted strings such as the use of "http://". Thank you in advance, FayeC...more >>


DevelopmentNow Blog