Event Viewer Logs
how can I make a query in windows 2000 event viewer logs by asp?
View Replieshow can I make a query in windows 2000 event viewer logs by asp?
View RepliesI'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.
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 RelatedI 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.
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
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...?
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?
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 - - ......
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 RelatedI 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 RelatedI?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 RelatedI 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 RelatedIn ASP, how do we export Crystal Report dynamically to PDF without using any viewer in between?
View Replies View Relatedi 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?
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.
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.
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:
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:
Is there a way to enter an error in the windows event application log.
View Replies View RelatedI 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.
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 RelatedCan 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 RelatedI want to handle events of the AO Connection object in my ASP page. How can I do it?
View Replies View RelatedI 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
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 RelatedWhen 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"
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.
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?
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 RelatedI 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?
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 RelatedI'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.
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 .