I'm struggling to load an intranet page based on the user logon. I tried unsuccessfully to get the info from ServerVariables, but didn't want the user to have to log into IIS after they've already logged onto the Novell network. My second option was to retrieve the user name from the I: drive, which we have mapped as a POBox with the person's name - ServerName\vol1\homes\UserName.
Currently I'm totally hosed up just trying to access the I: drive, let alone any subfolder. The C: drive is no problem, but if I change it to any other drive I get a Microsoft VBScript runtime error '800a0044' - Device unavailable error. Any suggestions to the code below would be tremendously appreciated!
<%
dim fs, d, n
set fs=Server.CreateObject("Scripting.FileSystemObject"
set d=fs.GetDrive("I:"
Response.Write("The drive letter is: " & d.driveletter)
set d=nothing
set fs=nothing
%>
Currently I'm totally hosed up just trying to access the I: drive, let alone any subfolder. The C: drive is no problem, but if I change it to any other drive I get a Microsoft VBScript runtime error '800a0044' - Device unavailable error. Any suggestions to the code below would be tremendously appreciated!
<%
dim fs, d, n
set fs=Server.CreateObject("Scripting.FileSystemObject"
set d=fs.GetDrive("I:"
Response.Write("The drive letter is: " & d.driveletter)
set d=nothing
set fs=nothing
%>