|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Passing Users to a Netware box via UNC path
Ok, here is my situation:
I have an intranet that i'm migrating from IIS 5 to a new server with IIS 6.0. Its pretty much all brochure type pages simple html content.... One section contains a listing of hyperlinks for our companies in house forms. Categorized and listed... Each of these links point to a shortcut file that then points them to a UNC path to a netware server. We use the shortcut because it seems to be the only way that we can open the file in the application (Word, excel) and not open the application in the browser.... So on the HTML page it has something like this: href="templates/form.xlt.lnk" Then that shortcut points to: "\\servername\foldername\form.xlt" IIS is giving me this: Quote:
The netware client32 is installed on the windows 2003 box, but its not letting me get to the server. We've mapped a drive to that netware server but it doesn't work.. Any help would be greatly appreciated. |
|
#2
|
|||
|
|||
|
Is this something that i need to setup a virtual directory and point it to the UNC location? I attempted that but the end location indicated that it didn't exist... I have a feeling that its due to Netware...
|
|
#3
|
|||
|
|||
|
I don't know any answer. In general I'd try to shy away from virtual directories on network paths, but hey, if it works ...
![]()
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#4
|
|||
|
|||
|
Well, I tried the virtual directory route, but I got no where. When clicked the the link pointing to the virtual directory it said Network not known or something like that. Just the text against a plain white background.
I am so stumped on this one it hurts!!! |
|
#5
|
|||
|
|||
|
what version is the netware box? (what version of netware is it running?), secondly if it works on IIS 5 and not with 6 its not the netware box.
Last edited by juniperr : November 2nd, 2005 at 03:33 PM. |
|
#6
|
|||
|
|||
|
Netware 5.1 support pack 07 9.2003 edirectory version 8.6.2
NDS 10320.29 |
|
#7
|
|||
|
|||
|
Quote:
Agree to your edit... What credentials does the Windows Server 2003 webserver attempt to authenticate to the netware box with? Is it using the USR_Machinename? |
|
#8
|
|||
|
|||
|
Hmm been a while on netware 5.1 but couple things you can install the native file access on the netware box and you will no longer need the client it can use CIFs natively (and NFS if unix), thats a side note but anyway let me think on this and Ill get back to ya.
|
|
#9
|
|||
|
|||
|
Appreciate it.... thanks.
|
|
#10
|
|||
|
|||
|
This is a stupid question but are you sure you dont have a typo in that
Quote:
I beleive it will use the USR_Machinename (give this rights on novell and prolly work for ya) if you are using ASP you can use this to use a different username and password? <identity impersonate="true"/> <authentication mode="Windows"/> <identity impersonate="true" userName="domain\username" password="password" /> Basicly you are using a workaround to launch excel outside of the web browser (bypassing IE's excel and word pluggins) and loading it using the full excel program the correct way from microsoft "http://support.microsoft.com/kb/198703/EN-US/" is like this.. HTML> <BODY> <INPUT id=button1 name=button1 type=button value=Button> <SCRIPT LANGUAGE="VBScript"> sub button1_onclick() ' Launch Excel dim app set app = createobject("Excel.Application") ' Make it visible app.Visible = true ' Add a new workbook dim wb set wb = app.workbooks.add ' Fill array of values first... dim arr(19,9) ' Note: VBScript is zero-based for i = 1 to 20 for j = 1 to 10 arr(i-1,j-1) = i*j next next ' Declare a range object to hold our data dim rng set rng = wb.Activesheet.Range("A1").Resize(20,10) ' Now assign them all in one shot... rng.value = arr ' Add a new chart based on the data wb.Charts.Add wb.ActiveChart.ChartType = 70 'xl3dPieExploded wb.ActiveChart.SetSourceData rng, 2 ' xlColumns wb.ActiveChart.Location 2, "Sheet1" 'xlLocationAsObject ' Rotate it around... for i = 1 to 360 step 30 wb.activechart.rotation = i next ' Give the user control of Excel app.UserControl = true end sub </SCRIPT> </BODY> </HTML> and word like this.. <HTML> <HEAD> <SCRIPT LANGUAGE=VBScript> Dim objWord Sub Btn1_onclick() call OpenDoc("http://MyServer/MyTest.doc") End Sub Sub OpenDoc(strLocation) Set objWord = CreateObject("Word.Application") objWord.Visible = true objWord.Documents.Open strLocation End Sub </SCRIPT> <TITLE>Launch Word</Title> </HEAD> <BODY> <INPUT TYPE=BUTTON NAME=Btn1 VALUE="Open Word Doc"> </BODY> </HTML> Last edited by juniperr : November 2nd, 2005 at 09:35 PM. |
|
#11
|
|||
|
|||
|
No typo, we have 270 links that all fail to work.
Yes it is a workaround... Found it much easier... We are using ASP... I'll look into this some more.. Thanks... Question: Does IIS 6.0 handle .lnk files differently than 5.0? |
|
#12
|
|||
|
|||
|
think I found the issue iis6 doesnt recognize the extension...
http://64.233.187.104/search?q=cache:O7fKBQ-KSQ8J:www.iis-resources.com/modules/newbb/makepdf.php%3Ftype%3Dpost%26pageid%3D0%26scale%3D0.66%26post_id%3D2934+.lnk+iis6&hl=en Quote:
Last edited by juniperr : November 2nd, 2005 at 10:56 PM. |
|
#13
|
|||
|
|||
|
Just to come full circle on this...
Adding the lnk to the MIME types... lnk ---> application/x-ms-shortcut All is well. Since we are moving from Novell env. to a windows I'm going to impliment the asp code you've provided... instead of the lnk based system. But its up and running at the moment. Thank you very much for your assistance!! |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Passing Users to a Netware box via UNC path |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|