Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

write a file out to a network drive via ASP.Net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
michael.esposito@gmail.com - 19 Oct 2005 13:26 GMT
When I try to write a file out to a network drive via ASP.Net, I get
the following error when I deploy the application to the test server. I
have no problems at all when I run it on my machine. Any help?

I have my impersonation set to true and I turned off the IIS password
control in the virtual directory.

Michael

Could not find a part of the path
"\\network-drive\folder".---------------------------Stack Trace:
  at System.IO.__Error.WinIOError(Int32 errorCode, String str) at
System.IO.Directory.InternalCreateDirectory(String fullPath, String
path)
  at System.IO.Directory.CreateDirectory(String path) at
AuditorFileFormat.UC_AuditorFormat.ParseAuditorFile(String filename,
String TargetDir) in
C:\Inetpub\wwwroot\AuditorFileFormat\Controls\UC_AuditorFormat.ascx.vb:line
75
Curt_C [MVP] - 19 Oct 2005 13:56 GMT
What user is the site running under? Do you have Anonymous or Integrated Auth
running? Sounds like the user doesn't have access to the share

Signature

Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

> When I try to write a file out to a network drive via ASP.Net, I get
> the following error when I deploy the application to the test server. I
[quoted text clipped - 15 lines]
> C:\Inetpub\wwwroot\AuditorFileFormat\Controls\UC_AuditorFormat.ascx.vb:line
> 75

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.