ASP, IIS6
Set con = Server.CreateObject("ADODB.Connection")
con.ConnectionTimeout = 10
con.CommandTimeout = 10
con.cursorlocation=3
strConnection = "DSN=blab ...;uid=...;pwd=...."
con.Open strConnection
These timeout setting don't work. My query run for 15 seconds and it's not time out. How...
I'm trying to insert a record to a db and I got this error.
Set con = Server.CreateObject("ADODB.Connection")
con.Open "DSN=MyDB;uid=myuid;pwd=mypwd"
con.Execute("insert into myTable values (...,...,blab,blab)")
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[CA][ODBC...
I'm trying to set up some restriction on a web page. I have this piece of code:
<%
if time() >= CDate("8:00:00 AM") and time() <= CDate("5:00:00 PM")
.... blab ..blab ...
end if %>
I tested it on the server, it works as expected. But for some unknown reasons, this setting doesn't work for...
Can someone please show me how to get a combo box value in FF?
With IE7, I can use this:
var comboVal = document.getElementById("combo1").value;
OR
var selIndex = document.getElementById("combo1").selectedIndex;
comboValue = document.getElementById("combo1").options[selIndex].value;
OR
var...
Hi all,
Is it possible that clicking on one button will make another submit button get clicked?
The "fake" button is form1. The "real" submit button is in form2 and it is hidden by default. Click on the fake button will make the real button get clicked and then hide the fake button.
There is...
I'm using this command:
WPSConfig disable-security –DWasPassword=wpsadmin –DPortalAdminPwd=wpsadmin
to disable Portal 6.0.0.0 server. It ran for about 12 minutes, everything seems to work fine but then I ended up with the error:
BUILD FAILED
Target '?DWasPassword=wpsadmin' does not exist in...
Hi All,
I know I can break a column's value after I get the result set but can I break it in the SQL statement. something like:
Select Left(column2,4) as first4, Right(column2,4) as last4
from ...blab ..blab
The data type of column2 is a float so I need to convert it to a string first. Can...
Hi All,
I know I can break a column's value after I get the result set but can I break it in the SQL statement. something like:
Select Left(column2,4) as first4, Right(column2,4) as last4
from ...blab ..blab
Thanks.
I'm trying to display a loading message while the page is being loaded. On IE, the image is not
changing the color. I'm talking about the image that has some dots in color that looks like a progress bar.
It works fine in FF. How can I fixed it so that it will work with IE as well.
If the form...
Hello:
I'm using Crystal 10.0.5.1177, when exporting my report to CSV file, it got a couple errors:
1. Page header repeat on every record.
2. Conditional suppress was displayed in the file
Does anyone has this kind of problem? How to fix it? Thanks.
Hi All,
I'm using Crystal 10.0.5.1177, when exporting my report to CSV file, it got a couple errors:
1. Page header repeat on every record.
2. Conditional suppress was displayed in the file
Does anyone has this kind of problem? Thanks.
Hi All,
I have an ASP app, it works fine on my local machine. When I copy to the server, it won't work. Can someone please show me step by step that I need to do. Do I need to install ASP on the server? How?
Thank you in advance.
Hi all,
This is a jsp + javascript problem. I'm trying this forum first, if you tell me it's wrong forum, I will move my thread to javascript forum. Thanks.
I found this link:
http://www.mattkruse.com/javascript/calendarpopup/
Followed this link to get the js file...
Hi all,
My query returned hundreds of records but only those that meet my criteria are being displayed in the report. I need to count the number of records being displayed. How can I do this?
Thank you in advance.
-k
Hi All,
I'm trying to search for customer's name with an apostrophen how can I do that?
I'm testing it in Query analyzer and this won't work:
Select * from CustTable where customerName like '%'%'
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.