473,587 Members | 2,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.myne t;DATABASE=test ;User ID=testuser;Pas sword=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 :

"...Additio nal information:
System.Web.Serv ices.Protocols. SoapException: Server was
unable to process request. ---> System.Argument Exception: Format of
the initialization
string does not conform to specification starting at index 0.
at System.Data.Com mon.DBConnectio nString.GetKeyV aluePair(Char[]
connectionStrin g, Int32 currentPosition , String& key, Char[] valuebuf,
Int32& vallength, Boolean& isempty)
at System.Data.Com mon.DBConnectio nString.ParseIn ternal(Char[]
connectionStrin g, UdlSupport checkForUdl, NameValuePair& keychain)
at System.Data.Com mon.DBConnectio nString..ctor(S tring
connectionStrin g, UdlSupport checkForUdl)
at System.Data.Sql Client.SqlConne ctionString..ct or(String
connectionStrin g)
at System.Data.Sql Client.SqlConne ctionString.Par seString(String
connectionStrin g)
at System.Data.Sql Client.SqlConne ction.set_Conne ctionString(Str ing
value)
at System.Data.Sql Client.SqlConne ction..ctor(Str ing
connectionStrin g)
at Microsoft.Appli cationBlocks.Da ta.SqlHelper.Ex ecuteDataset(St ring
connectionStrin g, CommandType commandType, String commandText,
SqlParameter[] commandParamete rs) 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
Windowsserver20 03-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 5020

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

Similar topics

0
1331
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 <sql connection object>.conectionstring property, i get an error always specifing - "Format of the initialization string does not conform to...
0
1753
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 got the separate machine as a Development server. I have installed .NET Visual studio and framework on the machine. I copied all the files and...
0
2269
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 handle this character. Here is the path I am sending on the connecetion string. Long File Name 001 - +] {#@rȠք....㩵}u ѣ 68...
1
32431
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 source=data/database.mdb" /> In my webform I constructed a fucntion Public Function getConnectionString() As String
0
1537
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 SqlConnection(@"user=ddd;password=jfn;server=srv5;Trusted_Connection=no;database=dan"); as you can see there are "special" ASCII chars in the user and password
1
4872
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. my code is something like this ... Public Function DbconnStr(ByVal UID As String, ByVal Pwd As String, _ ByVal ServerName As String,
0
1048
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 starting at index 0" What does this mean and What am I doing wrong? ==== My config file <?xml version="1.0" encoding="utf-8" ?>...
5
1099
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 initialization string does not conform to specification starting at 0. I thought it would be a bit easier to expose the project to my data, but no.
0
7923
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main...
0
7852
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8349
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8221
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5719
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.