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:

View Replies


ADVERTISEMENT

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

View Replies View Related

Develop Asp.net On Remote Machine

I've got .Net 2003 installed on my XP Home machine. Since don't(can't) have IIS installed, I've heard you can use a remote machine that has IIS and ..Net to develop an ASP.Net solution on my XP Home machine. What do I have to do to make this happen?

View Replies View Related

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:

View Replies View Related

Mapping

What is it about mapping that's fixing my problem, b/c the UNC will not work?
I would prefer to use the UNC if possible in my current situation.

Here's my code:
Map - ImagePath = "v:" - this one works but UNC doesn't
UNC - ImagePath = "srv-file-bLic Pic"
Response.write "<img src=" & ImagePath & RTrim(LastName) & Left(LTrim(FirstInitial),1) & Right(SocSecNum, 4) & ".jpg width ='100' height ='100'>"

testimage = ImagePath & RTrim(LastName) & Left(LTrim(FirstInitial),1) & Right(SocSecNum, 4) & ".jpg"
Response.write testimage

View Replies View Related

Mapping Path In Asp

I have created my asp pages in "D:/test" . This i have created as a virtual directory.
i am having some files in "D:/download/cont/somename" From the asp page i want to access the files in the d:/download/cont/somename folder. Here somename changes according to username. i.e first i want to check whether this path is valid and then get all the files from it but its giving me the following error

Server.MapPath(), ASP 0174 (0x80004005)
An invalid '/' or '' was found in the Path parameter for the MapPath method.
/test/contractsfile.asp, line 11

code:
somename = Request.cookies("username")
source = ".. est" & "/download/cont/" & somename
if fs.folderexists(server.MapPath(source)) ---------------------------> line 11

View Replies View Related

Mapping Software

Is there some good mapping software out there that integrates well
with ASP apps? I need to be able to pass in several addresses, and
display a route on a map with driving directions.

View Replies View Related

Field Mapping

Does anyone have an example of field mapping? I am trying to write an app that reads a .csv file and then allows a user to map those .csv fields to existing SQL fields.

I have the reading of the .csv & writing to SQL, but hit the wall trying to get a mapping process to work. Ideally, I would check off a field from the csv and check off a corresponding field in the sql field then hit a map button and it would set the fields in the sql statement according also removing those two selections.

View Replies View Related

Website Mapping Tool

I am thinking of mapping out a website. The website is very large and the reason I am doing this is to find out which files are redundant and how I can go about tidying up and simplifying the code.

Can anyone recommend any good mapping tools? I am working for a company which gets all the Microsoft development tools. If anyone can recommend a Microsoft tool that would be better as I would already have access to it.

View Replies View Related

Mapping Network Drives Through Asp

I was wondering is there a way to map a network drive a on persons machine with a online gui interface?

Is there a way user 1 can map drives on THEIR computer using an online interface?

View Replies View Related

Dropdown Mapping Doesn't Work

I try to use the below code to do mapping but, i saw no value in my dropdown. I'm using classic ASP, with MS SQL Server 2005. I have check, There are value in rs("statusid") and status table. Anyone can detect the problem here?

<select name="status" class="FormTextField" id="status">
<%
SQL = "SELECT (CASE WHEN statusid='" & RS("StatusID") & "' " & _
" THEN '<option selected>' " & _
" ELSE '<option>' " & _
" END) + statusid " & _
" FROM Status ORDER BY statusid "

Set RSTypes = MM_cSupport_STRING.Execute(SQL)
Response.Write RSTypes.GetString()
RSTypes.Close
%>
</select>

View Replies View Related

ASP IIS 5.0 Mapping An FTP Share To The Physical Directory

I've setup several FTP shares on IIS 5, where some of the shares are
located on another computer, while other directories are on the local
computer.

Is there a function similar to server.mappath that I can use to return
the physical path of a FTP virtual directory using ASP?

For example, I have a virtual directory called TestA located at
C:TestA on the local computer running IIS 5. I have another virtual
directory called TestB located at DevserverTestB where Devserver is
another machine on the network.

In my ASP code, I need to be able to access the physical directories
directly and I would like to avoid having additional code to deal with
hard coded directory paths.

Is there something similar to the command server.mappath("TestB") which
would return "DevserverTestB"? This way, the physical path is
transparent and I can treat local and network shares in the same way.

View Replies View Related

Field Mapping Sample - CSV To Sql Serverusing Asp Or VB

Does anyone have an example of field mapping?

I am trying to write an app that reads a .csv file and then allows a user to map those .csv fields to existing SQL fields...

I have the reading of the .csv & writing to SQL, but hit the wall trying to get a mapping process to work...

Ideally, I would check off a field from the csv and check off a corresponding field in the sql field then hit a map button and it would set the fields in the sql statement according - also removing those two selections.

View Replies View Related

64 Bit Machine

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

View Replies View Related

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.

View Replies View Related

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.

View Replies View Related

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??

View Replies View Related

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.

View Replies View Related

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.

View Replies View Related

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 Replies View Related

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)

View Replies View Related

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?

View Replies View Related

Read From Client Machine

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

View Replies View Related

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.

View Replies View Related

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?

View Replies View Related

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?

View Replies View Related

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.

View Replies View Related

Date From Client Machine

how to get the date from client machine?

View Replies View Related

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?

View Replies View Related

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.

View Replies View Related

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.

View Replies View Related

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:

View Replies View Related

Access Machine.Config

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

View Replies View Related







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