Hi Every body,
By the Grace of God i create my first Website and i published on Net and i create Database also
My Question is it is neccessary to have customError tag in web.config beacuse when i type my website url i got is error that customErrors mode="Off" and one more thing in web.congif only i write the Configuration setting like this
in server i change the database name, userid,password and server="localhost" i don't know wether this is right or wrong i am very much confuse with server
please help me so that i can see my website
again i will that i got the message
Server Error in '/' Application.
below this they show customError mode="off"
please help me by telling excat what are the changes i have to made in web.config file on the server
Roei BarPosted Aug 4, 2009, 4:22 AM
About Your Connection String, it is highly reommended that you do not use Localhost, i highly recommend not to use DNSName also, but only IP Address since the IP wont need to be resolved (Access Time to the DB is faster).
about UserName and PW, highly recommended that in Production Enviorment you use an Application User that has no permission other then run Stored Procedures in order to maintain Security
Niradhip ChakrabortyPosted Aug 4, 2009, 3:40 AM
You need to give proper servername ,databasename , userid and password in connection string in server.
Open Sqlserver in server and try to connect once to check whether the informations are correct or not.