connection string exception : Format of the initialization string does not conform to specification

Discussion in 'ASP .Net' started by Gaurav, Nov 7, 2003.

  1. Gaurav

    Gaurav Guest

    Hi,

    I have a connection string
    "Data Source=db1.mynet;DATABASE=test;User ID=testuser;Password=test;"
    ,
    when i use the connection string to get a dataset of all the tables of
    a database
    it works without any problem, but when i try and call a stored
    procedure i get an
    exception trace like :

    "...Additional information:
    System.Web.Services.Protocols.SoapException: Server was
    unable to process request. ---> System.ArgumentException: Format of
    the initialization
    string does not conform to specification starting at index 0.
    at System.Data.Common.DBConnectionString.GetKeyValuePair(Char[]
    connectionString, Int32 currentPosition, String& key, Char[] valuebuf,
    Int32& vallength, Boolean& isempty)
    at System.Data.Common.DBConnectionString.ParseInternal(Char[]
    connectionString, UdlSupport checkForUdl, NameValuePair& keychain)
    at System.Data.Common.DBConnectionString..ctor(String
    connectionString, UdlSupport checkForUdl)
    at System.Data.SqlClient.SqlConnectionString..ctor(String
    connectionString)
    at System.Data.SqlClient.SqlConnectionString.ParseString(String
    connectionString)
    at System.Data.SqlClient.SqlConnection.set_ConnectionString(String
    value)
    at System.Data.SqlClient.SqlConnection..ctor(String
    connectionString)
    at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteDataset(String
    connectionString, CommandType commandType, String commandText,
    SqlParameter[] commandParameters) in C:\Program Files\Microsoft
    Application Blocks for .NET\Data Access ...."


    I googled a bit and have traced this to a probable bug, described in
    Microsoft Knowledge Base Article - 823679
    (http://support.microsoft.com/default.aspx?scid=kb;en-us;823679).

    So my questions are :-
    1. Is there something wrong with the connection string that i am
    using,

    2. According to the article i need the following files :-
    Date Time Version Size File name
    --------------------------------------------------------------
    27-Jun-2003 15:01 1.1.4322.918 1,294,336 System.data.dll
    30-Jun-2003 22:27 1.0.0.0 1,629,352
    Ndp1.1-kb823679-x86.exe
    03-Jul-2003 03:20 5.3.17.17 709,920
    Windowsserver2003-kb821415-x86-enu.exe

    Where can i get these files from?

    I am using :
    * .NET Framework 1.1 version 1.1.4322
    * Microsoft Devel. Envi. 2003 Version 7.1.3088
    * OS : XP Professional Version 2002 Service Pack 1


    Regards
    Gaurav
     
    Gaurav, Nov 7, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. andy
    Replies:
    0
    Views:
    4,530
  2. Tony Johansson

    exception specification

    Tony Johansson, May 30, 2005, in forum: C++
    Replies:
    5
    Views:
    577
    Artie Gold
    May 30, 2005
  3. Paul Drummond
    Replies:
    2
    Views:
    380
    Paul Drummond
    Jun 8, 2005
  4. Harish Sundararaj

    Information/specification -- LXT2 format

    Harish Sundararaj, Jul 25, 2006, in forum: VHDL
    Replies:
    1
    Views:
    1,774
  5. Replies:
    2
    Views:
    470
  6. JK
    Replies:
    4
    Views:
    778
  7. Robert Dailey

    Bug in format specification in Python 3?

    Robert Dailey, Aug 11, 2009, in forum: Python
    Replies:
    3
    Views:
    433
  8. Tobia Conforto
    Replies:
    5
    Views:
    439
    Tobia Conforto
    Nov 10, 2012
Loading...