Parameter is Incorrect

Last post 07-03-2008 6:58 AM by Thomas Sun – MSFT. 2 replies.

Sort Posts:

  • Parameter is Incorrect

    06-29-2008, 6:30 AM
    • Loading...
    • junjie1800
    • Joined on 06-29-2008, 10:16 AM
    • Singapore
    • Posts 19

    I have create a SQL database in the APP_DATA, but when I tried opening the data definition of the table or create new table, VS2005 Pro prompts me with the following error:

     PARAMETERS IS INCORRECT.

    I have zip up the same website and its database to open in my friends VS2005 and it works perfectly.

    On for Life, Built on Commitment
    http://www.limjunjie.org
  • Re: Parameter is Incorrect

    07-03-2008, 3:33 AM
    • Loading...
    • Jorus
    • Joined on 05-14-2008, 9:32 PM
    • Melbourne Australia
    • Posts 185

    Hiya,

    Try removing the database from the project and readding it.

    Can you open the database with SQL?

    Cheers

    Jorus

    --Please put "Mark as Answer" if I help you solve your problem, Thanks.
  • Re: Parameter is Incorrect

    07-03-2008, 6:58 AM
    Answer

    Hi,

    Please confirm the following information:

    • Firstly, please make sure that the connectionstring is correct. You can try to reconnect to this database from Visual Studio. 
    • Please also install the latest service packet for Visual Studio and Sql Server.
    • If we disable Add-ns (“Tools” | “Add-in Manager”) and run “devenv.exe /safemode”, do we still have the problem? This can eliminate the possibility that third party Add-ins are causing problems.

    In addition, a log will be very useful for the trouble-shooting. We can consider the following log systems in this issue:

    1. SQL Profiler and SQL error log.
    Because our project fails when it tries to cooperate with the SQL server, we can utilize the log systems in SQL server to see what happens.

    A. SQL profiler, available in SQL Server->Performance Tools->SQL Server Profiler, is able to record all the SQL requests and the result of the requests. So we can start SQL profiler recording, start VS solution, and see what it records when the VS error is popped up.

    B. SQL error log.
    SQL error logs can be found in the directory: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG... They are, in fact, txt files that we can open with notepad.

    2. Windows Event Viewer.
    In the Application section of the event viewer, it records the error of the applications. Thus, it'll also be a good choice for trouble-shooting if VS logs its errors into it.

     

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter