what if we delete web.config or machine.config?

will a website work if we delete webconfig....or if we
delete machine config?

Answers were Sorted based on User's Feedback



what if we delete web.config or machine.config? will a website work if we delete webconfig....or ..

Answer / neha

If we are not using any values in config file then it wont effect the website,connestionstring can be given in sqlconnection object not necessary to take it from config file

Is This Answer Correct ?    10 Yes 3 No

what if we delete web.config or machine.config? will a website work if we delete webconfig....or ..

Answer / gaurav

by deleting the web.config or the machine.config files will
definitely create compilation errors because it's the config
files where you specify the settings. Web.config files is
not only for mentioning the connection strings but it's
implementation is more than that.

Is This Answer Correct ?    3 Yes 1 No

what if we delete web.config or machine.config? will a website work if we delete webconfig....or ..

Answer / guest

if u access the database then your website wont work.....

Is This Answer Correct ?    0 Yes 6 No

what if we delete web.config or machine.config? will a website work if we delete webconfig....or ..

Answer / giri

Yes if u delete web.config then ur application automatically
creates the web.config file and executes

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More ASP.NET Interview Questions

Write a code for sending an email from asp.net application.

1 Answers  


Give 2 examples for scenarios when routing is not applied?

1 Answers   NA,


What is an assembly? Explain its parts.

1 Answers  


What is the answer for "Which configuration Tool your using means" ? we have to tell about IIS or .Net Framework or VSS? Give me in brief ?

3 Answers   eXensys,


How to bind all the binding controls in a page at once in ASP.NET?

1 Answers   Viscus Infotech,


what cut off mark for po's,what questions they asked for interview?

1 Answers  


What is the syntax for datagrid and specifying columns?

1 Answers   Microsoft, SF,


What is the difference between ASP.NET Webforms and ASP.NET MVC?

1 Answers  


what is assembly?

4 Answers   Microsoft,


Explain exception handling in .net.

1 Answers  


What are the types of authentication in asp.net?

1 Answers  


What are the different ways of processing data in ASP page in the server side (like Forms, QueryStrings etc)?

1 Answers  


Categories