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. Advertising

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,114
  2. X l e c t r i c

    Can Division Width Conform To Content

    X l e c t r i c, Feb 16, 2006, in forum: HTML
    Replies:
    3
    Views:
    657
    kchayka
    Feb 16, 2006
  3. Michel T.
    Replies:
    14
    Views:
    893
    John Ersatznom
    Jan 18, 2007
  4. Ragnar
    Replies:
    9
    Views:
    1,501
    Andy Dingley
    Oct 27, 2006
  5. Replies:
    2
    Views:
    334
Loading...

Share This Page