RE: folder virtualisation



ok

service running under SYSTEM username. i installed service with all default
value.
i need to code the getlasterror(), i have not done that (sorry).

but if i run my gui client programme as administrator then it can open the
pipe.

i will check the last error
in the mean time i hope above information has given you more info about what
happening.

I simply want my service to create a namedpipe which i can access from
client GUI application.

I have seen lot of people having same problem in google search.

kindly can you give me some sample c/c++ code of a service that create a
name pipe and a application that can read or write without admin access in
vista/xp/2000.


yes my service can read write a pipe created by client programme even
without global prefix.

it will be easy for me if you can provide me some sample code , it does not
have to be full code.

thank you


--
Ashnah is a innovative software development company


""Jeffrey Tan[MSFT]"" wrote:

Hi Ashnah,

Thank you for the feedback.

However, it seems that you still did not provide some of the key
information below:
1. What account is your Service application running?
2. What error do you get while your client application is using CreateFile
to open the named pipe?(We need the error number to determine what does the
error mean)

Yes, based on my feedback, it seems that the named pipe object may be
created in the local session space, so the client application can not see
it. You may try to access it by adding "Global\" to create the pipe object
name in the global namespace.(Actually, I suspect if this is the root
cause, because it is strange that the service in session 0 can access the
pipe object created by the client application in session 1).

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • RE: Web App With Signature
    ... use some rich client approach such as ACTIVEX control. ... retrieve protect resource on client(such as file system or certificate ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: asp.net pluggable pages
    ... 1.According to different client users, you can create multiple ASP.NET ascx ... users that will need customized GUI. ... ASP.NET support dynamically create server controls. ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: FileCopy vs. Read & Write or CopyFile API
    ... synchronize a document in server to its client with VB FileCopy function. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vb.general.discussion)
  • Re: Save ASPX page on client programmatically
    ... The problem here is save the content to a file on client-side file system. ... modify or delete any file on the client system. ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: folder virtualisation
    ... Yes, based on my feedback, it seems that the named pipe object may be ... created in the local session space, so the client application can not see ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.platformsdk.security)