|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Active Server Pages (ASP) Programming Discussionmicrosoft.public.inetserver.asp.general
trying to use wmi with asp
zerbie45 -
25 Feb 2006 9:13 PM - 3 messages
Hi guys, I have the following vbscript that works just fine but when I try to run it using asp (just by adding the <% and %> signs and replacing wscript.echo with write.response) it doesn't work. Is there anything else I need to do to run this script using an ASP ...
Good solution access MsSQL from ASP [Classic] use Intranet
DariuszK -
25 Feb 2006 5:51 PM - 1 message
I am greeting I would like to consult the better solution(with security consideration) to the access is for MSSQL(2005) from ASP(Classic) in the system of the intranet. a) SQL mixed mode and depositing user name and passwords for MSSQL of the ...
IIS caches asp files for too long and delays testing
Bob -
25 Feb 2006 4:10 PM - 3 messages
Running IIS 6 IIS seems to suffer from the malady I had with IIS5 ... it caches the asp files. So when I make a change, save the file to the IIS inetpub directory, then test, it runs the old file. If I wait a little while ...
ASP Page executed twice
Elie Grouchko -
25 Feb 2006 10:35 AM - 2 messages
Hi I have an ASP page which is randomly (?) executed twice. I noticed that the http header is different, as if there are two different requests sent to the server. Header 2 below is the one that randomly occur. Although the 2 headers are different I don't understand why ...
help with using shopping cart totals
isaac2004 -
24 Feb 2006 11:19 PM - 8 messages
hi i have a basic asp page that acts as an online bookstore. on my cart page i am having trouble generating 3 numbers; a subtotal, a shipping total, and a final price. here is my code i would like it to work properly so that a record count counts through ...
adodbconnection - property value
zerbie45 -
24 Feb 2006 11:07 PM - 2 messages
I don't understand why but If I use vbscript the following code works fine: ....connection string..... dbConn.Open msgbox dbConn.Property but the corresponding code in asp: ...connection string..... dbConn.Open response.write dbConn.Property returns the error "Arguments are of the wrong type, are out of ...
Response.Expires
Elie Grouchko -
24 Feb 2006 9:54 PM - 2 messages
Hi I am using the following 2 lines of script at the begining of every ASP page on my site. Response.Expires = -1 Response.ExpiresAbsolute = Now Should I also use them in the ASP files that I am including using the ...
Keeping track number of users using an application
Jack -
24 Feb 2006 6:14 PM - 2 messages
Hi, I got a web based application. I need to keep track of number of users coming to use this applcation on a daily basis. This application is read only one. I have to veiw the traffic for a month. What is the best way to capture ...
Not receiving all emails
CS -
24 Feb 2006 5:25 PM - 2 messages
I have a stored procedure which sends out an email to all the users listed in the database. for some reasons I am not getting all emails. could someone offere some assistance? Here's my code. Global.asa Sub Session_OnStart ...
memory leak only when compiled in release mode
BruceDM -
24 Feb 2006 4:50 PM - 3 messages
We have an webservice application that has a memory leak when the application is compiled release mode. However, when the application is compiled in debug mode it does not exhibit a memory leak. We are running .net 1.1 compiled with VS 2003. ...
multipart form processing
raj chahal -
24 Feb 2006 1:22 PM - 4 messages
Hi there i have created a registration page containing a form than sends username password to an asp processing page. If the user exists it sends the user back to the registration page with server.transfer command otherwise it adds ...
HTTP 302 (Response.Redirect) to mms:// URL gives error, to http:// is ok.
David Morgan -
24 Feb 2006 11:45 AM - 2 messages
Hello Apologies for the cross-post, but I am not sure where the problem lies. We have an ASP based website where we redirect users to MMS Publishing Points. So, guy clicks on http:// .asp link, we do a db update, then use ...
iso-8859-1 and UTF-8
Emmanuel -
24 Feb 2006 11:37 AM - 4 messages
hi, I have this ASP application which is taking text from an NVARCHAR and NTEXT columns and outputs them in the response. The problem has to do with encoding.. basically the text appears to be UTF-8 (i'm not sure about this, but its definitely not iso-8859-1) but i need it ...
font installation
dave -
24 Feb 2006 10:34 AM - 2 messages
is it possible to install a font automatically using an asp page. If so could someone point me in the right direction Thanks in advance Dave ...
Page Submits Twice
Umesh -
24 Feb 2006 9:53 AM - 6 messages
Hi Here is the sample code for my form, but problem is that it submitts twice in some cases when i click sub mit button. <script> function validateform (){ //do a lot validation here, if validation failes, return false; ...
rePOST form data without using GET
lbolognini@gmail.com -
24 Feb 2006 3:31 AM - 6 messages
Hi all, I was wondering if there's a technique to use POST instead of GET to send data back to a form so to refill it with user input after this hasn't passed validation. Any clues? Thanks, Lorenzo ...
Help w/ interactive form data validation
Vinny -
24 Feb 2006 12:47 AM - 3 messages
I'm writing a small ASP program which prompts the user for data. I would like to interactively validate the data as they are entering it, rather than waiting until they submit the form. So, I am doing something like this (this is a very simple example): ...
"Internal 500" error vs. a helpful message
Bob -
23 Feb 2006 10:16 PM - 5 messages
Why does my IIS6 server sometimes give me very good error messages from the VB/ASP interpreter... but mostly give me "Internal Server error 500" messages? Is there some way to force it to give the better error message all the ...
ASP Creating word documents(content-disposition)
Tom -
23 Feb 2006 9:31 PM - 3 messages
I have tried three ways of opening word documents on my win95 machines. (Yes, my client still has some win95 machine) #1-With Response.AddHeader "Content-Disposition", "attachment; filename=yourfilenamehere.doc" #2-With Response.AddHeader "Content-Disposition", "inline; filename=yourfilenamehere.doc" ...
FSO: Localhost has stopped working?
JohnB111 -
23 Feb 2006 9:23 PM - 5 messages
Hi Environment: Windows XPPRO SP2 IIS 5.1 AVG Anti Virus (Not script Blocking) The following code used to work perfectly on my local development machine and still does on my web server. ==================================================== This is the ERROR Message: ==================================================== HTTP 500.100 - Internal Server Error - ASP error ...
problems with asp
shaz kahn -
23 Feb 2006 9:03 PM - 3 messages
hi guys ive just started this forum and ASP programming and so far its not too bad I was wondering if any one can help. Am creating a book search website which sellers can add books to the database with their ...
How do you create a form with a graphic security entry?
Larry Bud -
23 Feb 2006 3:59 PM - 3 messages
Ok, I don't know what they're called, but you know the form: The page displays a "code", usually on a similar color background (dark gray), and the text is all squiggly. It's an attempt to foil the bots that go out and process forms. The ...
Windows 2003 'ASP 0178 : 80070005' COM+ Security problem
Rob Shorney -
23 Feb 2006 2:51 PM - 1 message
Good afternoon, Hope I've got the right group - sorry if not. I am getting the following error in my asp page Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error /exctest/test.asp, line 7 The call to Server.CreateObject failed while checking permissions. Access is ...
Re: Response.Redirect & URL Variable
elmo -
23 Feb 2006 11:37 AM - 3 messages
I've got the same problem... de page must rdirect to Costumersview.asp?key=1 when i do a response.redirect to Costumersview.asp?key=1 the redirect
doen't have any problems but when i do it from a variable ...
Receive and process a XML post
Marja de Vroed -
23 Feb 2006 10:11 AM - 4 messages
I'm trying to build a page which is able to receive and process an XML message that is posted to it by some other page. The sending page is working fine, but I don't now how to 'pick up' the sent message in the receiving page. ...
Server.CreateObject() vs new ActiveXObject()
Andrew Hilton -
23 Feb 2006 8:13 AM - 5 messages
When you create an object in classic asp code, should you always use Server.CreateObject("ProgID")? Are there implications with stability (ie memory leaks) if you create COM objects in other ways in IIS? We use Javascript for our ASP coding, using a mixture of ...
Unable to browse an aspx page
Ginette -
23 Feb 2006 12:08 AM - 3 messages
In IIS, when I try to browse an aspx, I get a popup message asking me if I want to open or to save the file instead of actually browsing to the page. Any idea of what could cause this issue? ...
Operation is not allowed when the object is closed.
isaac2004 -
22 Feb 2006 11:53 PM - 2 messages
hi i am trying to use the record count object to count the number of books in a database of mine. i get this error saying that i have closed the object and i dont think i closed it. here is my code ...
any info on <REVOCATION type="WMDRMNET">
kamathajith -
22 Feb 2006 9:52 PM - 3 messages
Hi, I see the following in response to license acquisition requests from our license server <LICENSERESPONSE><REVOCATION type="WMDRMNET">//encryped_data</LICENSERESPONSE> but the strange thing is that the asset still seems to play fine ...
Replacing or improving Session vars usage - advice
Larry Neylon -
22 Feb 2006 9:36 PM - 2 messages
Hi, I'm working on a VBScript application on IIS6 and I'm looking for some advice about the best way of replacing or improving session variable usage. The application is in a secure extranet environment. Currently the application has a search customers page with 10 search fields which list the ...
ASP Includes
Jeff -
22 Feb 2006 8:52 PM - 5 messages
When writing ASP pages that have include pages, is best to make the include pages as txt, asp, inc??? which format would be the most efficient. the include pages wouldn't contain any asp script, all html. thanks jeff ...
error if db search finds nothing
abbylee26 -
22 Feb 2006 8:21 PM - 26 messages
my page works fine if the db search finds at least one record that satifies the query. but if it does not find a match I get the following error message. Error Type: ADODB.Field (0x80020009) Either BOF or EOF is True, or the current record has been deleted. ...
disable button
lynchm0bx -
22 Feb 2006 7:28 PM - 2 messages
I'm brain dead today. I have a page that updates/deletes user records. I
made the mistake of thinking that because admin's use it, that I didn't
have to make it stupid proof... How do i enable/disable submit buttons based on a radio button
selection? or what would be the best way of prompting a "are you really
sure you want to delete this record?" ...
mismatch error
abbylee26 -
22 Feb 2006 7:23 PM - 3 messages
sSQL = "SELECT [Billing Date], [Service Number], [Subscriber User Name]," & _ " Fund, Account,[Activity Code], Description, [Total Charge]" & _ " FROM 06_Statements" & _ " WHERE [Billing Date] = '" & Request.Form("cmonth") & "'" & _ " AND [Service Number] = '" & Request.Form("cnumb") & "'" & _ ...
examples of recordcount object
isaac2004 -
22 Feb 2006 6:11 PM - 2 messages
hi i am trying to count the records in an access database, and i cant seem to figure out the syntax to count the records and output a response.write with the number. thanks for the help ...
stumped??
CsharpGuy -
22 Feb 2006 5:19 PM - 4 messages
I have an asp page that has drop downs and a list box which is populated via a database. Now, I can run this page and have it work on my local pc and my test web server, BUT when I migrate it out to the production web server the ...
newbie Sending a Password in a web page to a DLL
shall -
22 Feb 2006 5:19 PM - 2 messages
I want to create a web page for a user to put in a Password. After they hit Submit, How can I send that Password, as Secure, from the web page to a DLL? TIA Steve ...
Where's Aaron Bertrand?
Andyza -
22 Feb 2006 1:11 PM - 4 messages
Where's Aaron Bertrand? I've noticed that he hasn't posted in this group for a while now. What happened? ...
image uploading
raj chahal -
22 Feb 2006 12:52 PM - 3 messages
Hi there I want to let users upload a image to their directory and then update my database so whenever someone searches the database an image is displayed.. I've seen some scripts that use comonents . I am famailiar with asp ...
tools to clean up asp code
isaac2004 -
22 Feb 2006 8:07 AM - 2 messages
hi i was wondering if there are any tools or programs out there that can clean up your asp code like realign and make it more readable and if there is can i have some recognitions please. thank you. ...
Syntax error (missing operator) in query expression
isaac2004 -
21 Feb 2006 10:50 PM - 3 messages
hello i am getting a weird al syntax error from my SQL statement Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'tblBookDescription.strTitle Where (((tblCategories.strCategory) = 'Database'))'. ...
Reading data from excel
thysonj -
21 Feb 2006 5:30 PM - 3 messages
I know the basic way of doing this when you have a static set of spreadsheets but I need to be able to process different spreadsheets every day. These spreadsheets are sent to us by an outside auditing firm without named ranges. They have a consistent format. Is there a ...
Reading file on network drive through UNC , IIS 6
mavrick_101 -
21 Feb 2006 5:18 PM - 2 messages
Hi, Here is my problem again. I am using ASP (old) and IIS6.0 I am trying to read a file which resides on \\FILESERVER\MYFOLDER\myfile.txt I can not map this server on the webserver. I need to access it through UNC. ...
Installing a web application
Dave -
21 Feb 2006 4:46 PM - 5 messages
How can I set up an install package to offer the SA to choose the install folder? I am using VS to create a MSI install file. ...
Reading the server mimemap.
Anthony Jones -
21 Feb 2006 4:27 PM - 3 messages
Hi people, I use the following code to read the server's mimemap and resove a file extension to a mime type:- Public Function GetMimeType(ByVal Extension) Dim oMimeMap Dim vntMimeType Dim avntMap() Set oMimeMap = GetObject("IIS://LocalHost/MimeMap") ...
Read a file through FSO??
mavrick_101 -
21 Feb 2006 3:25 PM - 8 messages
Hi, I am trying to read a file through classic ASP. The file is located on a file server, seperate from the webserver. This is the path I'm trying to read the file from \\FILESERVER\MYFOLDER\myfile.txt How can I accomplish this task? ...
datetime
Eesh -
21 Feb 2006 12:13 PM - 2 messages
I just want datetime to be displayed as it is displayed in codecomments forum format is like mm/dd/yy hh:mm thats it any help on this would be appreciated Thanks eesh
--
Eesh
------------------------------------------------------------------------
Posted via [link]
------------------------------------------------------------------------ ...
Loop Form - extract display 'value' as well as form value?
jason -
20 Feb 2006 9:16 PM - 3 messages
While I can extract the option value from the following: <Select name='Keystring' MULTIPLE> <option value='1' name='status'>Pending</option> ..... </select> I cannot seem to extract the corresponding 'display' value when I do a ...
domain-neutral loading .net 1.x and iis
Richard -
20 Feb 2006 7:55 PM - 1 message
Does iis 6.0 load only GAG assemblies as domain-neutrla or all assemblies in the bin directory only? ...
Copying files from the server to the PC
JimmySlam -
20 Feb 2006 4:09 PM - 1 message
Hi how do i copy a file from the server to the PC? I have this code but it says that type mismatch 'CopyFile' <% Const ForWriting=2 strPath = Server.MapPath("datos.xml") Set fso = Server.CreateObject("Scripting.FileSystemObject") ...
Copying files from the server to the PC
JimmySlam -
20 Feb 2006 4:05 PM - 11 messages
Hi how do i copy a file from the server to the PC? Const ForWriting=2 strPath = Server.MapPath("datos.xml") Set fso = Server.CreateObject("Scripting.FileSystemObject") Set oFile = fso.GetFile(strPath) Set tso = oFile.OpenAsTextStream(ForWriting) ...
Characters found after end of SQL statement
isaac2004 -
20 Feb 2006 5:10 AM - 3 messages
hello getting wierd error from SQL statement it is Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] Characters found after end of SQL statement. here is my server side code <% Dim strSQL, objRS, strTitle, dblPrice, strISBN, strDescription, ...
Get Total Rows in Database?
JoeM -
20 Feb 2006 3:07 AM - 9 messages
I have a list of data in a database(access). How can I get the total rows in the database? Thanks ...
Createing new ASP.Net application using VB and VS2005
ScottB -
19 Feb 2006 10:41 PM - 2 messages
When creating website applications within Visual Studio 2005, I use the File System method because it meets the needs of our environment. In choosing the location of the directory where the files will reside, I can choose a share ...
send string to IP in ASP
Ejder -
19 Feb 2006 5:46 PM - 3 messages
I want to send string to Computer on port 1000. in my project. I have to send IP:1000 e string. and the programme on computer. listining the port 1000. The programme on computeri call the another machine and get informaiton abouut sistem. ...
Too few parameters. Expected 1.
isaac2004 -
19 Feb 2006 12:10 AM - 3 messages
hi am getting this error about a wrong field name in my database and it all seems right to me <%@ Language=VBScript %> <% Option Explicit %> <!--#include file="DatabaseConnect.asp"--> <!--#include virtual="06winter/levini/database/adovbs.inc"--> ...
|
|||||||||||||||||||||||