Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




LOCAL MACHINE


have an SQL DB which clients access via asp pages through the internet, in the case of a power outage I need to write that data automatically in the background to a txt file on their local machine, I would imagine it would involve a script of some kind.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Using ASP On IIS (Local Machine)
I would like to evaluate some shopping cart software to use on my next project. I am new to asp and as yet my hosting does not support it. Before I go ahead and upgrade my hosting I wanted to see how the various packages work.

I am running XP Pro SP2 and have installed IIS. The folders seem to be where they should be and I have access to the settings through the Administrative Tools.

When I put a htm file in the wwwroot folder it loads fine if I type http://localhost but the asp files are either downloaded or opened in dreamweaver.

Do I need to do something special to enable asp files to open on my local machine??

On My Local Machine.
I'm not a networking/IT guy, but I was put in charge of figuring out how to use ASP to tap into an Oracle db for my office. I am using a windows 2000 laptop, and I want to be able to run ASP code on my local desktop (without being plugged into a network).

I need a lot of help here. I know I have to turn my computer into a webserver, but I'm not certain what I need to do with the IIS. What do I need to do in general to make my computer a webserver? In addition, I will be using a local Oracle database. So I wasn't sure what I would need to do to make that db available for querying with ASP. What is the best way to make that connection?

Anyone who can point me to useful documentation.

Displaying .asp On Local Machine
Am I now setup to view .asp on my local machine, or do I have to "upload" the pages to IIS? If the latter, how do I do this?

Can't Run Website On Local Machine
I copied one of our websites to a CD and wanted to run the website off of the CD. However, it won't run the index.asp on Windows XP machine. Do I need to install some dll's or something?

Viewing ASP Files On Local Machine
I'm using WinXP Professional SP2, I've installed IIS, but am having a problem viewing the temp version of the ASP file IE makes when you go to view an ASP page.

So, I hit F12 to bring up IE and my ASP page, IE generates a URL something like, http://localhost/MyWeb/ACEI/TMP91g0dk4dw.asp ... but that always comes back as a "File Not Found" error, however if then I replace the TMP91g0dk4dw.asp part with the actual file name e.g demo1.asp..the page runs fine.

Testing Email From IIS On Local Machine
I have written an asp page that is supposed to send email (using CDONTS). I think my code is correct, but I'm trying to test it from my local machine and although the ASP code runs I am not sure the email portion of the code works.

I have not yet received any messages from the code. Perhaps there is a delay of some sort - or perhaps it is because I am on a network behind a firewall. Whatever the case, could someone offer some suggestions in testing the emailing portion of my code? Code:

File From Local Machine To Server
im trying to create a intranet site which copies files to the server. im guessing i should use filesystemobject to achieve this but im not sure on how to accompish this.

Cdo Multiple Attachments From Local Machine
I have a cdo script to send an email from a web page hosted externally to my company. I want users to be able to attach multiple documents from their local machines.

How do I do this - do I need to upload them to the server first or does cdo do this automatically?

I tryed this: MyMail.AddAttachment "F:/images/test.gif" but get the error: 'The system cannot find the path specified.'

Test My ASP Applications On My Local Machine?
Quick question - I would like to practice my ASP scripting and wish to be able to test my applications on my web browser on my local machine.

What piece or pieces of software would I need to enable this? I have Macromedia Studio MX and Edit Plus which I assume will act as suitable editors for ASP scripts?

Is it only some kind of Personal Web Server software that I will need to run my scripts on my local machine?

Write Text Files To Local Machine
I need to know how to write a text file to a local machine. Here is my code:

Set myFSO = Server.CreateObject("Scripting.FileSystemObject")

Set WriteText = MyDrive.CreateTextFile("C: est.txt", True, False)

Right now it writes the file to the C: drive on the server.

Copy File From Local Machine On Server
I have one .asp page with form and <input file> field on it.I want to copy selected file from local machine on server.But it doesn't work.

Should I use some component?

Copy Files From IIS Image Path To Local Client's Machine
explain abt copy files from IIS image path to local client's machine.

Security :: Prevent Users From Submitting HTML Pages From Their Local Machine
I am trying to prevent users from submitting HTML pages from their local machine to our website and I was wondering what the best way of doing this was.

I was thinking about using the HTTP_REFERER server variable (to check where the user has submitted a page from) as a blanket fix however when you use the javascript document.location on a page the HTTP_REFERER is always blank, which makes that a flawed fix.

I have seen other sites protect against this, so I know it can be done. Whats the best way.

Local Machine Time To Eastern Time
How will we convert the system date & time to other timezone for eg: Eastern Time zone using ASP?

64 Bit Machine
Can I run my asp applications on a 64 bit machine?

Passing Machine
I have a request from a fellow conrtractor (differnt company) to have a form pass the users IP and machine name upon submission. I know that request.serverVariables("remote_addr") and request.serverVariables("remote_host") will yield the users IP but do not know of anything that will pony up the machine name.
I contend that under normal circumstances a browser doesn't have access to the machine name for user security reasons but my friend doesn't agree and insists it is "somewhere in the envirnment information." He may know something I don't but he doesn't know enough to show me how to extract what he wants in the form.
Further information: we are working on a Microsoft Active Directory network. This may provide some mechanism to pass that information.

Why I Can't See Mtx.exe In The Romote Machine?
I've set up remote debugging following every step in the manu from
microsoft. However, I can't see mtx.exe process in romote machine,
instead I only see inetinfo.exe. I attached to it and it seem works OK
except that I can't set up any break point in any inc file(include
file). I can use the command stepinto from an asp page to get to inc
code, but I the process never stop at the break point I "set up" before
I start the debugger or in the debugging process.

Can anyone help me what went wrong? or just tell me that is about what
interdev debugger can do.

By the way, I use NT on server and client is a window 2000
professional.

Username And Machine Name
how to insert the current user's username and machine name into a couple of textboxes to be inserted into a form. I'm creating a work order system and I would like the form to be prepopulated with this information.

Post From Machine
Here's my dilema. I have a Classic ASP site and I need to receive transactions from a little card reader over the Internet. The reader willbe sending:

MERCHANT_ID=(max seven digits)
TERMINAL_ID=(max twelve digits)
CUSTOMER_ID=(max seven digits)
TX_TYPE=(max 3 digits)
TX_AMOUNT=(max 7 digits) decimal (2 digits)
DATETIME=(14 digits)
MD5=(32 hex alpha numeric A-F, 0-9)

ASP Behavior Changes On Different Client Machine
I know this is actually impossible, but didn't know how else to describe it:
I have created a Content Management System for a client using ASP connecting
to a Access database. It doesn't do any fancy things: INSERT, UPDATE, etc. I
also use ASPUpload to upload images onto the server.

When I test my CMS from my own machine and others, it all works fine.
However, testing it from my client's machine, the Updating or Inserting of
data ends up returning a 'page not available' error (the asp page calls
itself when the form is submitted) and the changes to the database are not
being executed.

I really can't figure out why this is happening. Could it be a setting on
the client's browser?

Mapping Remote Machine
I was susseesful in mapping remote machine with vbscript. Now I am building the same tool with ASP .I am using the same code but its not working. Below is the portion where I am mapping the drive: Code:

Read From Client Machine
To secure my web site i need to read client Machien's MAC Address with
javascript

How Do I Differ Between Machine Behind A Router?
Is this possible or should I set a cookie with md5 session id and login time and date.

MySQL On A Windows Machine
how MySQL goes with ASP (or any other language) on a Windows machine, production wise. Our website contains static pages and we're planning on making them dynamic. Cost is an issue. If anyone knows how well MySQL performs on WinNT or knows of issues I should be concerned about, I'd appreciate hearing from you.

I've already had experience with MySQL on a Linux environment and wondering if its Windows brother is on the same level. I know MySQL doesn't compare with SQL Server or Oracle when it comes to features, but it's something we're willing to give up because of cost.

Date From Client Machine
how to get the date from client machine?

Viewing One Page From Another Machine
Can I make somebody else view my webpage, that i made in asp-mysql on anohter machine? I tried to give my ip address to another person to view my page. But it doesnt work. i tried as : http:ip-addresslogindb.asp?

To run ASP on my machine i had to change my port for localhost to 8888 from the original. Before changing it to 8888 it was giving 'in use...' error. I got asp functioning when i changes my port to 8888. Now when i want to make others view my page can I do it?

If yes, then i was wondering why would we need space to host a website (small scall). I can always make my machine as the host machine and no need to buy space and all? do i need to make any changes to my IIS setting for any 2nd person to view my login page?

Get List Of Users On A Machine
I need to get list of users on a machine (can be from exchange or a domain controller). I'm not even sure where to begin. I need this so I can populate a dropdown list of all users of our network for a helpdesk system.

Folder On Remote Machine
I am having problems creating a folder on a remote machine. I keep getting a error 70 Permission denied. Of all the samples I have seen, I can't see what I am doing wrong.

Code:

dim dirName
dim machIP
dim folderPath

dirName = "myDir"
machIP = "123.123.123.123"
folderPath = "" & machIP & "c$" & dirName

Set fs=Server.CreateObject("Scripting.FileSystemObject")
if Not fs.FolderExists(folderPath) = true Then
fs.CreateFolder(folderPath)
end if

Submitting Form To A Fax Machine
I am trying to send information that I collect using an ASP form to a fax
number that I specify somewhere. Can someone please tell me whether I can do
that using ASP code and if so, how can I do it and what kind of applications
I need to have if any.

How To Detect User Name & Machine Name
I'm developing a web page in ASP that can detect client's machine name & windows user name, but can't been able to do so.I'm using VBScript as scripting language. I've used ServerVariables(LOGON_USER) & REMOTE_HOST Also but of no use. Can ny one tell me how to do it. Code:

Access Machine.Config
How do i access user defined section in machine.config file? Is there any runtime api that I can use.

FileExists On Client Machine NOT Server
The jist of what i want is the obj.FileExists (how it checks for a file on the server) for the client machine.

The client will be scanning something that will put a pdf file into a shared folder on their machine (it will be the same path for all clients). I need to get the code* to pull that file so that i can take the data on the pdf.

*Code doesn't have to be ASP. i'm up for ASP, VBScript, Javascript.

Java Virtual Machine Message
I am new to web development and have created a web site on an Intel server using a combination of ASP code that I created ,and portions of HTML code from various sources.

On several of the pages, it prompts the user to download Java Virtual Machine. I would like to change my pages so that it does not have that message. How can I identify which commands in my HTML files are using JSP (or whatever commands are needing the JVM) so that I can replace them?

CDOSYS AND CDONTS On W2K3 Machine
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine. They're getting an error from:

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")

I know that the new format is:

Set objCDOMail = Server.CreateObject("CDO.Message")

Is there something special that we have to have installed to make CDONTS work?

Find NT Login Name/Machine Number
Is there any method to find NT Login name and machine number in ASP?

How To Detect That File Has Been Downloaded On Client Machine
I am working on a web application where i allow users to download text file , the content for this file will be retreived from the database and is passed to the ADODB.stream and is read into Response.binarywrite

I am using the following code which i have got from a forum Code:

How Do I Install A MSI File From Webserver On The Client Machine.
I have a web server running on a machine. When the users
connect to that machine, it loads the ASP page. The ASP
page has a ActiveX control on it and it gets downloaded to
the client's machine. I have made the control as a signed
control so there is no problem in download.

Likewise, in the virtual directory path on the server, I
have one clientsettings.MSI and that needs to be run on
the server. Whenever the user tries to connect to the web
page, in onload event of the web page, the .MSI file
should be installed on the clients machine. For this to
happen what all needs to be done ?

Slow Opening Socket On ASP With Multihomed Machine
This is a cross-post from the .NET group since it looks like it may not be
..NET.

New information since the original post is that is the wireless network is
enabled and connected the socket connect time is 4x longer! Disable wireless
and it is back down to just very slow. Code:

Reading Registry Settings From The Client Machine
1. I need to read the registry settings from the client machine using an ASP file running on the server.

2. Also I need to create an XML file at the client machine and the ASP file running on the server should read the data from this clent XML file.

If anyone could give me some suggestions on how to proceed this I would be very much glad.

Request.Form.Count Varies By Machine?!
I've got the same page running
on two different machines. I do the same form post on both, and on one
machine I get Request.Form.Count=21 and on the other it's 22. ?!?

I have iterated through the form collection and printed out every key
on both machines and compared them carefully. They are identical.

WTF is going on here? I even went so far as to reset IIS on both
machines, and the counts are still different.

Delete File On Client Side Machine
Is it possible to delete a file on a client side machine using VB/JAVA script?

My website allows the user to upload a file to the website and after that I would like to delete the file on their machine tried this:

Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFile("C:1-1-S.xml")

But it is always looking to the server machine? How do I say delete file XYZ on client machine. Is this even possible with the security issues?

LDAP Query For Active Directory From A Remote Machine
I am trying to access user info in a remote Active Directory Server with an ASP application. For testing purpose, I set up a test domain controller (Win2k Server) and installed Active Directory Server.

I am able to retrieve the user info with the program below when I run the program(http://testmachine/test.asp) on the test domain controller machine. However, if I run the program(http://machine2/test.asp) from another machine in the same domain (Windows XP), it returns empty record set. Code:

How To Download A Complete Folder From Server To Clients Machine
I am facing a strange problem. I want to give a functionality to the client where he can download a complete folder from the server. but how to give this functionality is the main problem.

I have one ASP page where I am creating various files of vcf extension dynamically and now I want that client should be able to download all those files. Those files are present in one folder and so I want to give that whole folder to the client.so now I want some trickes/code or URL from you guys to achive this .

Local Filesystem
Is there anyway I can get the information about a file on the local machine of a user that is reading pages from my web site? Scripting.FileSystemObject does not have permission to do this, and I want to check the size of a file before I try to get it uploaded.

Server To Local
An application runs on server, and is used for Hour-registration. Now I want to run the application local, I use SQL Server 2005, and managed to fix connection changes.

But now, I get this error everytime I run the application:

Microsoft VBScript runtime error
Error Code :0x800A01CA

Error source :
Error Description :Variable uses an Automation type not supported in VBScript

Any solution please?

Local Settings
The webserver I'm using (which I can't make any changes to) has a
Dutch-localsettings. When doing simple calculations the decimal-symbol in
ASP is a , (komma). Is it possible to force IIS to use a . as decimal symbol
by code? (IIS5)

Code On Local IIS
I am running this code on my local IIS and everything works fine. The code detects the file I select using the INPUT TYPE=FILE. The problem is that when I move this code up to my host’s web server, it never works as in it never finds the file. It is the exact same code so why is it working on my local IIS but not on the web server? It is ASP code.

Code:
set fso = createobject("Scripting.FileSystemObject")

If fso.FileExists (strValue) then
'File exists continue with code
Else
Response.Redirect("aspError.asp")
End if

Local ASP Server
I need to setup my home computer to view ASP files like I veiw PHP files through Apache2Triad or some other similar installer package.

I'm using Windows XP Home,is this possible?

Calling A Local .exe
I am trying to set up an internet page on our intranet that contains logoff/shutdown and restart buttons.This needs to work in a remote desktop situation which rules out various options.

Next stage is to call this .exe from a webpage...which I'm struggling with. My test code (to test a reboot) is below but doesn't seem to work. Can anyone help remembering this needs .exe needs to run on the local machine and not the server.


Copyright © 2005-08 www.BigResource.com, All rights reserved