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 > june 2007 > threads for june 1 - 7, 2007

Filter by week: 1 2 3 4 5

How to send email via ASP.net
Posted by Newbie at 6/7/2007 4:00:56 PM
Hi All Our local educational host doesn't have any COMs on their servers so I need to use the built-in (if there is one!!) mail/smtp component of ASP.net to send web form data via email. Is there such a thing in ASP.net? My apols for the newbie question, but I'm still an ASP classic dev...more >>

Hiding label
Posted by pkalinin NO[at]SPAM partners.org at 6/7/2007 1:26:24 PM
Hi. I have a question can't find the answer for a long time. Say we have Web Application with to 2 asp and excel file: ASP1.asp - start page ASP2.asp A.xls ASP1.asp: <%@ Language=VBScript %> <html> <body> <font color=red><span id="MyLabel">Please Wait ..</span></font> <form action="...more >>

Simple ASP problem?
Posted by bcap at 6/7/2007 8:29:22 AM
Hello, I am a newbie to IIS and a rookie webmaster. =P I just installed IIS and am trying to copy an Intranet to my local machine. I have saved the files in my wwwroot folder. The code is classic ASP. For some reason when I open the pages I am getting the "Page Cannot be Displayed Erro...more >>

Could not delete from specified tables.
Posted by rn5a NO[at]SPAM rediffmail.com at 6/7/2007 3:36:10 AM
I am trying to delete records from a MS-Access DB table using the following query: strSQL=DELETE FROM MyTable WHERE [id]=CInt(Request.QueryString("delete")) con.Execute strSQL When I run the app on my local IIS 5.1 server (on WinXP SP2), records get deleted without any problems but when I ...more >>

looping problem
Posted by Billy Barth at 6/6/2007 7:47:01 PM
I am trying to loop through my database to display a picture. That is no problem. Where I hit a snag is this. I only want three pictures then break to a new row and three more, etc. Any ideas? What this does is display one record. Any Help would be appreciated Below is my code. <% strSQL="SE...more >>

Error When Redirecting to a PDF file
Posted by mansb2002 NO[at]SPAM yahoo.com at 6/6/2007 4:10:48 PM
Hi, We recently moved our webserver from Win2K to Win2003. The application works fine. Only problem is that when user views a report as a PDF, IE does not show it. The following code is used to redirect: Response.Redirect("/website/pdffiles/myreport.pdf"); Response.End; IE opens a "File ...more >>

aspSmartUpload Download Problem
Posted by david NO[at]SPAM davesaconsulting.com at 6/6/2007 7:52:14 AM
I am getting the following error: Error Type: ADODB.Field (0x800A0BB9) Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. When this code snippet is executed. <% Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload") ...more >>

ASPX Does not reflect changes made to an include page
Posted by Brandon at 6/6/2007 6:45:05 AM
Hi, I have an aspx page that contains an include section which calls an html page for text to be displayed on the aspx page. I also have an upload page that allows users to upload a simple html page with the same name everytime and places it on the server. My problem is that the aspx page d...more >>



help with connection string
Posted by Jennifer.Berube NO[at]SPAM gmail.com at 6/6/2007 12:23:27 AM
well I'm not sure how to go about making my SQL connection string... The code below is what I need to replace with my SQL connection...I just don't know if that code is for DSN or access... I don't want to use DSN just a connection string...help? function GetConnection() const DSN = "mem...more >>

GridView Column Width
Posted by Jen at 6/5/2007 6:16:00 PM
I would like to set the width on 2 columns of a asp.net gridview control, but I'm having trouble making this work. Here is the code I use to create the gridview: 'Create a new data table m_dsTable = New Data.DataTable m_dsTable.Columns.Add("Name", System.Type.GetType("System.String"), "") ...more >>

Uploading Images/Files To Server
Posted by rn5a NO[at]SPAM rediffmail.com at 6/5/2007 6:01:38 PM
Other than creating a custom component or purchasing one, isn't there any other way by which users can upload images/files from their local machines/hard disks to a remote server? Doesn't ASP have any in-built component to do so? If that's indeed the case, can someone suggest any free componen...more >>

File Already In Use
Posted by rn5a NO[at]SPAM rediffmail.com at 6/5/2007 2:47:57 PM
I am using the following connection to connect to a MS-Access database: --------------------------------- set con = server.createObject("adodb.connection") path1 = server.mappath("./db/MyDB.mdb") con.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& path1 &";Persist Security Info=Fa...more >>

ASPX page is not updating to flect changes made to an include page
Posted by Brandon at 6/5/2007 2:42:00 PM
Hi, I have an aspx page that has the "include" code in it which includes another page that displays information. I also have an upload page that allows users to upload a simple html document onto the server. The include code calls that html page to display the text on that page. The problem...more >>

Webpart and Rich Client
Posted by chanchitodata at 6/5/2007 2:38:01 PM
Hi, I want to do the following: Create a WebPart(in Sharepoint 2007) that downloads a .NET Rich Client. Well downloaded the Rich Client needs to communicate with the Web Part(through http calls). Googling around I have found examples with Webpart/Javascript communication but I have not ...more >>

Retrieving Varable from ASP to ASP.
Posted by BOBss at 6/5/2007 11:19:37 AM
I have an .ASP page that comes up, and I am trying retrieve a variable from the previous .ASP page. However none of the variables from the previous .ASP page are available to the current .ASP page. There are three pages in this chain. 1. NewUser.html Information is input in this page, and ...more >>

IE7: Invalid japanese characters in Window.open function
Posted by AK at 6/5/2007 8:16:02 AM
I have a problem with some japanese characters. When the two Japanese characters ï½° and ï½¼ï¾ΕΎ are used in the window name parameter of the window.open function, the expected new browser window does not open. This needs to be tested on localised Japanese operating system. The problem only ...more >>

ASP in XSL Document
Posted by David at 6/5/2007 6:15:55 AM
First of all, yes we are still using classic ASP, lol. I have a XSL document that is reading in info from a XML file. I have to display serveral server side dates on the page. Is there anyway to use ASP code inside a XSL document. I have tried the following. <![CDATA[ <%=Date()%> ]]> ...more >>

Problem using cursorlocation for recordset
Posted by shubha.sunkada NO[at]SPAM fds.com at 6/5/2007 6:15:47 AM
Hi, I have a recordset connection in asp that I am using to search records.If I use the client side cursorlocation (rs.cursorlocation=3) then it takes really long to return back the records due to which a timeout occurs.If I change the cursorlocation to adUseNone(1) or adUseServer(2) the...more >>

Problems with UPDATE
Posted by David at 6/5/2007 2:23:04 AM
Hi, I am trying to create a simple ASP web counter for my site, but seem to have an error somewhere ??? I am connecting to a MySQL server (works fine) hit-marker = Varchar hit_date = Date hit-browser = Varchar <% marker = 1 browser = Request.ServerVariables("http_user_agent") ...more >>

ASP database issue
Posted by John Peach at 6/4/2007 4:15:34 PM
not sure if this is the right place to ask but, when i run the following query in ASP i get the error Microsoft OLE DB Provider for SQL Server error '80040e14' Invalid column name '2 UK lighting turnover from Indoor lighting'. /qbrowse/forms/New Starter Feedback Form.asp, line 65 where...more >>

Consuming Web Service using classis ASP
Posted by Mo at 6/4/2007 12:42:42 PM
Hi, I can not find a decent example showing how to consume a asp.net 2.0 web service using classic ASP. Does any body have an example I could use? Thanks ...more >>

Stored Procedure call from ASP page problem
Posted by at 6/4/2007 9:43:27 AM
I need to call an stored procedure from an asp script, I don't need to do an Output parameter, only input parameters on 3 vars, but I get a "BOF EOF not true or record has been deleted" error when trying to call the page with the correct querystrings. The stored procedure looks like it's properl...more >>

Login not validating
Posted by Jennifer.Berube NO[at]SPAM gmail.com at 6/4/2007 6:49:22 AM
okay...so I got this login script and I edited it all and it seems to run fine...IE it listens to the script as far as permissions go when I place a restriction on a page and when you login it redirects. But first it doesn't tell you that you're logged in and doesn't provide a logout feature. ...more >>

Check ID number against Access DB
Posted by JBiggsCC at 6/4/2007 12:44:07 AM
I have a very simple login page which takes an ID number via a HTML form GET. What is easiest way to check that ID number against an Access DB to see if it exists? I want to redirect with the ID in the query string if it does exist and have them re-enter if incorrect. ...more >>

Cannot call BinaryRead after using Request.Form collection
Posted by Griff at 6/4/2007 12:00:00 AM
Bizarre problem here.... I have a classic ASP web page that exists in one project. I have copied this code file into another web project and it errors! The code has not been altered in any way, so I'm not sure why its errored. In more details: The page starts by validating the user, s...more >>

Request.Querystring
Posted by paul chambers at 6/4/2007 12:00:00 AM
hello. In the the below code, I want to change " here " with a file pulled via a Querystring. For example, if http://localhost/page.asp?=data.xml is the url I want " here " replace with data.xml. I know I will probably be duh when I get the anwser, but I don't how to replace " here " wit...more >>

help stopping people putting scripts into form fields
Posted by mark r at 6/3/2007 12:53:49 PM
Hi there, im making a simple site where people can add comments into a shoutbox. only ive had experience of people adding in html tags and javascript to redirect people away from my site and display images etc which im not interested in. how do i stop this from happening? is there a way to int...more >>

QueryString and referencing anchors in the URL
Posted by bradeck NO[at]SPAM gmail.com at 6/1/2007 10:53:59 PM
I have a need to pass a url via the address field to a page - i.e. page.asp?myurl=newpage.asp. When I get the QueryString object for "myurl" it correctly comes back with 'newpage.asp'. However, if I pass an anchor name on the url - e.g. page.asp?myurl=newpage.asp#myanchor - the result is still...more >>

jscript json used in vbscript?
Posted by Marc at 6/1/2007 2:37:38 PM
I'm aware that there are significant differences between VBScript objects and JScript objects but that doesn't mean something like the following should give me such troubles? <%@ Language=VBScript %> <script language="jscript" runat="server"> var json = {"widget":[{"value":"text here"},{"va...more >>

ContentType Excelsheet Title
Posted by rguarnieri at 6/1/2007 7:51:18 AM
Hi!, I'm using Response.ContentType="application/vnd.ms-excel" to show an html table over excel sheet and I need to change the excelsheet title, does anyone know how to do that?, now it's shows me the name of the asp page. Thank you. ...more >>


DevelopmentNow Blog