Security :: Read Remote Machine Event Logs?
Nov 23, 2010
I am working on an application to read event logs on a remote machine. I tried adding this to the web.config
<identity impersonate="true" user="domainuser" password="password" />
However, when I ran this, I got the following error:
Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'Logon failure: unknown user name or bad password.
I looked at this post
[URL]
It seemed to suggest I would need to create a new account on the remote server. Is there a way I can just use an existing domain account?
View 2 Replies
Similar Messages:
Nov 4, 2010
I need to write an application that retrieves entries in the MMC event logs (application, system and security events) and would like to do so in ASP if possible. This is an internal application. Someone told me to use PowerShell.
Is it possible to do this in ASP (and use PowerShell) or do I need to use some other tools? I would like to retrieve events into a DataGrid etc.
View 3 Replies
Sep 8, 2010
i'm using ASP.NET membership for a silverlight application that makes use of Wcf Ria Services.
my problem is that i don't want multiple logins on the same account and i need to logout the user when he logs in on another machine. (I don't want the account to be used by many people at the same time, and the last who logs in must kick out everyone else)
View 4 Replies
Jul 26, 2010
How to set the path to read the file which is in remote machine and display it in TEXTBOX in web browser.
View 2 Replies
Oct 25, 2010
I'm using VS2010 and need to give my remote server asp .net account (IUSR_istereos) access to my local intpub folder
how do I do that?
View 5 Replies
Jun 9, 2010
i have created a bat file to run the aspnet_regiis exe to encrypt the connectionStrings of web.config file on the remote machine. the same is working when i ran the file on remote machine itself. but is it not working when i call it from another bat file from my local machine which is shared with remote machine. my code loos like:
<remote_server><frmaework_path>aspnet_regiis.exe -pef "connetionStrings" <remote_server><physical_path_application>
<remote_server><frmaework_path>aspnet_regiis.exe -pa "netfrmaeworkconfigurationkey" "ASPNET"
View 2 Replies
Mar 26, 2010
I am creating a folder on remote machine,for that folder i gave acces permissions. even though when i submit my form it is giving below error.
No accessible overloaded 'SqlCommand.Transaction' is most specific for these arguments: Public Sub set_Transaction(value As System.Data.SqlClient.SqlTransaction) Public Sub set_Transaction(value As System.Data.Common.DbTransaction)
View 2 Replies
Mar 25, 2010
I want to make a overview on a asp site where it tells me who is logged in on a specific xp machine.
In other words, how can I retreive the logged in username on a remote xp machine by asp .net code?
View 4 Replies
Jul 16, 2010
filetoread = Server.MapPath("\servernamesharefile.csv")
filestream = File.OpenText(filetoread)
readcontents = filestream.ReadToEnd()
It works fine if I put the file in the local directory and use "filetoread = Server.MapPath("file.csv")", but won't do it over the UNC path.I'm guessing the problem is security related but can't find any info related to it, do I need to somehow specify a username/password somewhere ?
View 3 Replies
Nov 23, 2010
I have my GUI files published on a server... this server is where the IIS is running..
Now i access my GUI from a remote machine. how can i get this machines IP address or username.
I get the server name of the machine using this code:
string svrName = System.Net.Dns.GetHostName();
there are 2 machines A and B.. A is where i have my published files for the GUI and also the IIS... the above code gives me the name of machine A
now i call the GUI from machine B. and i want the name of machine B
View 2 Replies
Nov 15, 2010
I want to access some places on a remote machine.The folder i want to access have full control to EVERYONE. The code given below is used to access network path.
[code]...
The application run fine if both the host computer and the remote computer to be accessed having os windows xp .The application also run fine if the application is running inside visual studio .
Then my problems is ,any one of the machine( server and remote machine)having an os newer then windows xp( like windows 7, server 2008) locationInfo.Exists always false.
View 2 Replies
Jan 14, 2011
I am working with SFTP applications also i am having one scenario. I have to search particular format files from remote machine and also need to store or copy the corresponding files into local system.
We are using user credentiaal to connect with remote machine
How could we achieve the scnenario.
View 3 Replies
Dec 27, 2010
We have staging server and production server for website. We will move the changes from the staging server to the Production server through the FTP.
Since we have the product release for every 3 months. So, we need to redirect to the latest version in the Production server IIS. Is it possible to access the Production server IIS and redirect the web site link from staging server ?
View 2 Replies
Jun 1, 2010
I'm trying to deploy a website stored on a network shared storage. My problem is that I am unable to load assemblies that reside on the remote machine.I load some assemblies by using
assembly = Assembly.LoadFrom(Uri.UnescapeDataString(new UriBuilder(satelliteExpectedLocation).Path))
where the satelliteExpectedLocation is in the form "file:\10.0.0.85 mpappinMessages.resources.dll".
I got a FormatException on this one, so I modified the path to read "file:////\10.0.0.85\tmp\app\bin\Messages.resources.dll"
Now I get a "System.IO.FileNotFoundException".I read on MSDN that the "File" scheme is to be used for resources on the local machine. But how should I get the resources on the network share?
View 2 Replies
Jan 10, 2011
I am able to create Virtual Directory on local machine, but I want to create it on a remote machine.
View 2 Replies
Mar 7, 2011
I need to do something when the user logs out. I have used ASP.NET Forms Authentication.
What should I override or implement?
I have an ASP.NET login control and I want to empty the basket-viewer when the customer logs out of the system.
View 2 Replies
Aug 29, 2010
I have a asp.net web app and a windows service running on separate machines. How can i enable the windows service subscribe/listen to events raised by the asp.net app on the remote machine? What methods can i use?n example of events that can be raised on the asp.net app is a user uploading a file. Once the upload has completed the windows service should be notified so it can do some work. It seems that there needs to be a layer in between asp.net and windows service, possibly another windows service or WCF app? Or plain old polling through a shared database containing the state?
View 1 Replies
Jan 6, 2011
I have log files in different machines. Now i am developing a web page in my development machine (Windows XP, IIS 5.1 installed). In the web page i want to give a link(may be hyperlink or linkbutton). On clicking the link it should access the log file in the particular machine and it should give a popup with open and save option as given in the normal web applications. I am using the following code snippet but its throwing error "Cannnot resolve the URL"
Response.ContentType = "text/txt";
Response.AppendHeader("Content-Disposition", "attachment; filename=log.txt");
string str = ResolveClientUrl("\ip address\FolderName\logs\log.txt");
Response.TransmitFile(str);
Response.End();
Here FolderName is a shared folder in the machine(which ip address is mentioned).
View 3 Replies
Feb 7, 2011
really it's a crucial point for me, my quastion is :
How upload file in remote machine (LAN) using Flajaxian FileUploader.
Env : C# , ASP.NET , VS .NET 2005
View 1 Replies
Dec 7, 2010
My project is running with VSS..I have it's IP Address to connect it. There is a folder "DataShare" in VSS for my project. My task is, i need to upload a document(*.doc) from my Local drive to VSS Folder "DataShare" with FileUpload Control How should i do this?
View 2 Replies
Sep 30, 2010
I have some shell scripts on a Windows 2003 server. These scripts process some flat files and upload data to Oracle using sqlldr. Currently I'm using telnet to go into the box and run each of these scripts manually. Is there a way that these scripts can be run from a ASP.Net/Winforms application?
View 1 Replies
Dec 22, 2010
I have a project that must illustrate that connection to the database is not locally, so I have install VirtualBox and I intend to install SQL Server on it. So any one have the idea of how can I connect from the Host Machine to the SQL Server located on the Virtual Machine
View 3 Replies
Sep 26, 2010
I want to log out the user when he (or someone else) logs in from a diferent computer using the same user name.
Basicaly i want to prevent multiple individuals from staying loged in under a single user name by signing out the previous users. Any ideeas about how i can acomplish that ?
View 8 Replies
Sep 7, 2010
I have a bug in which, whenever an error occurs the user seems to get logged out. After much research I find that the situation is not so simple:
(note I have dumbed these down a bit to make it easier to follow)
Web.config - I turn on Custom Error Mode
View 1 Replies
Mar 22, 2011
I need to show the user a different page when he loggs in for first time alone..
How can i do this..
View 3 Replies