IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 31st, 2005, 11:31 AM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 4
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:
Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.


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.

Reply With Quote
  #2  
Old October 31st, 2005, 06:50 PM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 4
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...

Reply With Quote
  #3  
Old October 31st, 2005, 08:31 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,969 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 17 h 19 m 56 sec
Reputation Power: 802
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

Reply With Quote
  #4  
Old November 1st, 2005, 10:05 PM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 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!!!

Reply With Quote
  #5  
Old November 2nd, 2005, 03:28 PM
juniperr juniperr is offline
network dude
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2003
Posts: 1,679 juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 21 h 55 m 2 sec
Reputation Power: 85
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.

Reply With Quote
  #6  
Old November 2nd, 2005, 03:32 PM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 4
Netware 5.1 support pack 07 9.2003 edirectory version 8.6.2
NDS 10320.29

Reply With Quote
  #7  
Old November 2nd, 2005, 03:37 PM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 4
Quote:
Originally Posted by juniperr
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.


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?

Reply With Quote
  #8  
Old November 2nd, 2005, 03:51 PM
juniperr juniperr is offline
network dude
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2003
Posts: 1,679 juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 21 h 55 m 2 sec
Reputation Power: 85
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.

Reply With Quote
  #9  
Old November 2nd, 2005, 04:03 PM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 4
Appreciate it.... thanks.

Reply With Quote
  #10  
Old November 2nd, 2005, 09:26 PM
juniperr juniperr is offline
network dude
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2003
Posts: 1,679 juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 21 h 55 m 2 sec
Reputation Power: 85
This is a stupid question but are you sure you dont have a typo in that
Quote:
href="templates/form.xlt.lnk"
could this be a typo?

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.

Reply With Quote
  #11  
Old November 2nd, 2005, 10:37 PM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 4
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?

Reply With Quote
  #12  
Old November 2nd, 2005, 10:44 PM
juniperr juniperr is offline
network dude
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2003
Posts: 1,679 juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level)juniperr User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 21 h 55 m 2 sec
Reputation Power: 85
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:
Forum: IIS 6 (Windows Server 2003) Questions & AnswersTopic: hyperlink to certain file extensions is not possibleSubject: Re: hyperlink to certain file extensions is not possiblePosted by: webmsag-khePosted on: 2/4/2004 10:13:49

either the webserver identifies the file-extension as "dynamic" or as "static" content. files the producedynamic content and that are handelted by a unwerliing programm, like a dll have an extension thatis defined as "webextension". extensions that define static content have to be found in the list of"mime-types". if iis6 can not identify the extension as dynamic or static the client will receive a 404.i think, lnk and msg are of static content, so fill the list of mime types with these two extensions:lnk -> application/somethingmsg -> application/outlookrestart der w2svc-serviceyou find the __main-list__ of all configured mime-types in:iis-manager snapinmachine propertiesmime-typeshttp://www.iis-resources.com2/28/2005 1:17:32 / Page 1</html

Last edited by juniperr : November 2nd, 2005 at 10:56 PM.

Reply With Quote
  #13  
Old November 3rd, 2005, 05:54 PM
David_mc David_mc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 89 David_mc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 11 sec
Reputation Power: 4
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!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Passing Users to a Netware box via UNC path


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump