hii ,
i m getting a problem with save file dialog, i m getting this error "c documents and settings localservice desktop refers to a location that is unavailable' whenevr i click on desktop button.

Recommended Answers

All 4 Replies

How is this related to C# and where do you see this button? Is it in an application or in windows explorer? Lastly -- Does the directory exist?

i m developing a c# window application, in which there is a option to save file. when i click on desktop button which is on the right hand side of the save file dialog i m getting this error.

Does the directory exist and can you navigate to it with windows explorer?

If you save file I recommend you to use

Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

Another solution if your organization does like mine, locate Desktop, Documents and so on on network location you may be disconnected or something in network please check that with your network administrators.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.