GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 91 of 161    Print  
If we remove web.config or machine.config from the application
then, Is this application will works?

  
Total Answers and Comments: 16 Last Update: July 23, 2008     Asked by: mdchaus 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
  Sorting Options  
  Page 1 of 2   « First    1    2    >     Last »  
December 07, 2005 23:35:10   #1  
Mahesh        

RE: If we remove web.config or machine.config from the...
No.I think the application will never work and there is a danger that some others applications might not work.Because the machine.config is the main file where u define the system settings.
 
Is this answer useful? Yes | No
January 13, 2006 08:21:03   #2  
sabir        

RE: If we remove web.config or machine.config from the...
frist of the webconfig will for a particlular web appln where as the macinre config for the whole system if ur gioing to remove the amchine or chaning the contents of machine config then the asp.net appln will not runif we r going to delete the web config then then that patriclar appln will not run
 
Is this answer useful? Yes | No
January 13, 2006 08:23:10   #3  
sabir        

RE: If we remove web.config or machine.config from the...
no it will not run web config will be for that paticlur aplln whereas the manchine .config will for the whole machine
 
Is this answer useful? Yes | No
January 19, 2006 02:04:47   #4  
Suresh P        

RE: If we remove web.config or machine.config from the...

If we remove the web.config file from the application it will work.

unless it doesnt have the things like connectionstring etc.


 
Is this answer useful? Yes | No
March 23, 2006 21:31:48   #5  
Ramadevi        

RE: If we remove web.config or machine.config from the...
No it wont work . And an error message will be displayed as Error while trying to run project:unable to start debugging on the webserver. The project is not configuredto be debugged. The web.config file contains nested sections marked by tags.It contains the <compilation> tag which marks the beginning of the <compilation> section.
 
Is this answer useful? Yes | No
July 20, 2006 02:08:54   #6  
charu        

RE: If we remove web.config or machine.config from the...

what ever rama devi has written is correct.


 
Is this answer useful? Yes | No
July 26, 2006 08:29:08   #7  
raja        

RE: If we remove web.config or machine.config from the...
If we remove web.config the application will work provided the application does not use any settings from web.config file.If we remove machine.config file no application in .net (i.e) neither windows nor web apps will work
 
Is this answer useful? Yes | No
August 22, 2006 09:34:39   #8  
Vishwanath        

RE: If we remove web.config or machine.config from the...

As per Ramadevi. This will give error if we use visual studio to compile the application. If we compile the application through comand prompt this will work in following conditions.

We should not depend on the web.config file for any reference.


 
Is this answer useful? Yes | No
September 27, 2006 20:19:44   #9  
Abhishek        

RE: If we remove web.config or machine.config from the...
if you remove the web.config file the website will still work. when you press F5 it will prompt you for the web.config file and if you press Crtl + F5 then it will not complile. It also will successfuly publish the site.
 
Is this answer useful? Yes | No
September 28, 2006 01:10:48   #10  
edara satish        

RE: If we remove web.config or machine.config from the...
no if we remove it wont work. Because the total progress and the compilation running of the application will be started from the web.config only. It contains the information like where the assemblies links or references are maintained and they start from this file..
 
Is this answer useful? Yes | No
  Page 1 of 2   « First    1    2    >     Last »  


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape