473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

connection string exception : Format of the initialization string does not conform to specification starting at index 0

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.GetKeyValueP air(Char[]
connectionString, Int32 currentPosition, String& key, Char[] valuebuf,
Int32& vallength, Boolean& isempty)
at System.Data.Common.DBConnectionString.ParseInterna l(Char[]
connectionString, UdlSupport checkForUdl, NameValuePair& keychain)
at System.Data.Common.DBConnectionString..ctor(String
connectionString, UdlSupport checkForUdl)
at System.Data.SqlClient.SqlConnectionString..ctor(St ring
connectionString)
at System.Data.SqlClient.SqlConnectionString.ParseStr ing(String
connectionString)
at System.Data.SqlClient.SqlConnection.set_Connection String(String
value)
at System.Data.SqlClient.SqlConnection..ctor(String
connectionString)
at Microsoft.ApplicationBlocks.Data.SqlHelper.Execute Dataset(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...;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
Nov 17 '05 #1
0 5011

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: james | last post by:
I have written a generalised database access component which construct the connection string after decrypting its value using DPAPI methodology. But as i assign the enitre connection string to...
0
by: Uday Deo | last post by:
Hi everyone, I have a .NET app invoking from the ASP page. It has to load bunch of data during first visit. The app works fine on the Staging and Prod server. This is the first time the company...
0
by: Nick | last post by:
I am getting the following error when connecting to a access database via ODBC if the path contains a ascii character 127. Character 127 is a valid character for a path however access can not...
1
by: openleren | last post by:
Hi all, with a little help from my friends, I am trying to construct a connectionstring from a relative path in web.config. It contains <add key="conAccess" value="microsoft.jet.oledb.4.0;data...
0
by: andy | last post by:
Hi all, Any help much appreciated - Andy I am trying to connect to a SQL Server DB using c#, ADO.Net mySqlConnection = new...
1
by: james | last post by:
I am creating an connection string at runtime using decryption (crypto libraries). i have a very unpridictable error while assinging the generated connection string to the connection property. ...
0
by: dbuchanan | last post by:
While trying to use a config file to provide my connection string I get a System.ArgumentException with the following message; "Format of the initialization string does not conform to specification...
5
by: JamesJ | last post by:
Just installed Visual Basic 2005 Express Edition. When attempting to link to a data source which is a ms access database I get the following error (if I wrote it down properly). Format of the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.