Microsoft Knowledge Base Email Alertz

KBAlertz.com: (875290) - Describes that you will receive an error when you try to run the Access Conversion Scanning Tool, ADScanner.exe, from the command prompt if you use not valid command-line arguments. Provides sample scenarios that may cause the problem.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 875290 - Last Review: July 28, 2004 - Revision: 1.3

You may receive the "Invalid command line" error message when you run the Access Conversion Scanning Tool at the command prompt


This article applies only to a Microsoft Access database (.mdb).

Moderate: Requires basic macro, coding, and interoperability skills.

SYMPTOMS

When you try to run the Access Conversion Scanning Tool, also known as Adscanner.exe, at the command prompt, you may receive the following error message:
Invalid command line.
Note The Access Conversion Scanning Tool is included with the Microsoft Office Access 2003 Conversion Toolkit.

CAUSE

This problem occurs if the syntax of the command that you use to run the Adscanner.exe program is not correct. The following list describes the three main causes of this problem:
  • At the command prompt, you set the value of a command-line argument to an unsupported setting in the syntax of the command that you use to run the Adscanner.exe program. The following example shows an unsupported setting for the value of a command-line argument:
    ADScanner <ResultPath> /acc:off
    The only supported setting for the /acc command-line argument is on. Instead of specifying off to prevent the scanning tool from collecting the Access properties, you do not use /acc at the command-line.
  • At the command prompt, you specified a command-line argument more than one time in the syntax of the command that you use to run the Adscanner.exe program. The following example shows a command-line argument that is specified more than one time:
    ADScanner <ResultPath> /acc:on /acc:on
    In the previous command-line argument, you specified the /acc command-line argument two times in the syntax of the command. Therefore, you receive the error message that is mentioned in the "Symptoms" section.
  • At the command prompt, you specified a command-line argument that is not valid in the syntax of the command that you use to run the Adscanner.exe program. The following example shows a command-line argument that is not valid in the syntax of the command:
    ADScanner <ResultPath> /access:on
    In the previous command-line argument, you specified the /access command-line argument that is not valid in the syntax of the command. Therefore, you receive the error message that is mentioned in the "Symptoms" section.

    Note The <ResultPath> placeholder is the placeholder for the full path of the folder that stores the results of the scans.

RESOLUTION

To resolve this problem, you must make sure that the command-line arguments are valid when you run the Adscanner.exe program at the command prompt. Before you run the Adscanner.exe program, verify that the syntax of the command that you use to run the Adscanner.exe program is correct. To verify the syntax of the command, do the following:
  • Make sure that you have not specified the command-line argument explicitly if you want to use the default setting for a command-line argument.
  • Make sure that you have not duplicated any command-line arguments.
  • Make sure that you have not used any arguments that are not valid.

For additional information about the syntax of the Adscanner.exe program, run the following command at the command prompt:
ADScanner /?

STATUS

This behavior is by design.

MORE INFORMATION

When you use the Access Conversion Scanning Tool that is included with the Microsoft Office Access 2003 Conversion Toolkit, you can collect the information about your Access database to make critical decisions. You make these critical decisions when you plan to upgrade your Access databases. You can start the Access Conversion Scanning Tool by running the Adscanner.exe program at the command prompt.

Note By default, the Adscanner.exe file is located in the following folder:

<Installation Drive>:\Program Files\Microsoft Office\Conversion Toolkit

REFERENCES

For additional information about how to use the Microsoft Access Conversion Toolkit Scanner utility and the errors that may occur when your Access databases are scanned by using the Access Conversion Scanning Tool, see the Microsoft Office Access 2003 Conversion Toolkit documentation.

To open the Microsoft Office Access 2003 Conversion Toolkit documentation, follow these steps:
  1. Click Start, point to Programs, and then point to Microsoft Office Tools.
  2. Point to Microsoft Access Conversion Toolkit, and then click Conversion Tool Documentation.
For additional information about how to use the Access Conversion Scanning Tool, click the following article number to view the article in the Microsoft Knowledge Base:
875289  (http://kbalertz.com/Feedback.aspx?kbNumber=875289/ ) Description of how to run the Access Conversion Scanning Tool at the command-line interface

APPLIES TO
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
  • Microsoft Access 2000 Standard Edition
  • Microsoft Access 97 Standard Edition
  • Microsoft Access 95 Standard Edition
Keywords: 
kbdatabase kbtshoot kberrmsg kbprb KB875290
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please