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

G

Gaurav

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,832
Latest member
GlennSmall

Latest Threads

Top