New Posts New Posts RSS Feed: Connectionstring missing
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Connectionstring missing

 Post Reply Post Reply
Author
yrod View Drop Down
Newbie
Newbie
Avatar

Joined: 19-Sep-2008
Location: Germany
Posts: 2
Post Options Post Options   Quote yrod Quote  Post ReplyReply Direct Link To This Post Topic: Connectionstring missing
    Posted: 19-Sep-2008 at 7:01am
Hello,

i trying to run the tutorials, but i get this message:(German)

"Der Parameter 'connectionString' ist ungültig. Zeichenfolgenargumente dürfen nicht leer sein.
Parametername: connectionString"


can anybody tell me, how i solve dies problem?

Thanks

Yovanny
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 19-Sep-2008 at 12:19pm
Double-check the edmKey(s) in the app.config file in the AppHelper project, the connection string value might have been erased.   The keys originally probably looked similar to this:
 
            <edmKey connection="metadata=res://ServerModelNorthwindIB/ServerModelNorthwindIB.csdl|res://ServerModelNorthwindIB/ServerModelNorthwindIB.ssdl|res://ServerModelNorthwindIB/ServerModelNorthwindIB.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.;Initial Catalog=NorthwindIB;Integrated Security=True;MultipleActiveResultSets=True&quot;"
                containerName="ServerModelNorthwindIB.ServerModelNorthwindIBContext"
                logTraceString="false" name="NorthwindIB" tag="">
                <probeAssemblyNames>
                    <probeAssemblyName name="DomainModel" />
                    <probeAssemblyName name="ServerModelNorthwindIB" />
                </probeAssemblyNames>
            </edmKey>
            <edmKey connection="metadata=res://ServerModelAw2000/ServerModelAw2000.csdl|res://ServerModelAw2000/ServerModelAw2000.ssdl|res://ServerModelAw2000/ServerModelAw2000.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.;Initial Catalog=AdventureWorks2000;Integrated Security=True;MultipleActiveResultSets=True&quot;"
                containerName="ServerModelAw2000.ServerModelAw2000Context"
                logTraceString="false" name="Aw2000" tag="">
                <probeAssemblyNames>
                    <probeAssemblyName name="DomainModel" />
                    <probeAssemblyName name="ServerModelAw2000" />
                </probeAssemblyNames>
            </edmKey>
Back to Top
yrod View Drop Down
Newbie
Newbie
Avatar

Joined: 19-Sep-2008
Location: Germany
Posts: 2
Post Options Post Options   Quote yrod Quote  Post ReplyReply Direct Link To This Post Posted: 22-Sep-2008 at 2:21am
It works thanks a lot.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down