|
-
Aug 30th, 2005, 11:04 AM
#1
Thread Starter
Fanatic Member
Map network drive / file access
Guys,
I am trying to open an excel template from an ASP page. I have identity impersonate set to true in web.config, the file I am trying to access is in the root folder of my website, and all users have access.
When I try to open this file I am being asked for a logon, I want to get rid of this so it is seamless to the user.
I was thinking, if there was a way of mapping a network drive on the server, with predefined account credentials, then I could access the file in code using "wkbk = xl.Workbooks.Open("z:\HPTResults.xlt")" rather then giving the full unc path ? Could that get round my login problem ?
Thanks
Bob
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|