General discussion

Locked

Can't open files in IE7

By cthang ·
Hi,

I have a asp program which works fine in IE6 and now it does not work in IE7.

The problem is that IE7 does not like going to a folder and I just get an error stating that this web page cannot be display.

Here is part of the code that makes the call to the folder.


Select Case objRecordset.RecordCount
Case 0
Response.Write "<BR>No Matches found"
Case 1
sUserName = objRecordSet.Fields("samaccountname")
sLocation = objRecordSet.Fields("department")
sLocationCode = GetSchoolCode(sLocation)
If sLocationCode <> "xx" then
sHomeFolderPath = "file://" & sLocationCode & "-ovr-dc-1/users/students/" & sUserName
Response.Redirect sHomeFolderPath

Else
Response.Write "<BR>Error: unable to determine location code."
End if
Case Else
Response.Write "<BR>Error: found multiple AD accounts with this student number."
While Not objRecordSet.EOF
for each oField in objRecordSet.Fields
Response.Write "<BR>Match:" & objRecordSet.Fields(oField.Name).Value
next
objRecordSet.MoveNext
Wend

End Select

Any help will be great.


Thanks

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Software Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums