Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Problem using a UNC Path within a COM component in asp.net

Reply
Thread Tools

Problem using a UNC Path within a COM component in asp.net

 
 
Bill Tinker
Guest
Posts: n/a
 
      06-19-2008
Hi

I would appreciate any help that would shed some light on this problem...

I have a com dll that is an API to another application. The initialize
routine of the object requires the path where the data files are located, to
be passed in as a parameter. This works fine when the data folder in on the
same machine running the aspx page. However, if the path is in the form of a
UNC (eg. \\FS01\ProjectData) the object fails with an Invalid Directory
message.

If the application is run directly from Visual Studio, the UNC path works.
However, the same code running under IIS fails.

I've tried granting IUSR_MACHINE permissions to the dll, without success.
Any .Net code within the application can access the data using the UNC path
ok - it's just this com object that seems to have a problem.

Thanks
Bill


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extract UNC path using regular expression ksr ASP .Net 5 02-15-2011 10:41 AM
File not found error using #include virtual with UNC path chris_peoples@redlands.edu ASP General 5 08-08-2008 10:05 PM
Problem using a UNC Path within a COM component in asp.net Bill Tinker ASP .Net 1 06-20-2008 10:59 AM
Problems accessing files in ASP.NET using a UNC path Chris Newby ASP .Net 2 09-09-2005 02:46 PM
UNC Path Problem G. Dean Blake ASP .Net 2 07-29-2004 02:19 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57