asp.net - Cannot open database "lolo2013_db1.mdf" requested by the login. The login failed -


after uploading when try browse website error

login failed user 'dotnetspider1\lolo2013'.
description: unhandled exception occurred during execution of current web request. please review stack trace more information error , originated in code.

exception details: system.data.sqlclient.sqlexception: cannot open database "lolo2013_db1.mdf" requested login. login failed.
login failed user 'dotnetspider1\lolo2013'.

source error:

an unhandled exception generated during execution of current web request. information regarding origin , location of exception can identified using exception stack trace below.

how can solve it???

my web.config file:

<configuration> <connectionstrings>   <add name="connectionstring"         connectionstring="data source=.\sqlexpress;persist security info=true;integrated security=sspi;initial catalog=lolo2013_db1.mdf"       providername="system.data.sqlclient" />  </connectionstrings>  <system.web>     <identity impersonate="true" />     <compilation defaultlanguage="vb" debug="true" />     <customerrors mode="off" />     <authentication mode="windows" />      <authorization>         <allow users="*" /> <!-- allow users -->     </authorization>     <trace enabled="false" requestlimit="10" pageoutput="false" tracemode="sortbytime" localonly="true" />     <sessionstate              mode="inproc"             stateconnectionstring="tcpip=127.0.0.1:42424"             sqlconnectionstring="data source=127.0.0.1;trusted_connection=yes"             cookieless="false"              timeout="10"      />     <globalization requestencoding="utf-8" responseencoding="utf-8" />   </system.web> </configuration> 


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -