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 / Web Services / November 2004

Tip: Looking for answers? Try searching our database.

Accessing a file from web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott W - 15 Nov 2004 19:14 GMT
All,

I am trying to access an encrypted file from a web service.  The service
works fine if the file is in the search path.  Isn't there a way to specify
the path to the file?  Such as a subdirectory under the virtual directory
where the service resides?

Thanks
Martin Kulov - 15 Nov 2004 19:28 GMT
Hello Scott,

I can not understand what are you tring to achive. How is the file encrypted? How do you open the file?

Regards,

Martin Kulov
www.codeattest.com
Scott W - 15 Nov 2004 19:44 GMT
Hello Martin.

It is encrytpted and read by a thrid party dll.  I am trying to pass the
path to the dll.  I'm sure it's something silly I'm doing, but can't seem to
figure it out.

Thanks

> Hello Scott,
>
[quoted text clipped - 4 lines]
> Martin Kulov
> www.codeattest.com
Dan Rogers - 15 Nov 2004 22:03 GMT
Hi Scott,

Have you tried putting the DLL in the same directory as the service's bin?  
This is the recommended way to do this.  Additionally, once the DLL is
loaded, the file being opened will need to be properly permissioned and in
a reachable path.

Regards

Dan Rogers
Microsoft Corporation
--------------------
>Thread-Topic: Accessing a file from web service
>thread-index: AcTLS3Yenw0afZ7pSyKGAO8sUA0/wA==
>X-WBNR-Posting-Host: 216.212.41.2
>From: "=?Utf-8?B?U2NvdHQgVw==?=" <ScottW@discussions.microsoft.com>
>References:  <698FB92A-97CD-4C53-956B-AD6732859335@microsoft.com>
<uuztLl0yEHA.3408@tk2msftngp13.phx.gbl>
>Subject: Re: Accessing a file from web service
>Date: Mon, 15 Nov 2004 11:44:03 -0800
[quoted text clipped - 13 lines]
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26538
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 14 lines]
>> Martin Kulov
>> www.codeattest.com
Scott W - 18 Nov 2004 19:08 GMT
Yes, that's whhat I was doing.. I worked around this issue by building the
path to the file dynamically.

Thanks for the input.

> Hi Scott,
>
[quoted text clipped - 52 lines]
> >> Martin Kulov
> >> www.codeattest.com

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.