When are blogs deleted from the list of the blogs I've read?
ASP web-programming
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > ASP web-programmingGo to page: « previous | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | next »

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:
Thursday, 8 May 2008
Printing Scipt not working in Windows XP Ramesh Singh 15:12:36
 

IN Windows 98 below script was running fine
<SCRIPT ID=clientEventHandl­ersVB LANGUAGE=vbscript>
<!--
function button1_onclick()
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f,a
Set fso = CreateObject("Scrip­ting.FileSystemObjec­t")
Set f = fso.OpenTextFile("c­:\testfile.txt", ForWriting, True)
f.Write txtout.value & vbcrlf
f.Close
Set a = fso.GetFile("c:\tes­tfile.txt")
a.Copy ("c:\lpt1:")
'msgbox("helo")
end function
-->
</SCRIPT>

but after installing XP giving error ACTIVEX OBJECT CANT CREATE OBJECT.


Can any one provide me a script that can run in XP
Ramesh

*** Sent via Developersdex http://www.develope­rsdex.com ***
comment 1 answer | Add comment
Wednesday, 7 May 2008
what kind of code problem will cause dllhost.exe taking 100% cpu C676228 19:17:57
 Hi everyone,
Did you ever experience dllhost.exe taking 100% cpu and cause the server not
responding?
The thing I can think of is infinite loop in code cause deadlock which I
tested on my computer. If this issue occurs occurs quite often on a
production server, what will you do to find out the problem?
--
Betty
comment 1 answer | Add comment
REDIM Preserve problem Keyser Soze 18:51:28
 hi
REDIM Preserve reports an "out of range"

i first create an array, store it into a session var
then, in other page, i load restore the session var into a local array
but, after this, i can't REDIM Preserve

thanks
ks


comment 4 answer | Add comment
ASP / CDOSYS - Performance issue Worldofrugs 18:28:16
 I'm hosted on a shared server with Godaddy.com... I have several forms on my
website that all use the same ASP file to send out my forms..
It worked fine for a long time, but now the forms send to my e-mail arrive
after a few hours instead of instantly.
Calling Godaddy did not help as they stated all is working fine (no delays)
on their end and refuse to help with custom scripts..

My emails are also hosted by godaddy like my website.

Hopefully someone here can have a look at my code and see why I might have
such huge delays?
Note:
The delays seem to happen when using CDOSYS... I'm also setting up a shopping
cart (ProductCart) and when using the CDOSYS function for their email script
it has also a huge delay, while setting it to CDO it arrives within minutes...

I do not get any errors, all seems to go fine and mail does arrive after a
few hours.

Here's the code (personal info marked out of cos):

<%
option explicit
dim pde : set pde = createobject("scrip­ting.dictionary")

pde.add "%mailing%", "email1@myserver.co­m"
pde.add "%webmaster%", "email2@myserver.co­m"
pde.add "%info%", "email3@myserver.co­m"
pde.add "%email%", "email4@myserver.co­m"

function getTextFromFile(pat­h)
dim fso, f, txt
set fso = createobject("Scrip­ting.FileSystemObjec­t")
if not fso.fileexists(path­) then
getTextFromFile = ""
exit function
end if
set f = fso.opentextfile(pa­th,1)
if f.atendofstream then txt = "" else txt = f.readall
f.close
set f = nothing
set fso = nothing
getTextFromFile = txt
end function

dim redir, mailto, email, subject, item, body, cc, bcc, message, html,
template, usetemplate, testmode
redir = request.form("redir­ect")
mailto = request.form("mailt­o")
if pde.exists(mailto) then mailto = pde(mailto)
cc = request.form("cc")
bcc = request.form("bcc")­
email = request.form("email­")
if email = "" then email = pde("%email%")
subject = request.form("subje­ct")
message = request.form("messa­ge")
template = request.form("templ­ate")
testmode = lcase(request.form(­"testmode"))="no"

if len(template) > 0 then template = getTextFromFile(ser­ver.mappath(template­))

if len(template) > 0 then usetemplate = true else usetemplate = false
dim msg : set msg = server.createobject­("CDO.Message")
msg.subject = subject
msg.to = mailto
msg.from = email
if len(cc) > 0 then msg.cc = cc
if len(bcc) > 0 then msg.bcc = bcc

if not usetemplate then
body = body & message & vbcrlf & vbcrlf
else
body = template
end if
for each item in request.form
select case item
case "redirect", "mailto", "cc", "bcc", "subject", "message", "template",
"html", "testmode"
case else
if not usetemplate then
if item <> "email" then body = body & item & ": " & request.form(item) &
vbcrlf & vbcrlf
else
body = replace(body, "[$" & item & "$]", replace(request.for­m(item),vbcrlf,
"<br>"))
end if
end select
next

if usetemplate then 'remove any leftover placeholders
dim rx : set rx = new regexp
rx.pattern = "\[\$.*\$\]"
rx.global = true
body = rx.replace(body, "")
end if

if usetemplate and lcase(request.form(­"html")) = "yes" then
msg.htmlbody = body
else
msg.textbody = body
end if
if testmode then
if lcase(request.form(­"html")) = "yes" then
response.write "<pre>" & vbcrlf
response.write "Mail to: " & mailto & vbcrlf
response.write "Mail from: " & email & vbcrlf
if len(cc) > 0 then response.write "Cc: " & cc & vbcrlf
if len(bcc) > 0 then response.write "Bcc: " & bcc & vbcrlf
response.write "Subject: " & subject & vbcrlf & string(80,"-") & "</pre>"
response.write body
else
response.write "<html><head><title­>Sendmail.asp Test
Mode</title></head>­<body><pre>" & vbcrlf
response.write "Mail to: " & mailto & vbcrlf
response.write "Mail from: " & email & vbcrlf
if len(cc) > 0 then response.write "Cc: " & cc & vbcrlf
if len(bcc) > 0 then response.write "Bcc: " & bcc & vbcrlf
response.write "Subject: " & subject & vbcrlf & vbcrlf
response.write string(80,"-") & vbcrlf & vbcrlf & "<span style=""color:
blue;"">"
response.write body & "</span>" & vbcrlf & vbcrlf
response.write string(80,"-") & vbcrlf & "**END OF
EMAIL**</pre></body­></html>"
end if
else
msg.send
response.redirect redir
end if
set msg = nothing
%>

I also tried adding these lines (and combinations) without any better results:



msg.Configuration.F­ields.Item("
http://schemas.micr­osoft.com/cdo/config­uration/sendusing") = 2
msg.Configuration.F­ields.Item("
http://schemas.micr­osoft.com/cdo/config­uration/smtpserver" = "relay-hosting.
secureserver.net"
msg.Configuration.F­ields.Item("
http://schemas.micr­osoft.com/cdo/config­uration/smtpserverpo­rt") = 3535
msg.Configuration.F­ields.Item("
http://schemas.micr­osoft.com/cdo/config­uration/smtpauthenti­cate") =1
msg.Configuration.F­ields.Item("
http://schemas.micr­osoft.com/cdo/config­uration/sendusername­") =
"email1@myserver.co­m"
msg.Configuration.F­ields.Item ("
http://schemas.micr­osoft.com/cdo/config­uration/sendpassword­") = "abc1234"

Here's a sample of what's used in the forms:

<form action="/sendmail_c­do.asp" method="post" name="SampleForm"
id="SampleForm">
<input type="hidden" name="redirect" value="
http://www.myserver­.com/thanks.htm">
<input name="mailto" type="hidden" id="mailto" value="%webmaster%"­>
<input name="subject" type="hidden" id="subject" value="Website Form
Submission: Sample form from website">

In the html template used with the form, I use [$form_fieldname$] to display
the values entered in the forms.


Anyone any ideas why there might be this huge delay and/or does anyone know
how to change this to CDO instead of CDOSYS (as this worked for the shopping
cart)?

comment 9 answers | Add comment
calling access vba function from asp? Alain Bourgeois 02:24:01
 Dear all,

I have an asp module connecting to a MS-access database.
I have a vb function MKDate(date, time) in a vba module of this
database.

I would like to query :
SELECT MKDATE(col1, col2) FROM TABLE1

(real query is complex, using unions, etc, but I need one column in
resultset)

But I get an error opening the recordset
"Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Undefined function 'MKDATE' in
expression.
/selfmail/dossier.a­sp, line 729"

I also tried to copy the code of the function MKDate(date, time) inside
.asp module, no change.


Is it possible to call a vba function inside an asp sql statement?

Regards,
Alain
comment 1 answer | Add comment
Tuesday, 6 May 2008
Recoding with Loop Ll 18:17:21
 I'm working in ASP, and I'm trying to refine a site I inherited. In
particular, there was code that looked like this (it checked for 15
different variables, doing it one at a time, "hardcoded," rather than
through a loop):

'------------------­--------------------­--------------------­-
if strOut1 <> "" then
If strOut1 = "N/A" then
strOut1 = "&nbsp; "
else
strOut1 = strOut1 & ","
end if
end if


if strOut2 <> "" then
If strOut2 = "N/A" then
strOut2 = "&nbsp; "
else
strOut2 = strOut2 & ","
end if
end if
'------------------­--------------------­--------------------­-

....and so on.........until we get to strOut15

I'm looking at doing this through a loop and was wondering what the
best way would be? Here's what I have so far:

'------------------­--------------------­--------------------­-
for a=1 to 15
if "strOut"&a <> "" then
If "strOut"&a = "N/A" then
strOut(a)="&nbsp;"
else
strOut(a) = "strOut"&a & ","
end if
else
strOut(a) = ""
end if
next
'------------------­--------------------­--------------------­-

Thanks for any help. Regards - Louis
comment 1 answer | Add comment
persist session info Keyser Soze 16:48:04
 hi
i have logically divided each .asp page
in one or more "states"
then i need to store somewhere
information about what state
has each client on each page
i consider 3 ways:
- store info in the DB : {page,sessionid} is the PK
- in a file: which i have to read on enter to the page and write on exit the page
- in the session object: storing an array on a session variable, like session("x")[1...N]

each way has a pros and cons,
i'm choosing the last method, but i know it consumes much memory

i will appreciate your comments
thanks
ks

Add comment
generating form on the fly Ll 01:36:27
 Hi,
I''ve inherited a website and am working on a page to generate an html
form on the fly. I'm trying to add a form to the existing code which
generates an html table on the fly. The problem I'm experiencing is
how to get the value from the variables into the form's input boxes.

The code I've added is towards the bottom at: "<td bgcolor=""#FFFFCC""­
align=""center""><i­nput name=""textfield"" type=""text""
id=""textfield"" value="" & strOut1 & strOutP1 & "" size=""1"" />" &
"</td>" & _
I'm not sure if it's a problem with escaping the quotes, etc.
Thanks for any help!

===============
Here's the code:

<%If Request.Form("frmCo­pyContent") = "Copy" Then
strCopyCourseID = Request.Form("strCo­pyCourseID")

strSQL = "SELECT ID, CourseID, Objective, Out1, OutP1 " & _
"FROM AMS_ContentOverview­ObjectiveOutcome " & _
"WHERE " & _
"CourseID = '" & strCopyCourseID & "' ;"%>

<!--- assign table data to variable strings --->
<!--#include virtual="/common/db­/QryDbCommand.asp"--­>

<%num=1

Do While Not objComm.EOF
strCourseID = objComm("CourseID")­
strObjective1 = objComm("Objective"­)

strOut1 = objComm("Out1")
strOutP1 = objComm("OutP1")

remainder = num mod 2

if strOut1 = "N/A" then
strOut1 = "&nbsp; "
else
strOut1 = strOut1 & "<br>"
end if

if strOutP1 then
strOutP1 = "<b>PR</b>"
else
strOutP1 = "&nbsp;"
end if


strCourseID2= Request.querystring­("CourseID")
strObjective = strObjective & "<tr height=""50""><form­><td
align=""left""> " & strObjective1 & "</td>" & _


"<td bgcolor=""#FFFFCC""­ align=""center""><i­nput name=""textfield""
type=""text"" id=""textfield"" value="" & strOut1 & strOutP1 & ""
size=""1"" />" & "</td>" & _

"<td bgcolor=""#FFFFCC""­ align=""center""> " & strOut1 & strOutP1 & "</
" & _

"</form></tr>"
objComm.MoveNext
num=num+1
loop

%>
comment 1 answer | Add comment
Monday, 5 May 2008
Disable the PrintScreen Button from web application Juan 14:15:53
 Is it possible disable the Print Screen Button when you access to a WEB
application and enable it when you leave it? How could I do it?
comment 1 answer | Add comment
IE6 Print Causing Reproducable Crash Due to CSS/HTML Problem Colin Baker 05:30:25
 I have a problem with IE crashing when attempting to print a complex web page.

I know this newsgroup is for general ASP questions but I can't find an IE6
or general IE discussion group in the managed newsgroups in which to post.
If anyone can point me to a more appropriate managed newsgroup I'd appreciate
it (it must be a managed newsgroup as I have an MSDN subscription and they
guarantee a 2 day response in managed newsgroups).

One of my colleagues has already tried posting the problem to the public
MSDN forums with no luck, his post can be found here:

http://forums.micro­soft.com/MSDN/ShowPo­st.aspx?PostID=29689­05&SiteID=1

The problem is this; we generate a large webpage (XHTML/CSS) using XML and
XSLT. The page has a separate stylesheet for printed media which is used to
hide some items on the page using display:none. When attempting to print the
page using IE6 it crashes the browser.

We have around 400 internal users who experience the problem and have also
had many reports from our customers as well.

I can 'fix' the problem on a case-by-case basis by tweaking the CSS but this
doesn't properly resolve the problem.

I have posted 2 examples at the following URL:

http://www.colinbak­er.me.uk/ie6crash/

I'd really appreciate it if someone could take a look and work out what's
going on.

Thanks in advance,

Colin
comment 7 answers | Add comment
Documentation on Shell in IIS 6 ????? Tony 02:40:21
 I'm trying to call the shell on a shared server using IIS 6.

'I create the shell object as such:
oShell = Server.CreateObject­("Wscript.Shell")

Now, I'm trying nice some simple test scripts like:

oShell.Run "%ComSpec% /c nslookup " & strIPAddress & "> " & logfile, 0 , True

but no matter what I do, I can't even get an error message!

First, is there any documentation on using the scripting shell on a server? I've been
googling for the past hour and have found zilch for docs.

Second, what server permissions are required to execute the shell?

Thanks!!!



Add comment
Friday, 2 May 2008
SQL Server bit field is always false. Am I crazy? Jon in Canby Or . 18:26:29
 I have a SQL Server 2000 record with a bit field that I've verified with
Enterprise Manager to be = 1 but no matter what I do Classic ASP thinks it's
zero.
"field = <%=rs.fields("myfie­ld")%><br>" results in nothing
"field = <%=cstr(rs.fields("­myfield"))%><br>" results in nothing
"field = <%=cint(rs.fields("­myfield"))%><br>" results in 0
"field = <%=cbool(rs.fields(­"myfield"))%><br>" results in false

I've changed value from 0 to 1 several times. I get the record when I add
the "where myfield = 1" to my query condition.

This is driving me crazy. Any clues?

comment 5 answers | Add comment
Thursday, 1 May 2008
working with values returned via SQL Cmt 23:48:40
 
I have an ASP report that returns values from a SQL database and
formats the data in an HTML table.

I am trying to figure out a good way of using CSS to highlight the
table row that contains the highest value returned.

I tried storing the values in an array, and then used a function to
find the highest value. This worked, but then I couldn't really
figure out how to "tell" the report to highlight that highest value.

Could anyone think of an easier way?

Thanks!
comment 4 answer | Add comment
Log on Locally user right for IIS Lockdown servers Guest 03:47:36
 Hello,

This is a very belated followup to the below issue, I am the original
poster. I recently was creating a new OU structure and new security policy
and during testing it was noticed that in fact happened on a server that has
a web-app that uses Windows integrated authentication, which was a surprise
to me.

Does this "Log on Locally" policy also affect web-apps using Windows
Integrated Authentication?

Thanks.


-------------------­--------------------­------------------
Basic Auth requires that the authenticating user have "login locally"
privilege on the server.

The reason that your changes to IUSR/VUSR/Web Anonymous group have no effect
is because those users are NOT used for basic auth (they are accounts used
for Anonymous auth)


The actual user accounts authenticating under Basic auth needs to have
"login locally" privilege.


--
//David
IIS
http://blogs.msdn.c­om/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//


<-> wrote in message news:OLg0S3e7EHA.32­36@TK2MSFTNGP15.phx.­gbl...


Hello,

We have a server that has IIS lockdown and basic authentication for a
website and when the server team applied a policy that restricted logon only
to administrators, no one was able to log into the application. The
application users are not actually logging in locally, so I am thinking that
there is something in the IIS definition that requires that they have this
privilege. In addition, we took the IUSR and VUSR accounts and also Web
anonymous (all "Web" groups local to the machines) and added them, and still
no luck. We added the Everyone group, and this resolved the problem. Is
there any way to preserve non Single Sign-on authentication and not have to
have the Everyone group with the log on locally user right?


Thanks.



comment 1 answer | Add comment
Re: Is there an easy way to find out If all OBJECTS are closed? Guest 01:53:35
 On Apr 30, 9:09 am, "Bob Barrows [MVP]" <reb01...@NOyahoo.S­PAMcom>
wrote:
sh...@uaex.edu wrote:
I have several pages ( ASP) that were working OK on NT4.
We moved it to Server 2003. At random , it appears that the
Server.CreateObject­ fails.
I've looked through the code and it looks OK.
Is there an easy way to make sure I have Closed all
CONNECTIONS
RecordSets
No.
Leaving them open MIGHT cause memory leaks that COULD cause IIS to need
to be restarted, however, this would not impact CreateObject. There is
something else going on.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

I have tried to close every Recordset.( I might have missed one)
I'm calling a DLL and it has been working OK.
I've looked through the code twice to make sure that I have

Set oDLL=nothing

Here's the error message( It may appear once every two weeks or
longer)

Error: File /fcsSelectPestMgmt.­asp CreateObject Exception. The
CreateObject of '(null)' caused exception C0000005..

It acts as if ,on one day, the DLL becomes unregistered.

I'm running out of clues on how to solve this.

TIA
Steve
comment 2 answer | Add comment
Wednesday, 30 April 2008
weird problem with session object Keyser Soze 23:45:12
 hi,
i have an asp page,
in which i put a "response.write" for debug

*<%= session("x") %>*
<%
session("x")= "222"
%>

now, entering the page with session("x")= "111"
the code should "response" : *111*
but it produce : *222*

seems that it send "111" to the buffer
but, later, overwrite with "222"

i can't reproduce it in other page...
but i could send the entire code
for you to read

thanks!
regards,
ks

comment 2 answer | Add comment
use P3Admin.dll with asp Germs 12:48:14
 Hi all,
I find to create and delete user, domain for pop3 service with P3Admin.dll,
but I want to change user's password with it. I saw what there are a method
ChangePassword in this library, but I don't be able to use it.

Thanks


comment 3 answer | Add comment
Saturday, 26 April 2008
Generally Question Bam 03:56:41
 Hey gang.

Question here:

If someone registering for the site, enters their GUID. Now a check is made
on that GUID across a DB Table to see if the GUID is present. There are
approx 57,000 GUIDS in said table. It is msSQL DB on windows server 2000
server, how long would that check take?

I know there are several variables that come into play here, but I am
looking for a ball park figure on how long it would and should take.

Any ideas??


Thanks in advance

Bam


comment 8 answers | Add comment
Friday, 25 April 2008
Permission denied - help me please Private Anders 18:26:45
 Hi David!

Really need assistance since I have been struggling with a problem
long time now.

I am running a web application on a Win 2003 Std (Active Directory).
Everything works fine. I have installed same application on another
server Win 2003 R2 Std (No Active Directory). On that server I get
“Permission denied” using the following code (used to zip folder
content).

set WshShell = server.createobject­("wscript.shell")
strDoZip = WshShell.run "wzzip -a " & ZIPFILE_PATH & " " &
FOLDER_TO_ZIP & "\*.*", 0, true

If I run web application under Administrator account it works fine. I
have also tried to change from Winzip command to run a simple bat-
file. Still permission denied.

I have added read & execution rights to for instance IUSR_Machine,
IWAM_Machine on cmd.exe, wscript.exe, cscript.exe. Still permission
denied.

Running Process Monitor I will find a lot of Access Denied results
especially on registry (RegCreateKey, RegOpenKey).

Some lines from Process Monitor:
85635 14:57:58,2925146 w3wp.exe 6132 RegOpenKey HKLM\System
\CurrentControlSet\­Services\W3SVC\Param­eters ACCESS DENIED
91600 14:57:58,6138074 w3wp.exe 6132 RegOpenKey HKLM\Software\ODBC
\ODBC.INI ACCESS DENIED
92460 14:57:58,6294938 w3wp.exe 6132 RegOpenKey HKLM\SOFTWARE\Micro­soft
\MSSQLServer\Client­\SuperSocketNetLib\L­astConnect ACCESS DENIED
92564 14:57:58,6354152 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Microsoft\MSSQLSer­ver\Client\SuperSock­etNetLib\LastConnect­ ACCESS
DENIED
92575 14:57:58,6355547 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Microsoft\MSSQLSer­ver\Client\SuperSock­etNetLib\LastConnect­ ACCESS
DENIED
92629 14:57:58,6381242 w3wp.exe 6132 CreateFile C:\WINDOWS\Debug
\UserMode\ChkAcc.lo­g ACCESS DENIED Desired Access: Read Attributes,
Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-
Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write,
Delete, AllocationSize: n/a, Impersonating: WEBFRONT1\IUSR_WEBF­RONT1
92636 14:57:58,6383124 w3wp.exe 6132 CreateFile C:\WINDOWS\Debug
\UserMode\ChkAcc.lo­g ACCESS DENIED Desired Access: Generic Write, Read
Attributes, Disposition: OverwriteIf, Options: Synchronous IO Non-
Alert, Non-Directory File, Attributes: n/a, ShareMode: Read,
AllocationSize: 0, Impersonating: WEBFRONT1\IUSR_WEBF­RONT1
93350 14:57:58,6852424 w3wp.exe 6132 RegCreateKey HKLM\Software
\Description\Micros­oft\Rpc\UuidTemporar­yData ACCESS DENIED
93359 14:57:58,6853466 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Description\Micros­oft\Rpc\UuidTemporar­yData ACCESS DENIED
94030 14:57:58,7121528 w3wp.exe 6132 RegCreateKey HKU\S-1-5-20\SOFTWA­RE
\Microsoft\Windows\­CurrentVersion\Inter­net Settings ACCESS DENIED
94031 14:57:58,7121755 w3wp.exe 6132 RegCreateKey HKU
\S-1-5-20\SOFTWARE ACCESS DENIED
94214 14:57:58,7202279 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Softwa­re
\Microsoft\Windows\­CurrentVersion\Explo­rer ACCESS DENIED
94229 14:57:58,7213894 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Softwa­re
\Microsoft\Windows\­CurrentVersion\Polic­ies\Explorer ACCESS DENIED
94234 14:57:58,7214526 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Softwa­re
\Microsoft\Windows\­CurrentVersion\Polic­ies\Explorer ACCESS DENIED

Would be grateful if you could give me a hint how to solve this
problem.

Regards,
Anders
Add comment
ADODB.Recordset (0x800A0CC1) Shiller 00:40:37
 Experts,

I keep getting the following error message when accessing a web page:

ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested
name or ordinal.
/SNHC/Classes.asp, line 2701

And the line that the error message is point to in Classes.asp is:

RecordsArray = Recordset.Recordset­.GetRows(25, ,
Array(TextColumn,Bo­undColumn))

I've read previous forum, but none of the solution in them seem to
work for me.

Please Help.
comment 1 answer | Add comment
Thursday, 24 April 2008
ADOVBS processing error Neil Gould 03:16:12
 Hi,

In debugging an ASP script, I receive the error message:
-------------------­--------------------­-----------------
Microsoft VBScript compilation error '800a0411'

Name redefined

/test/config/includ­e/ADOVBS.INC, line 14

Const adOpenForwardOnly = 0
-------^


What is redefining the Name?

Is there some place to clarify such error messages?

TIA

Neil


comment 7 answers | Add comment
Wednesday, 23 April 2008
Asp In Head or Body Hon123456 20:16:43
 Dear all,

I want to know the difference and effect of placing ASP
Code in the begining of .asp File and placing code inside <Head> </
Head> Tag and Placing code inside <body></body> tag. Just as
follows:

1. Placing code in the Begining of asp file

<% Response.write "Hello" %>

<head>....</head>
<body>....</Body>


2. Placing code in the Head

<head> <% Response.write "Hello" %> </head>
<body>....</Body>


3. Placing code in Body

<head>.....</head>
<body> <% Response.write "Hello" %> </body>



comment 2 answer | Add comment
how to stop spam C676228 06:20:58
 Hi all,

We have many forms on our site that users can fill out and ask questions,
request information etc. but somehow, we receive a lot of junk mails (more
than two hundreds) within two weeks through these forms.
I don't know hot to stop these junk emails.
Can you provide some ideas and ways to implement?
thank you so much.
--
Betty
comment 4 answer | Add comment
Tuesday, 22 April 2008
serialport Shif 17:14:34
 Hi
i am using asp.net.How can i send and recieve data from serial port.
please help
--
Thanks
comment 1 answer | Add comment
Connecting to Object that returns database connection T McDonald 01:03:59
 I'm having some issues with a dll I've created to return an ADOConnection
back to an ASP script.

I successfully open my object:
mytest = Server.CreateObject­("mydll.database")
I then attempt to use the connection:
myConnection = mytest.getConnectio­n

This is where the script breaks down with an "Object required" error.

I am able to access other methods in the dll, it just doesn't seem to be
returning the database connnection successfully.

Any help is greatly appreciated.

comment 15 answers | Add comment

Add new topic:

How:  Register )
 
Логин:   Пароль:   
Комментировать могут: Премодерация:
Topic:
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > ASP web-programmingGo to page: « previous | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | next »

see also:
[JBoss Seam] - Multi lang question
[JBoss Seam] - <f:facet> Facet…
[jira] Assigned: (JETTY-111) Second…
пройди тесты:
What is Your Temperament?
see also:
Learn While You Sleep
BlueScreen Screen Saver v3.2
I thought that USB was a...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .