Monitor/logging Who Signs Into The .netapp

Feb 6, 2011

I want to have a log file keep rows of who logs in and timestamp. is there a place to do this? And what sort of code is needed?

View 2 Replies


Similar Messages:

C# - Threading Problem With Monitor.Wait () And Monitor.Pulse ()?

Oct 18, 2010

I have a producer-consumer scenario in ASP.NET. I designed a Producer class, a Consumer class and a class for holding the shared objects and responsible for communication between Producer and Consumer, lets call it Mediator. Because I fork the execution path at start-up (in parent object) and one thread would call Producer.Start() and another thread calls Consumer.Start(), I need to pass a reference of Mediator to both Producer and Consumer (via Constructor). Mediator is a smart class which will optimize many things like length of it's inner queue but for now consider it as a circular blocking queue. Producer would enqueues new objects to Mediator until the queue gets full and then Producer would block. Consumer dequeues objects from Mediator until there's nothing in the queue. For signaling between threads, I implemented two methods in Mediator class: Wait() and Pulse(). The code is something like this:

Class Mediator
{
private object _locker = new object();[code]....

Inside Mediator I use this.Pulse() every time something is Enqueued or Dequeued so waiting threads would be signaled and continue their work.But I encounter deadlocks and because I have never used this kind of design for signaling threads, I'm not sure if something is wrong with the design or I'm doing something wrong elsewhere ?

View 6 Replies

Logging From Framework Internals (Logging.On) - How To Turn On Logging

Jul 6, 2010

I'm debugging some unexpected behavior and while tracing in to the .NET framework I see a bunch of stuff like this:

if (Logging.On) {
Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_n_certs_after_filtering, filteredCerts.Count));
...
}

But (as expected by default) the execution steps right over these. Is there some way to turn on the logging? Or is that just something that the framework developers can do while making special builds of the framework?

View 1 Replies

Performance - What Logging Listener Should Be Used In Production ( Logging Application Block)

Sep 10, 2010

I'm using MS Enterprise Logging Application Block in an ASP.NET website.

For production launch, I will set up a log listener in one of these locations:

Sql Server database
Windows event log
Text files

Which has the least impact on performance?

NB - I can't switch to Log4Net or ELMAH at this point, so don't suggest that in your response.

View 3 Replies

Enterprise Library Logging Not Logging To Event Log?

Jun 3, 2010

I spent a day trying to make Ent Lib Logging work and log anything into database or event log. I have a web application and console application with the same Ent Lib config but only the console application is capable to log into the Event Log. I tried everything with permissions but I don't know what exactly I am doing — which services should have what. It does not work!

I read articles like this[URL] and I want to try to give the ASPNET account those permissions. I am using Windows 7 and I cannot find ASPNET user account. So where is it?

This is the config file which is automatically generated from Ent Lib utility and it works only on App.config, not on web.config:

[code]....

View 4 Replies

Security :: Logging In, Logging Out And Still Logged In?

Jan 12, 2011

I think my subject line explains my problem in a nutshell.. I have a login page, I login like I should and everything works.I logout and when I type/paste the address to the page, in the address field, I still reach it just like if I was still logged in..The page I type in the address field is in a subfolder, only suppose to be able to be reached by logged in users and in this folder,ith it's own web.config-file:

<?xml version="1.0"?>
<configuration>
<system.web>

[code]...

View 9 Replies

Sql - Pound Signs (£) Disappearing From Strings?

Jul 22, 2010

I'm usually a LAMP developer, but some .NET work has arrived on my plate and I'm a bit stumped.

If I run the following code:

<% poundsign = "£" %>
<% Response.Write poundsign %>
<% Response.Write "£" %>

... nothing is displayed. However, outside of the <% %> tags (ie in the HTML) £ displays correctly.

I have no trouble displaying the usual alphanumerics, it's just the £ sign that is proving problematic. The underlying file is in Windows 1252 encoding, and I need to serve it as such. If I save the file as UTF-8, I get mojibake instead of a £.

what I can do to make this work, or any settings that might be preventing it from working (other than saving the file in a different format)?

View 4 Replies

Web Forms :: TreeView Don't Want Plus / Minus Signs

Apr 21, 2010

I Have a Data Bound TreeView.

I want the parent node value node to expand and view Cild nodes,

I would not have plus or minus signs or arrows or something like that.

View 6 Replies

Storing Equal Signs (=) In XML Documents?

Sep 10, 2010

I'm facing a problem that Google couldn't solve yet!I'm trying to store URLs in an XML file. Problem is that these URLs contain Equal Signs (=) in them. And that generates an error.Here is my code: (**token is a variable that contains the URL)

Dim child As String = vbCrLf & "<Link URL='" & token & "'></Link>"
Dim fragment As XmlDocumentFragment = doc.CreateDocumentFragment
fragment.InnerXml = child

The error message: (Error line and position are meaningless here) '=' is an unexpected token. The expected token is ';'. Line 2, position 133.I've replaced all '&' symbols with '&' in case they were the ones causing the error, but no luck so far.

View 3 Replies

Create A New Database When A Company Signs Up To Site?

Jul 19, 2010

Is there a way to be able to create a new database when a company signs up to my site, and be able to use that database when he/she logs in, so for example if company A logs in he uses CompanyA database and if company B logs in he uses Company B database, now they all have the same table structure, just need to figure out a way to use a specific database depending on the user that logs in.

View 2 Replies

Remove Alle Strange Signs From Text?

Feb 26, 2010

How can i remove all strange signs from a string.Is there a solution for in stead of manually replacing everyting?

View 11 Replies

Trying To Send An Email Confirmation Once A Customer Signs Up?

Jan 28, 2010

Im currently trying to send an email confirmation once a user signs up. Ive looked at links already on the asp.net forums and have had no luck getting it to function. My Sign up page reads data to a SQL Server correctly, what im trying to do is when they click BtnSignUp they will automatically be sent an email confirning that they registered. within my database I have a table "tblUser" and the field within it are "Email" "Password".

View 3 Replies

Automatically Create A Profile For User That Signs Up?

Jan 14, 2010

I am building a social networking site for employees and where an employee can sign up and create a profile and enter job employment history, interests etc. into text boxs and a aspx. page will be created showing all their details. Then in a data grid a preview of their profile would be shown allowing a user to click on that field which would direct them to that persons profile.

I am finding it hard to find information on how to automatically create a profile for each user that signs up.

View 1 Replies

ADO.NET :: Entity Framework - Allow Dollar Signs For Decimal Types?

Sep 5, 2010

Using ASP .Net 4.0,Entity Framework and EntityDataSource.

I have some currency fields that are defined as Decimal. I would like to allow the user to enter a (leading) dollar sign in these (TextBox form fields). Although, when the EntityDataSource goes to save the changes to the datbase, it throws:

Error while setting property 'QuotedMaterial': 'Cannot convert the value of parameter 'QuotedMaterial' to the type 'System.Decimal'.'.

Does anyone know how I can "tell" the EF to allow dollar signs and convert (drop) them accordingly? I am trying to avoid creating my own Data or Business Logic layer for this particular application. I would like to stick with the EntityDataSource and other
"built in" controls to minimize the C# code behind as much as possible.

I guess my only alternative is to deny $ (Dollar Signs) (and commas too for that mater, it doesn't like them either). The problem is I am porting a legacy application and I would like to keep it as close to the original as possible (and they are currently
allowed to enter dollar signs in this application). You see, they use copy/paste for data entry quote often on this particular form and it just so happens that the source data (they are copy/pasting from) always has a $ in it...

View 3 Replies

Security :: Remove The Cache Of A Page After The User Signs Out

Jan 21, 2011

I have an ASP.NET website in which the user has the Login/Logout functionality. There are some pages which are viewable only if the user is logged in. Now, after the user signs out, I noticed that the user is still able to see this restricted page on pressing the back button. I want to create the functionality such that once the user signs out, the page should not be viewable. How can that be done?

P.S I am not using built in Login controls in ASP.NET

View 2 Replies

Can Monitor Who Uses The C# App?

Jan 17, 2011

I have a small app that is used to register users to the system. I am interested in having a log that will tell me, who - userid that logs in, what they do, how long. meaning, the rows they look at or update. I suppose to make a small table for this logging. lets assume a small table with only 2 columns, timestamp and the userid. It would be good to get some kind of ip address for identity.

the other parts will begood to know and interesting to learn how to code but less critical.

the signon.aspx you can see here. Is this where to code

<%
@
Page
Language="C#"
AutoEventWireup="true"
CodeFile="SignIn.aspx.cs"
Inherits="SignIn"
%>

View 3 Replies

Web Forms :: HTML Page Scraping - Picks Up The Values Between The Tag But Not The Signs In Front Of It?

Jul 29, 2010

I seem to be having some challenges with the data I am retriveing from a Webpage using the Webclient class. The code works fine, however I observe that the regular expression is not picking up the negative or positive sign in the Daily_Movement data. For example, a daily movement can be -0.31 or +0.31 but the code is not picking the sign in front of the decimal values.Here is my code

[Code]....

I think where the problem lies is the part of the code Regex r1 = new Regex("<span class="quoteData">.*</span>"); It picks up the values between the tag quite well, but not the signs in front of it. [Code]....

View 6 Replies

SqlDependency / Want To Use It To Monitor Several Tables (around 10)

Aug 6, 2010

I'm using SqlDependency to control my cache. I want to use it to monitor several tables (around 10). There should be one SqlDependency per watched table.

Should I create for each of them code like that:

public void CreateDependency_Table()
{
if (connectionStringSettings != null) [code]....

or can I reuse something between them? Like connection?Is this the preferred way of setting multiple notifications?

View 1 Replies

Monitor All The The Works Done By The User

Jan 3, 2011

i have one software in asp.net..once the user login to the software.then only user can acces the desktop and i want to monitor all the the works done by the user in my asp.net software .

View 3 Replies

WCF / ASMX :: Use WCF To Monitor A Folder?

Jul 18, 2010

I'd like to use WCF to monitor a folder. WCF need to pick up and process the file if there is a file dropped to the folder. Is there a way to do so?

View 1 Replies

Monitor If Production Application Is Resetting On Its Own?

Dec 21, 2010

Can I objectively determine if my production ASP.NET web application is resetting its application pool? It could be for whatever reason (for example, an error occurred or memory topped off). I don't have direct access to my production servers, so when I want something on the server, I have ask specifically for it like PerfMon counters to run. It is a running IIS 6.0. I understand that I could use PerfMon to catch ASP.NET Application Restarts. If I was not monitoring that PerfMon, is there anything that can tell me the application restarted sometime in the past?

View 2 Replies

How To Monitor All Incoming HTTP Requests

Dec 13, 2010

I need to monitor my application from incoming http post and get requestf originating from outside and sometimes inside the machine.

Is this possible?

Been using fiddler but this only does outgoing not incoming (from outside the machine) or have I configured it incorrectly?

This is for my web app that is meant to be receiving a POST from an external server.

View 6 Replies

Monitor A Windows Service Using A Webpage?

Feb 14, 2010

I have built a web page that does a complex processing, and I realized recently that I need to convert it to a windows service running at the background and keeping the web page for monitoring and initiating the service.

The service will process some files, and provides information messages to the user.

I'm not sure how to implement the link between the windows service and the web site, but i was trying to avoid using MSMQ to connect both application together.

View 1 Replies

Start / Monitor An Application Through A Webpage?

Feb 24, 2011

I would like to create a webpage that will be able to monitor if an application (process) is running.

I would also like the ability to start an application (process) if it is not. Where would I even start?

View 4 Replies

Use Process Monitor To Determine Which DLL Is Causing A BadImageFormatException?

Mar 8, 2011

I have a large web application, which is supposed to run in a 64 bit process. However, when I set "Enable 32-bit Applications" to False on my App Pool, I get the following error trying to run the app in IE:

is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

The application name at he beginning of the error message is missing, i.e. I have not lost it during copy and paste.

I have been advised to use Process Monitor to determine which application/DLL load is actually causing the error, but I have no idea where to start with this.

EDIT: I have tried filtering Process Monitor on only w3wp.exe and only file system and process events, but simply attempting a navigate to the root URL yields 34,012 events.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved