Monday, April 04, 2005

Interview 1

how authentication is done by sqlserver


If user entered in ur webapplication,At very first time of login only he can access a one value of ur application (first time only that value is accessible).....

Ans : Application_onStart



You cannot use the virtual modifier with the following modifiers:
static,abstract,override


You are creating the 3 windows service 1,2,3 on one system.when you install using instalutil.exe on cmd mode,while 2 services installed successfully but 3 rd service throw the error exception,In this situation how many windows services installed on that system.....

None
1
2
3

Ans : Idk very sure.None is my answer coz if any exception occur in cmd mode while we installing windows service, Transaction Rolled back error msg wil be displayed.


How to debug the Windows Service????

In Web.config,which part u customized ur application error?????

How to Filter the rows in dataview???

DataView dataViewForRegion =dsReport.Tables[0].DefaultView;
dataViewForRegion.RowFilter = "RegionID='Chennai'";

another one

if Chennai is variable
dataViewForRegion.RowFilter = "RegionID='"+Chennai+"'";



If u are not using Codebdhind Technique in ur code,At that time wat r all the code shoul be there ???

Ans: Page_Load (Sender obj,EventArgs e)


what about DataSet1.Merge(DataSet2)

If exception occured in ur webservice's webmethod,What exception it wil throw???
Ans : System.Web.Services.protocol.SoapException


If u want to improve the efficiency of ur webapplication,What are all the Steps u have to take????

eg >>> set Autoeventwireup = false
set EnableSessionstate = false
set SmartNavigation = false

I give the connection Pooling size is 50.If 51 th request wil come what will happen???

Ans : throws the Exception (server application is unavailable)

No comments: