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


ADVERTISEMENT

SRV2003, ASP And Network Drives

I have an ASP app that calls an object on the web server which goes out to a
mapped network drive to retrieve a file from a W2K file server. My current
web server is a W2K. The share on the file server as well as the NTFS
permissions on the server are wide open (Everyone Full Control) but still
require me to run the web server under an account other than the IUSR
account for the object to be able to access the file. None the less, it
works fine.

However, when I run this same app on a W2K3 server, it can not
access the file from the exact same location. Seems to me I need to tell the
web server at a different level what account to run at or something. It
doesn't appear that the W2K3 web server's account has permission to access
the file despite the fact I am using the same account as the W2K. Anyone
have any ideas? The goal is to get the W2K3 web server to successfully
access a remote file on a W2K file server without any permissions problems.
Again, the share and NTFS on the file server are wide open.

View Replies View Related

VBscript For Mapped Network Drives

I need to know how and if its possible to have a vbscript run when a user logs onto my pc. I need the script to connect to my mapped network drives on my pc since you have to double click under My Computer in order to connect to the drives. I want this automated as much as possible.

I currently use a batch file under the startup folder but wanted the process to run behind the scenes instead of a dos box popping up.

View Replies View Related

Mapped Drives And FSO

I keep getting "path not found"..

I'm running two servers, the machine running IIS that is running my ASP
script uses the same IUSR account and password as the folder that I am
trying to access through a mapped drive. Permissions should be good.

here is my code:

Set objFile = Server.CreateObject ("Scripting.FileSystemObject")
objFolder = "M: estfolder"
Set MyFolder = objFile.GetFolder(objFolder)

if I take the same directory path "M: estfolder" and paste it into explore
it finds the path without a problem...

View Replies View Related

Code To Map Drives

I was not able to map a drive from remote server to my local pc.

View Replies View Related

Get Computer Name From Mapped Drives

I am trying to get the computer/server names from the mapped drives on the Clients PC when they select a file from the upload "browse" button. When the user clicks on the "Browse" button on the "<input type="File"... control and selects a file located in one of many possible mapped drives. I want to save the location of the file as a path as you would see when mapping a drive. For instance, "serverfolders... instead of the
mapped path of "P:foldersubfolder... etc. Therefore, when a user views the document they can click on the link and get access to the file regardless of how their drives are mapped. Oh, I need to be able to do this from classic ASP.

I attempted to use the FileSystemObject object but cannot find the method that gives me this information.

View Replies View Related

Fso Fails When Connecting To Mapped Drives From Asp On IIS 6.0

I have an asp page (see source code below) running on IIS 6.0 on
Win2003 Server that tries to get file and folder information on a
Novell Server. I am able to successfully connect to the share on the
Novell box if I use the UNC path. But, unfortunately, I need to have
the mapped path for my application.

I created a simple vbs script and
saved it to the server desktop and run it to verify connectivity to the
Novell box. I am logged in to the server with the same user as set up
in my website as the anonymous user. The vbs file runs perfectly. But
as soon as I move the code into an asp file, I get the following error
"Microsoft VBScript runtime error '800a004c' Path not found". If I
go into my asp file and change the path to the novell box to a UNC
format, then it works. Below is the asp file: 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

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

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

Asp On Network

My system is on the Network.The system has a Project being developed in ASP and Oracle.
shared the ASP files but in other system the file is showing as MS-Front Page.
both the systems are on Win-2k.

View Replies View Related

Using Asp To Go Through Network

I've looked all over and can't seem to find any information on whether or not you can get a file through a network. I have a webpage that needs to check to see if a file is on a specific server. Is this what it would need to look like?

Set file1 = fso.GetFile("computernamedrive
otesap.zip")

View Replies View Related

Network

i got an asp project, current done the phase one, is a web application over the internet. phase 2 the client need us to do a add on application to previous web application. but can only access with their own network.

that mean they want some portion of the application to be over the internet, and some portion of their application can be access by their own network only. so what do i need to do to make my system to know the station accessing the application currently is within own network or from other network?

View Replies View Related

IP Or Network Name

I've been getting this recurring "[DBMSSOCN] General Network Error" ever since we separated our web server and our database server. My connection string has been as follows:

Provider=SQLOLEDB;Data Source=machinename;Initial Catalog=xxxxxx;User
ID=xxxxxx;Password=xxxxxxx;Network Library=DBMSSOCN

Is it possible that changing the machinename to an IP address will help? Initially, it seemed as though adding the Network Library parameter was working, but recently it started to happen again.

View Replies View Related

Network Status

Is there anyway I can check to see if a server is online in my network with an if statement saying if online response.write "Online" else response.write "Offline"?

View Replies View Related

ASP Forbidden On The Network

Below is the message I received when I attempted to use a web page on our
network that makes use of ASP.

The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from
a directory that does not allow programs to be executed.
--------------------------------------------------------------------------------

Please try the following:

a.. Contact the Web site administrator if you believe this directory
should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)

--------------------------------------------------------------------------------

Does that mean that we need to relocate the files where the server allows
ASP executable commands to function? Or can the directories properties be changed so that such executables is allowed?

View Replies View Related

DB Connection Through Novel Network

we have our Intranet in work where my ASP pages are and i want it to connect to a database on one of the network drives.. The location of my database is:-

NW-SHARE-1DATATEMPTRANCOMMON@digireportsRobbieASP es t.mdb

but the following connection code i have doesnt work:-

config.asp
Code:

View Replies View Related

Network Places

i create virtual directory on iis with network directory is a share located on another computer...after i did that ....i can't browse that virtual directory...if i browse that virtual directory ...at browser IE show message the page cannot be found

View Replies View Related

Can't See Network Printers In IIS

I have a dll I wrote in VB6. Basically, it can list all the printers
it finds as well as print to a selected printer.

I created a test app in VB6, added the dll as a reference, and added
the following in a button click: Code:

View Replies View Related

Network Drive

<i><b>Originally posted by : Augusto (augustocm2000@yahoo.com)</b></i><br />Hi<br />I've got a problem that I´ve been trying to solve but there is no way I can find the solution.<br /><br />I am mapping a network (intranet) drive in my computer (winNT 4.0), but when I try to "see" this drive (or a directory of this drive) from an asp page, it is impossible! What I mean is that the drive is mapped and accessible in my windows explorer, but my asp code says "Path Not Found". And I have no problem when I "see" a local drive, it locates without no problem.<br />Does anyone know if this is a problem with the server??A configuration problem, for example?!<br />

View Replies View Related

Network Login

I need to know if its possible to create an ASP page that when requested
will display the network id of the requester.
Most people have told me to query the request.servervariables("LOGON_USER").
But this will get me the login of the server and not the client. In our
situation we do not want to have our users login twice (once to their machine
(the client) and then again to the server (the one that serves the asp page).
I need to know the client logon name.

View Replies View Related

Network File

We are trying to display pdf files which is mappedre to the IIS server. For ex:
My website is located on server A and the url is http://myfolders
Now there are some pdf files ( ja.pdf,feb.pdf..) located on server B which is mapped on server A on the F drive.
So f: >> Server Bpdf folder

Using ASP we would like to allow the user to search for a pdf say jan and we display the pdf as a downloadable link.

View Replies View Related

Network Drive

I am trying to write a file of emails to my mail server for a newsletter.The emails come from a form on a website and append the file.However I can not accomplish this.I have tried mapping the a network drive.Then writing to the file with the path

"U://subscrib.txt" using the filesys obj.

This did not work and I am unsure why.I could not add the internet user to the permissions on the mail server because its not the same machine.

View Replies View Related

Get Network User IP And Pc Name

i m making an intranet website(asp is used) , on the home page i want to display the network user ip & user pc name when anyone opens the website. can any 1 help me out how to get the pc name & user IP of network user?

View Replies View Related

FSO Network Drive

I have a mapped drive on my intranet web server to my internet web server. When I iterate through the drives collection on my intranet site, my mapped drive does not show up. Is there anyway I can get to this drive to read a small set of known files? I don't really want to have to create a virtual folder on the internet web server and move the files in question to it so that my intranet server can get to them.

View Replies View Related

Capturing Network LAN ID

I'm having a bit of a problem trying to capture a users LAN ID from the network. Currently I have an activex component that does it for me and I use Javascript to display/capture. Which was fine prior to the DDA guidelines. Now I need to find a way to do so without using JavaScript.

The first thing I tried was to use the Servervariables available but unfortunatly our servers use annonymous authentication, so I can't use that method. I've even tried but had no joy accessing Active Directory for the LAN ID, so I'm currently left scratching my head. Does anyone know of a way I can acheive this?

View Replies View Related

Map Network Drive

i would map a network drive from a share on another server. it works fine with the net use command under user login but it do not work from an asp script or dll.

is this that i have to add the iuser_<computer_name> profile into network computer that share it resources?

View Replies View Related







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