Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 5th, 2007, 03:54 AM
Authorized User
 
Join Date: Apr 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Retriving UNC Path of mapped drive (Linux Folder)

Hello Everybody,
i have a problem in asp.net 2.0/vb.
i am using Foxpro DBF files as my back end database.
the DBF files reside at out linux server in a folder named "project_usr\Rexroth".

i am having mapped drive for this linux folder as
"K:\" which points to "\\surya\project_usr\Rexroth".

when i place .DBF files to any windows system; and use UNC path in connection string, then it works fine for me.

for ex., i host the application to my pc (named dev4) and there is a windows system named as "dev2" and i place my .dbf files in "d:\Rexroth" in "dev2". then i use "\\dev2\d\Rexroth" or "<ip Address\d\Rexroth" UNC path, which works fine for me.

but when i place those .DBF files at linux server, then im changing connection string path as "\\surya\Project_usr\Rexroth", then i get error "Files doesn't exists".

for ex, i host the application to my pc (named dev4). and copy all dbf to "project_usr\Rexroth" folder at "surya" linux server. then my UNC path would be "\\surya\project_usr\Rexroth".... but that won't work...

pls help me... as its urgent..
thank in advance

  #2 (permalink)  
Old April 5th, 2007, 08:08 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Is it possible that the problem lies with permissions? Is it likely that there is a difference between when YOU access the linux box share and when the web application accesses it? I don't have first hand experience with how permissions work across OS boundaries. (Although, I just got a network attached storage (NAS) device that is running linux [so I'm told] with Samba to create public shares. I have a windows server running a .Net app that accesses the NAS device for files and it works without problems.) It sounds to might like you have done everything right so far.

-Peter
  #3 (permalink)  
Old April 5th, 2007, 09:58 PM
Authorized User
 
Join Date: Apr 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by planoie
 Is it possible that the problem lies with permissions? Is it likely that there is a difference between when YOU access the linux box share and when the web application accesses it? I don't have first hand experience with how permissions work across OS boundaries. (Although, I just got a network attached storage (NAS) device that is running linux [so I'm told] with Samba to create public shares. I have a windows server running a .Net app that accesses the NAS device for files and it works without problems.) It sounds to might like you have done everything right so far.

-Peter

Hi planoie,
thankx for a prompt reply.,
i have also tried impersonation for above stated web application to override default security permision account (ASPNET; which is used by web server) with current user login. i set windows authentication. but not succeeded.
i think i should concentrate on security permission for this problem resolution; mean while please let me know if there is any solution or idea.
again; thankx for your reply.



Similar Threads
Thread Thread Starter Forum Replies Last Post
mapped drive khansa PHP How-To 0 February 23rd, 2006 07:46 AM
mapped drive khansa PHP How-To 0 February 23rd, 2006 07:43 AM
Mapped drive khansa MySQL 1 February 23rd, 2006 05:38 AM
How to find if drive is a mapped drive BrianWren Pro VB 6 1 June 2nd, 2005 04:07 AM
How to find if drive is a mapped drive BrianWren Access VBA 0 June 1st, 2005 04:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.