Advertisement

11.16.2005 at 08:25AM PST, ID: 21633093
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

Arguments are of the wrong type, are out of acceptable range  or are in conflict with one another

Asked by asnath in Web Languages/Standards

Tags: , , , ,

Here is the Vbscript I am trying to run and I get this following error:
Error  :"Arguments are of the wrong type, are out of acceptable range  or are in conflict with one another".
Code  : 800A0BB9
Source: ADODB.Command
- - - - - - - -- - - -- - ---  -- - - -
My VBScript is as follows:
_______________________________________________________

Dim OdbcDSN
Dim connect, sql, resultSet,cmd
Dim counter
Dim objFSO, objFile, objFiledelete,objParam1, objresult
Dim strDirectory, strFile,ol, Err

Dim starttime, exittime, x

counter = 0
x = 0
OdbcDSN = "DSN=asnath;UID=user;PWD=pass"
Set connect = CreateObject("ADODB.Connection")
connect.Open OdbcDSN

Set cmd = CreateObject("ADODB.Command")          
           Set cmd.ActiveConnection = connect
           cmd.CommandText = "batch_pkg_rs_util.check_report_status"

 

          cmd.CommandType = adCmdStoredProc          
          set objParam1 = cmd.CreateParameter("@i_report_name")

          objParam1.Type = adVarChar2
          objParam1.Direction = adParamInput
          objParam1.Value = lastName
          cmd.Parameters.Append objParam1


          set objresult = cmd.CreateParameter("@o_report_run_status")
          objresult.Type = adVarChar
          objresult.Direction = adParamOutput
          objresult.Value = output
          cmd.Parameters.Append objresult

          cmd.Execute

  If Err.Number <> 0 Then
  counter =0
  else
        if cmd.Parameters("@result").Value = 1 Then
                counter =1
        end if

   end if

 
If counter = 1 Then
strFile = "C:\RS\DatabaseUploaded.txt"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFiledelete = objFSO.GetFile(strFile)
objFiledelete.Delete ()

 

starttime = timer
exittime = starttime + 2
'Wscript.Echo "pausing" & strFile
do while timer < exittime
   x= x + 1
loop
'Wscript.Echo "done" & starttime

 

'Wscript.Echo "Just deleted "  & strFile
WScript.Sleep 100

'Wscript.Echo "pausing" & strFile
Set objFile = objFSO.CreateTextFile(strFile, True)
'Wscript.Echo "Just created "  & strFile
Wscript.Quit
Set ol = Nothing
End If
'END********************



Please help me to resolve this issue ASAP. Thanks in advance!!!

asnath


Start Free Trial
[+][-]11.16.2005 at 12:58PM PST, ID: 15306692

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 01:44PM PST, ID: 15307074

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 02:00PM PST, ID: 15307208

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 02:08PM PST, ID: 15307280

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 02:21PM PST, ID: 15307370

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 02:26PM PST, ID: 15307406

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 02:27PM PST, ID: 15307419

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 02:39PM PST, ID: 15307530

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 02:48PM PST, ID: 15307601

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 03:05PM PST, ID: 15307698

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 03:10PM PST, ID: 15307730

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 03:34PM PST, ID: 15307841

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 03:37PM PST, ID: 15307857

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 03:43PM PST, ID: 15307893

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 03:45PM PST, ID: 15307906

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 03:57PM PST, ID: 15307958

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 04:33PM PST, ID: 15308095

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 04:59PM PST, ID: 15308208

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 06:25PM PST, ID: 15308503

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.16.2005 at 06:35PM PST, ID: 15308527

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Web Languages/Standards
Tags: wrong, out, acceptable, conflict, one
Sign Up Now!
Solution Provided By: amit_g
Participating Experts: 1
Solution Grade: A
 
 
[+][-]11.16.2005 at 06:55PM PST, ID: 15308590

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42