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 / May 2005

Tip: Looking for answers? Try searching our database.

accessing text file from C# web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kittu - 20 May 2005 22:41 GMT
hello group,

I'm trying to invoke unmanaged C language Dll from C# Web service. The
configuration file for the C Dll's are in a text pad. I want to fetch the
configuation file values. How can i access a textfile content from web
services?
What kind of permissions i should set?

I appreciate if u can help me.

thanks and regards,
kittu
Bruce Johnson [C# MVP] - 21 May 2005 14:30 GMT
Because the web service is being hosted by IIS, the user id underwhich IIS is
running will need to be given access.  That is normally ASPNET, but it really
depends on how you've configured the web site.  If you have impersonation
setup, then it would be the user who is accessing the service.

Once you have identified the user, give that user read access to the
directory that contains your configuration file.

Hope that helps.

Signature

Bruce Johnson [C# MVP]
http://www.objectsharp.com/blogs/bruce

> hello group,
>
[quoted text clipped - 8 lines]
> thanks and regards,
> kittu

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.