Event Viewer Logs

how can I make a query in windows 2000 event viewer logs by asp?

View Replies


ADVERTISEMENT

IIS Logs

I've been examining IIS logs downloaded from my web host's server, and I noticed that entried that they should have been created by me going to my own site minutes before are not there. In fact, it seems the logs were way off timewise.

How does IIS write to logs? Does it keep a cache and then dumps it once in a while to the logs, or writes right away (the latter doesn't seem the case). I am concerned by this an other anomalies in which my hosting service seems involved.

View Replies View Related

Event Calendar :: Event To Be Highlighted

I currently have an event calendar that works fine so far.One thing i would like to improve is that when there is an event on that date,i wish it to be highlighted with a different color. Code:

View Replies View Related

User Logs

I have five forms in my website, what I'm trying to accomplish is to track the users history. For an example if the user save their information on the first page and exit the system; Whenever that user logs back in I want them to be where they left off. I hope I'm clear on what I need help with. Does anyone know how to accomplish this task?
P.s I'm using Deamweaver to create my page.

View Replies View Related

Logs The Datetime

I have a shopping cart that logs the datetime when a user logs in...

I want to run reports to see who all has been on in the last 90 minutes (or whatever my script specifies)

The problem is that I cant get the select statement down...

I would think it to be something like:

SELECT CompanyName, LastLoggedIn from LoginDB where LastLoggedIn > (LastLoggedIn -90m)

And obviosuly that doesnt work as the datetime field date is in the format:

1/21/2007 2:20:00 PM

View Replies View Related

Remote Truncating Of Logs

Every so often my database log files fill up and i have to truncate the file.

DBCC SHRINKDATABASE (database_name_here, TRUNCATEONLY)
GO
BACKUP LOG [database_name_here]
WITH NO_LOG

Any idea how I could run this? From an asp page...?

View Replies View Related

IIS Logs And Server.transfer

I am thinking of creating a custom 404 page which does a server.transfer to a variety of different pages. My question is what shows up in the log, which the web statistics are based on?

1. The non existent page, which is requested?
2. The custom 404 page?
3. The page it gets transfered to?

View Replies View Related

How To Read IIS6's Smtp Logs

i need to parse smtp logs to check the delivery status. from previous experience with smtp logs, i was under the impression that the log file followed a very specific format:

EHLO
MAIL
RCPT
BDAT
QUIT

in this case, however, i've got a log indicating commands being issued like this:

EHLO
EHLO
MAIL
MAIL
RCPT
RCPT
BDAT
BDAT
QUIT
QUIT

i have a separate list from a database of people i attempted to send emails to and need to try to look at each line in the smtp logs until i find a matching email address, then continue to read until i find a line that includes the string "+Queued+mail+for+delivery" or any of the other strings indicating the delivery status. however, given the odd sequence in which the mail commands are being issued, i don't seem to have any way of knowing if the delivery status notification line i'm reading really reflects delivery status info about the email address in question or if it's referring to one of the other delivery requests issued with another one of the EHLO commands. i've tried looking to see if there's something unique about the delivery status line to see if it's in some way associated with the RCPT line, but don't see any patterns:

2005-10-05 11:12:30 10.1.208.103 OutboundConnectionCommand SMTPSVC1 ACME -
25 RCPT - TO:<person@acme2.com> 0 0 4 0 50 - - ......

View Replies View Related

Picture Viewer

i would like to know where i could find a picture viewer that has a data base and shows thumbnails and when a user clicks on it the picture opens up bigger for the user.

View Replies View Related

Using Java Viewer

I have a web app that is coded in ASP and I use Crystal 8.5 to launch the report in a windows 2000 server.When a user launches the report it would crash the system stating 'would you like to report to Microsoft' the reason this error comes up is because the user has crystal report installed on their PC, and if you don't have Crystal installed locally then the report works.To resolve this problem I think I would need to use the Java Viewer instead.

View Replies View Related

Dynamic Jpg Viewer

I?m working on gallery working on flash .In order to show pictures in full size I like them to be opened in a new HTML page. the HTML page should have a special design (closeing button, logos etc.).I got no problem sending the picture URL out of flash to the server. The question is how can I send a design HTML page back to the user with the spesific picture in it?

View Replies View Related

NNTP Viewer

I would like to add usenet to a forum I have.Is there any tutorials that will show me how to download the NG data,etc. or even if possible a (free*) application to run it.

View Replies View Related

Crystal Rpt: Export To PDF Without Viewer

In ASP, how do we export Crystal Report dynamically to PDF without using any viewer in between?

View Replies View Related

External Viewer Application

i have an asp page to list the result of search page.when i click on a link(href) , which is a 3D CAD file located in a directory ,it should be opened in a new page.This page shld support a 3D cad viewer in built in it.how to inbuild a CAD viewer in the HTML page?and view the link in that page

the code goes like this :

<TD> <a href ="prev.html" target = "new window"> <%=Rs(k).Value %> </TD>

This Rs(k).value is a link to the 3D file (eg. "C:Directoryfile.dwg").When this file is clicked,the value of Rs(k).value has to be passed to the "prev.html" page and the file must be opened with "3D file viewer".How to inbuild the CAD viewer into my HTML page and how to pass the Rs(k).value to that page?

View Replies View Related

Inbuild An Application Viewer

how to inbuild a 3D CAD viewer in my html page?? I have a search page that results all links to CAD files.. hen i click on the link the hyperlink CAD file should open in a page that supports this viewer inbuilt in it.

ie) the CAD files cannot be seen otherwise without this viewer. itz similar to opening an image file in paint editor..which is in built in my web browser..so that when i click on the image file link, the page will open in that browser which supports the paint editor.

View Replies View Related

Session Retrieve Of Username Depending On Which User Logs Into The System?

I have my system set-up, where by when a user accesses the cms, a time stamp is added to the database. So we can keep check of when people accessed the system.

The added benefit of my addition, is that a session timeout is usable based on the inputted timestamp the user logged in. I added this functionaility because the system could be idle for some time and if so set the session to equal nothing or similar.

However what would be a nice feature of the cms is the display of the current user.

Below is code I have inputted to give some idea of what I am doing

Session("ADID") = objRS("adminID")
objConn.Execute("UPDATE tblAdmin SET adminLastLogged=now() WHERE adminID=" & Session("ADID"))

Session.Timeout = 30 ' 30 = Minutes

SO does anyone know how I can retireve the adminUsername based on the session used when loggin into the system.

View Replies View Related

Crystal Viewer Shows Blank Report.

I have an asp page that I use to build the sql criteria for a Crystal report version 10.

The report writer page takes the criteria and supposedly passes the sql string with a where clause to the page that hase the viewer. Here is the code where I pass that script to the report viewer page: Code:

View Replies View Related

Header Properties In The Crystal Reports Viewer.

I want to dislay a query from a database in asp, with the crystal reports viewer.

i can see the report in the CR viewer, but the headings are overlapping each other.

what kind of properties do you have for the report header? Or does somebody know the
sollution? Code:

View Replies View Related

Event Log

Is there a way to enter an error in the windows event application log.

View Replies View Related

Event ID 5

I have been looking for a solution on the web about the error we got in the following:

Script Engine Exception. A ScriptEngine threw
expection 'C0000005' in 'IActiveScript::Close()'
from 'CActiveScriptEngine::FinalRelease()'..

It looks like that many people have the same problem and no one seems to know why it happened and how to solve it. So far, I cannot get any useful and specific pointers/solutions on the web, not even on the Microsoft site. If someone has the same error and is able to fix it, please provide solution.

We are running Win 2000 server with SP4 and IIS 5.0. Our server is loaded with all the updated patches from MS. We are also using COM+ with IIS.

View Replies View Related

Onclick Event In <a> Tag

When i click a anchor tag which will shows a particular data from database and display it in same page using ajax. Code:

View Replies View Related

Event Handling,

Can you please help me with event handling (for eg: capture key press, mouse overs, mouse_over drop-down menu, on_click drop down box) in asp.

View Replies View Related

ASP Event Handling

I want to handle events of the AO Connection object in my ASP page. How can I do it?

View Replies View Related

Use Onchange Event

I wrote this code:
<%@ Language=VBScript %>
<%
Response.Write "<SELECT id=Customer name=Customer
onchange=""text152='abc'"">"
Response.Write "<OPTION value=1>One"
Response.Write "<OPTION value=2>Two"
Response.Write "<OPTION value=3>Three"
Response.Write "</SELECT>"
Response.Write "<BR>"
Response.Write "<INPUT type=""text"" id=text152 name=text152>"
Response.Write "<BR>"
%>

But change the SELECT,onchange event not been called

View Replies View Related

Event Be Controled

A button has to be clicked if a selection in drop down list has been changed. If not, a pop up message pops and reminds the user you need to click the button before continue. Can this be done in some ways?

View Replies View Related

OnChange Event

When a user changes the value in a select statement, I would like to update the recordset using a onchange event. Could someone please point me in the right direction? Would like to stay away from forms if possible.

<select style="width: 200px; font-size: 10px;" name="selStat" size="1">
<option value="<% = rs("Status") %>"><% =rs("Status") %></option>
<option value="CLOSED">CLOSED</option>
</select></td>

sql="UPDATE dbE SET Status = 'CLOSED' WHERE EMAILid = 25"

View Replies View Related

Sending An Event

Is it possible to send an event to an IIS/ASP application from an ActiveX/COM component? Assume that the ActiveX/COM is created when the Application starts (as an application scope variable initialzed in global.asa), and it is deactivated when the application stops.

What I need to do is to register an ASP function as an event handler with the ActiveX so that it can receive the event when raised by the component.

View Replies View Related

Session Off Event

I've got an ASP3 (IIS6) site, in which some scripts need to generate temporary files in order to work. Now, the fact is: I would like those temporary files to be deleted when a user's session ends (even though i've got infinite hosting space, i feel it somewhat impolite to leave GB's of useless temp files ;-) ).

The Session_OnEnd event, though, seems to have some problems in doing this:

1. I found in MSDN that it couldn't call Server.MapPath(). Not a big problem, I hardcoded the base path and everything should have worked well. 2. The FileSystemObject.DeleteFile() method, though, seems to suffer from the same problem: i get no error output on Session.Abandon() but the files are still there. Is there any workaround for this problem?

View Replies View Related

Onkeydown Event

Does anyone have any code or know of any code to check if a value entered in a textbox is a number using the onkeydown event. If not, I want to return an error message.

View Replies View Related

Event Change

I have been web-enabling alot of an access database with forms and asp. In the database, there is a field in the record stating weather it's open or closed. By default, the value is open. When the record is changed to closed, I want to have an email sent -- confirmation (record number and column values) page to the email address in the record.

I would like to have this automated and scheduled to run every night. It would go through the database to see which records = closed by "completed_date" type of thing. And each record that was closed have the email sent to address in the record. how this can be done?

View Replies View Related

Treeview Event

I have a asp.net treeview inside an updatepanel and I need to capture the right mouse click event. I have a context menu that will become visible on the right mouse click and I need to know what node was right clicked - can anyone give an example ?

View Replies View Related

Notify Someone On A Event

I'm working on an intranet and now i have a page call incident reporting. In this form, users will fill in a form for a particular incident and one person is responsible for the incidents posted.

is there a way to notify the responsible person that new incident has been posted so that the person can check for that?i mean some sort of message box that can appear or other method that can notify the person for that incident.

View Replies View Related

Call An Event

I have an ASP.NET application in which I would like to call my button click event on the page load if certain criteria are met. What is the correct syntax to be able to programmatically have my imgSubmitSearch button clicked? I tried the obvious, Call imgSubmitSearch, but intellisense doesn't like that due to the sender / e arguments.

Private Sub imgSubmitSearch_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles imgSubmitSearch.Click .

View Replies View Related







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