asp.net - Server Error in '/' Application -


after searching question's answer stack overflow , other forums going ask myself, may 1 can guide me , make way easy asp.net programming.

i have issue saving values live website database time got error.

description: application error occurred on server. current custom error settings application prevent details of application error being viewed remotely (for security reasons). could, however, viewed browsers running on local server machine.

details: enable details of specific error message viewable on remote machines, please create tag within "web.config" configuration file located in root directory of current web application. tag should have "mode" attribute set "off".

i have tried view putting mode=off in web.config unable view details of error.

here web.config

<?xml version="1.0"?>  <!--   more information on how configure asp.net application, please visit   http://go.microsoft.com/fwlink/?linkid=169433   --> <configuration>      <system.web>       <customerrors mode="off"/>       <compilation debug="true"/>       <authentication mode="none"/>     </system.web>   <location allowoverride="true">     <appsettings>        <add key="#" value="password=#;persist security info=true;user id=#;initial catalog=#;data source=#"/>      </appsettings>   </location> </configuration> 

i have tested database , connection string on live database using local solution of project when ever tried test using live server arvixe unable.

my fellow suggest me use

<connectionstrings>     <add name="#" connectionstring="data source=#;initial catalog=#;integrated security=true" providername="system.data.sqlclient"/>       </connectionstrings> 

but not working live server. using app settings connection string , confident because working fine local , live database.

i request developers test online quran reading page , try figure out.

if you're using sql express, try connection string

data source=.\sqlexpress;database=dbname;user id=abcd;password=xxxx;

as far know integrated security=true works windows authentication. if want use option change <authentication mode="none"/> <authentication mode="windows"/>.

if using sql server, may try following connection string

standard connection string

server=myserveraddress;database=mydatabase;user id=myusername;password=mypassword;

trusted connection

server=myserveraddress;database=mydatabase;trusted_connection=true;


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -