Hi, I know that above mention thing.....but I was asking that is there any way that we can access that identity which arrives to IIS. I mean, does IIS store some where the identity that comes to it from external hosts? If it so then how can we retrieve it? If it is not so, then it is obvious that we cannot get it....
Allah Kaa Bandaa
Posts
-
about getting current user Identity -
about getting current user IdentityIt returned null during run time.... its behaviour is same as that of Page.User.Identity Can you suggest any other... I will be waiting for your response..
-
about getting current user Identityhi all, I have created an aps.net application. In web.config file we have but we are not using authorization tag. also we have . We are also using the anonymousaccess and giving one local user in the fields of anonymous access. It is required for our application. Now my problem is that, i want the name of user who is accessing the application. for example, if a person accesses the application from a remote computer, then i need that the identity of that user is displayed. During current situation, when i use "User.Identity.Name", then on runtime, null is returned from this property. and when i use "System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString()", then on runtime, when i access the application from a remote pc,then the name of user given as anonymous access is display rather than the actual user. Can somebody help me how can i get the actual user name keeping the conditions mentioned in first paragraph as it is.
-
about data grid controlhi all, I am using a datagrid control to access diffent tables in the database.It is binded to the tables. My problem is that when i make some changes in some record and reload the grid, then the focus comes back to first record and i loose the way where i was earlier. Can some body how can i maintain the state i.e. how to remain at the record at which i was earlier.
-
cookie in window authenticationhi all, Can somebody tell me, what is the name of cookie that is made when we use authentication mode="windows" in web.config.
-
window.close()Actually , i am using the java script to close the window. But when it is called, then a prompt is made to user that this program is trying to close the window,Do you want to close it or not...... I want that this prompt is not displayed.... So i was asking that is there any such method available there using which i can ignore the prompt.
-
window.close()Is there any method in asp.net(C#). just as window.close() in javascript. I mean that is there any method in C# that can be used to close a window at runtime
-
about autherizationhi all, I am using following autherization in the web config file using following tags this works fine. But due to this , i am facing following problem... when i try to connect to a remote SQL server, where login id and pwd of user is given in the connection string , then i am not allow to connect to the SQL server, with exception "either sql server doesn't exist or access is denied". But when i remove the deny tag from above tags then the authentication works fine. Can some body tell me what's the problem there and how can i overcome this problem. The connection string i am using is following server=myserver;uid=testuser;pwd=12345;database=mytestdatabase;Integrated security=false it is to mention that, this user "testuser" has administrators rights on the sql server .
-
about java scriptI am calling a java script function on button click. This function closes the window. On runtime, when i press the button, a dialog appears asking me that program is trying to close window, do you want to close the window?... I want to ask that Can we restrict the dialog from appearing, that is.... when i click the button, then the window automatically will automatically close without any prompt?
-
about autherizationhi all, I am using following autherization in the web config file using following tags this works fine. But due to this , i am facing following problem... when i try to connect to a remote SQL server, where login id and pwd of user is given in the connection string , then i am not allow to connect to the SQL server, with exception "either sql server doesn't exist or access is denied". But when i remove the deny tag from above tags then the authentication works fine. Can some body tell me what's the problem there and how can i overcome this problem. The connection string i am using is following server=myserver;uid=testuser;pwd=12345;database=mytestdatabase;Integrated security=false it is to mention that, this user "testuser" has administrators rights on the sql server .
-
window authentication correctionyeah , it worked.... thankx
-
window authentication correctionHi all, i am using window authentication in my asp.net page. In web.config file i am using following authentication mode="Windows" authentication authorization allow roles="Administrators" deny users="*" authorization identity impersonate="true" here tag sign are not written here(because in that case data is not shown here in the forum) but are in present in the web.config, so ignore them here. i want that only the users in 'Administrators' group have access to the application and all other users are denied. But when i run the application then the access of all users are denied including the users in Administrators group. Can u tell me what is wrong in above settings. What should i do to allow access to users of administartors group while deny all others.
-
window authenticationHi all, i am using window authentication in my asp.net page. In web.config file i am using following i want that only the users in 'Administrators' group have access to the application and all other users are denied. But when i run the application then the access of all users are denied including the users in Administrators group. Can u tell me what is wrong in above settings. What should i do to allow access to users of administartors group while deny all others.
-
user authenticationHi all, I have an asp.net web applicataion using C# as code behind. Currently it uses the active directory to authenticate the users. Now i want to chane this..... I want that the application now uses the adminstrator group or some other group on the local server on which application is installed. How can i do it... can some body help me by provide piece of code or by giving link or some url .... I need urgent help.........
-
about loading pagehi all I want to display different data in a table at runtime.This table contain three columns. Id being the first and name being the second column. Third column is used to display a page whose link is loaded from database. All data in the table is loaded on runtime and table is also generated at runtime using C#. My problem is that, when i use the tag to display the page in the third column, then in the first row data is loaded fine. But in subsequent rows only the data in third column i.e pages ( using <iframe) ) are loaded fine but data in other rows is now displayed( i mean id and name). rows are not displayed.only straight lines of columns are displayed for first and second columns. But for third column all rows are displayed fine... but when i use <img> tag then all thing happend displayed in desired order in the table. since i want to display page not the img so <img> tag is not my requirement. Can somebody tell me how to complete this job using either <iframe> or some other tag. </x-turndown>
-
about computer in a domainhi all, I want to display a list of computers available at that domain at runtime. So that user can select computer name from it..... Can some body tell me how to do it....... Also can i restrict this list according to some criteria. For example, this list only display the computer names which have some specific application installed( e.g dot net frame work etc. ) I need urgent help, if some body can help me, i will be very much thankful to him.
-
about IIShi all, I have and application installer which installs an application in the wwroot directory. This installation works fine on one computer. but when i instals this application on the other computer, then no directory is made in the wwwroot directory.... but in contolpanel-> add remove programs.. entry is present showing that application is intalled correctly..... i checked the iis by writing http://localhost ,but i got the error " this page is under construction" .... Can some body tell me what's the problem there and how to solve it.... without uninstalling/reinstalling IIS....
-
about making setup project of window servicesHi all, I have a solution in which different projects have been added. Among these project there r there windows services. Now i want to make a setuup of these window services so that it can be installed on desired computer. I want that this setup program install the three services on the desired computer, make a shortcut in the start->programs and also show an icon in the system try so that we can use this icon to start and stop the services....... Can some body tell me, how to make this project.... Which files to be added in the setup project etc..... i am waiting for a quick response......
-
About BiztalkHi all, I have an application which create policies and rules in biztalk server using biztalk APIs. Now I want to copy the policies and rules made on one server to another server on which application is now being installed. Can somebody tell me how can i do this.....
-
urgent ( about window services)hi all, I have an application, where there is a service manager which is responsible for controlling three services. The three services (which r controlled by service manager) have exe files. I have installed these three services using the installutil.exe . Now, i cannot install the service manager in the same way as I installed the three services because service installer is not present for the service manager application. What i have to do now, Should i add installer to the service manager application and install it using installutil.exe....... if, so , how are the other three services controlled by this application.......