Avatar of Sam OZ
Sam OZFlag for Australia

asked on 

ASP.NET Excel writing over network fails

I am developing an ASP.NET application ( with VS 2010   f/w   .NET4 . The webserver is Win2008 R2 ENT, 64bit )
The  IIS Website  Application is using Application Pool and the pool has  a dedicated identity user  

There is a component of copying an excel template to a working directory and write  some data on that

 Everything works fine   if I use the local path  ( Like E:\ExcelDirectory)
 
   if I use the the same path but as network path  ( like \\weserver\ExcelDirectory  )   the writing hangs forever
    But if I use my account as apppool user , even on network path everything works fine

    I have given  the write permission to the apppool user ( even the apppool user is added as administrator)

    Essentially, the issue may be  about privileges the apppool user doesn't have and my user has  ( Is there anything like a previlage to write over network ? )
Windows Server 2008ASP.NETSecurityMicrosoft Excel

Avatar of undefined
Last Comment
Paul MacDonald
ASKER CERTIFIED SOLUTION
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo