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

What is a global postback url?

0 Answers  


What are cookies in asp.net?

0 Answers  


What is a Windows Service and how does its life cycle differ from a standard EXE?

2 Answers  


what is caching?

4 Answers   Microsoft,


Differentiate between globalization and localization.

0 Answers  






If there are two web.config files in a application which config files will get priority?

5 Answers  


How Can assign alias name for ASP.NET Web API Action?

0 Answers  


if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.

0 Answers   Siemens,


What?s the difference between Response.Write() andResponse.Output.Write()?

2 Answers  


How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)

2 Answers  


What are validator? Name the validation controls in asp.net?

0 Answers  


what are grid events ?code for dropdown inside grid and binding dropdown syntax

3 Answers   Quantum,


Categories