asp.net - mdf file and connection error -
i m running asp.net example code in vs 2005. using following datasource. have no sql express edition, have developer edition of sql server 2005. <asp:sqldatasource id="srcfiles" connectionstring="server=.\sqlexpress;integrated security=true; attachdbfilename=|datadirectory|filesdb.mdf;user instance=true" selectcommand="select id,filename files" insertcommand="insert files (filename,filebytes) values (@filename,@filebytes)" runat="server"> <insertparameters> <asp:controlparameter name="filename" controlid="upfile" propertyname="filename" /> <asp:controlparameter name="filebytes" controlid="upfile" propertyname="filebytes" /> </insertparameters> </asp:sqldatasource> i have .mdf file , got following error message. a network-related or instance-specific error occurred while establishin...