Format of the initialization string does not conform to specification starting at index

S

Sérgio Pinheiro

Hi Folks,

I'm facing a serious problem with my application.

This is my connection string:
server=192.178.2.101;Integrated
Security=false;uid=xxx;pwd=xxx;database=AdIntelligence;Min Pool
Size=3;Connection Reset=False

Sometimes when I start the application, I receive the following error
message:

Format of the initialization string does not conform to specification
starting at index 0.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.ArgumentException: Format of the initialization
string does not conform to specification starting at index 0.

Source Error:

Line 74: Dim cnFolloWinTmp As New
System.Data.SqlClient.SqlConnection
Line 75:
Line 76: cnFolloWinTmp.ConnectionString =
Utility.Config.AppSettings("DSN")
Line 77: cnFolloWinTmp.Open()
Line 78:

Source File:
C:\Inetpub\wwwroot\Addintelligence\componentes\FolloWin.Chleba.ADI.DAL.SQLSe
rver\sqlbase.vb Line: 76


The curious fact is that this is an intermitent problem, sometimes
everything goes well, other times I receive the message, I've checked the
return value of my configuration function
(Utility.Config.AppSettings("DSN")) and it is ok, as it was working in the
past 1 year.

I've checkd out the KB article at, but as you can see my connection string
does not includes apostrophes (') or double quotation marks (""), as the
article exposes.

http://support.microsoft.com/?kbid=823679

Can MSFT people or anyone of you good fellows, help me with this urgent
question?

Thanks in advance,

Sérgio Pinheiro, MCSD Charter Member, MCSE+I, MCDBA, MCP+SB, MCT
FolloWin Informática Ltda
http://www.followin.com.br
 

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

Top