Page 1 of 1 1
Topic Options
#69723 - 2002-09-12 08:45 PM Issue with mapdrive on Compressed drive
sphinx Offline
Lurker

Registered: 2002-09-12
Posts: 4
Loc: Montreal, Quebec
I used the same Kix script for two years. I tried this script in a new location... It was working fine with W2K but I was not able to disconnect and connect some network drive in NT 4.0. I found finally the problem seam to come from Compressed NTFS Drive on the file server [Confused] .

If the PC doesn't have any network drive mapped it will work a first time but will never work after a logout-login. It will work after a reboot only.

Symptom: "use l: /delete" change the network drive to a Remote drive. [Mad] I'm able to connect and disconnect drive in dos with "Net use" but I'm not able to make it work with Kix. (In scrip, manually or debug mode) Is someone already deal with NTFS compressed drive? Please Help!

Config:
Windows NT 4.0 SP6a server with NTFS compressed share drive. Windows NT 4.0WS SP6a. Kixtart 2001 4.10.
_________________________
Sphinx ------------------------ A life full of Mysteries

Top
#69724 - 2002-09-12 09:15 PM Re: Issue with mapdrive on Compressed drive
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
intresting...

what about:
use l: /delete /persistent

anyway, could you post that code for examine purposes...

like, I have compressed net drives and have no problem with them...
_________________________
!

download KiXnet

Top
#69725 - 2002-09-12 09:43 PM Re: Issue with mapdrive on Compressed drive
sphinx Offline
Lurker

Registered: 2002-09-12
Posts: 4
Loc: Montreal, Quebec
Hi there!

You are right, I forgot the /persistent in my previous post. I tryed to enter manual command in the debug mode and I created a UDF but I always obtain the same result. Most of our station here was using Novell client in the past but we de-install them... I wonder if this may be the source of the problem... I will install a fresh NT4.0 and test it...

Here is one example of the code I was using before today.

:SiteMapping
; REM -- Custom Site Drive mapping routine Montreal
DriveID = "K:"
$PathID = "\\monmmax1\data"
GOSUB MapDrive ; ** Map the ... drive to K:

:MapDrive
; REM -- Map Drive (Used in DriveMapping)

USE $DriveID /delete /PERSISTENT
USE $DriveID $PathID
IF @ERROR = 0
?
? $DriveID " Drive successfully mapped to " $PathID
ELSE
BEEP
?
? "ERROR: " $DriveID " DRIVE MAPPING TO " $PathID " UNSUCCESSFUL,"
? "PLEASE CONTACT YOUR NETWORK ADMINISTRATOR. "
? "(Press any key to continue)"
GET $key
ENDIF
RETURN
_________________________
Sphinx ------------------------ A life full of Mysteries

Top
#69726 - 2002-09-12 09:49 PM Re: Issue with mapdrive on Compressed drive
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
first thing I have to ask, did you change line:
DriveID = "K:"

when you posted the code? as it is the first place it will error out (no dollar sign there...)
_________________________
!

download KiXnet

Top
#69727 - 2002-09-12 10:04 PM Re: Issue with mapdrive on Compressed drive
sphinx Offline
Lurker

Registered: 2002-09-12
Posts: 4
Loc: Montreal, Quebec
Sorry I cut the $ when I removed important site related comments. I'm passing the parametter in the same way for all drives. Only the compressed drives or compressed share folders give me the problem.

Other examples:

$DriveID = "P:" ; ** Map the P: drive to
$PathID = "$FPserver\Apps"
GOSUB MapDrive

Thanks !
_________________________
Sphinx ------------------------ A life full of Mysteries

Top
#69728 - 2002-09-13 03:00 PM Re: Issue with mapdrive on Compressed drive
sphinx Offline
Lurker

Registered: 2002-09-12
Posts: 4
Loc: Montreal, Quebec
Hi There !

The Kix script is working fine on a fresh NT4 installation. [Eek!] I will install one by one the MS patch and custom application we have here and try to find the culprit [Big Grin]

You give me hope and the confirmation it was working somewhere else. [Wink] Thanks for your feedback.
_________________________
Sphinx ------------------------ A life full of Mysteries

Top
#69729 - 2002-09-13 06:32 PM Re: Issue with mapdrive on Compressed drive
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You might want to use a UDf instead of the GUSUB for your drivemappings. Look up the MapDrive or YAMD UDFs in the UDF forum by using the Kixtart search function at http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=search
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 513 anonymous users online.
Newest Members
min_seow, Audio, Hoschi, Comet, rrosell
17881 Registered Users

Generated in 0.145 seconds in which 0.08 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org