By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,908 Members | 2,041 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,908 IT Pros & Developers. It's quick & easy.

Could not find a part of the path Error (System.IO.__Error.WinIOEr

P: n/a
Hello,

in my company, we have a diagnostic tool for hardware. Depending on the
hardware projcet, a different project configuration is needed. The
configuration file is written in XML and contains information for the
visualization and storage of the retrieved data.

From mid july till now, i have made 4 different configuration sets and
everything was fine. Today, i got the order to make a new configuration set.
When the xml file was ready, i edited the needed *.resx files and compiled
them to a *.dll.

I opened the diagnostic tool and loaded the project. When the project
structure validating process tries to read from the Language Ressource file,
the following error messages pops up:

"No file access possible. Could not find a part of the path "Path to the
local project\Ressources\Language.dll"

From the event Viewer:

1) Exception Information
*********************************************
Exception Type: System.IO.DirectoryNotFoundException
Message: Could not find a part of the path "C:\Program
Files\DiagnosticTool\Workspace\Projects\Projectnum ber\Resources\Language.dll".
TargetSite: Void WinIOError(Int32, System.String)
HelpLink: NULL
Source: mscorlib

StackTrace Information
*********************************************
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath,
Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean
detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at DiagStudio.clsDiagWorkspace.SetCurProject(String ProjPath)

Before the project structure is checked, the project is copied from a
network share to a local folder
(C:\Program Files\DiagnosticTool\Workspace\Projects\Projectnum ber)
All files are copied into this directory.

I also monitored the hole process with sysinternals filemon. The copy
procedure is successfull. When the program tries to open the Language.dll for
reading the ressource string, the open procedure result is indicated as 'Path
not found'. Although i know the file is there.

All completed projects are working. Even if i recompile the language
ressources.

I checked the os permissions on the old and new projects which are the same.
Has someone encountered the same or a comparable problem and could help me?

Thanks.

Alex

Oct 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a


"Alex" wrote:
Hello,

in my company, we have a diagnostic tool for hardware. Depending on the
hardware projcet, a different project configuration is needed. The
configuration file is written in XML and contains information for the
visualization and storage of the retrieved data.

From mid july till now, i have made 4 different configuration sets and
everything was fine. Today, i got the order to make a new configuration set.
When the xml file was ready, i edited the needed *.resx files and compiled
them to a *.dll.

I opened the diagnostic tool and loaded the project. When the project
structure validating process tries to read from the Language Ressource file,
the following error messages pops up:

"No file access possible. Could not find a part of the path "Path to the
local project\Ressources\Language.dll"

From the event Viewer:

1) Exception Information
*********************************************
Exception Type: System.IO.DirectoryNotFoundException
Message: Could not find a part of the path "C:\Program
Files\DiagnosticTool\Workspace\Projects\Projectnum ber\Resources\Language.dll".
TargetSite: Void WinIOError(Int32, System.String)
HelpLink: NULL
Source: mscorlib

StackTrace Information
*********************************************
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath,
Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean
detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at DiagStudio.clsDiagWorkspace.SetCurProject(String ProjPath)

Before the project structure is checked, the project is copied from a
network share to a local folder
(C:\Program Files\DiagnosticTool\Workspace\Projects\Projectnum ber)
All files are copied into this directory.

I also monitored the hole process with sysinternals filemon. The copy
procedure is successfull. When the program tries to open the Language.dll for
reading the ressource string, the open procedure result is indicated as 'Path
not found'. Although i know the file is there.

All completed projects are working. Even if i recompile the language
ressources.

I checked the os permissions on the old and new projects which are the same.
Has someone encountered the same or a comparable problem and could help me?

Thanks.

Alex

Oct 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.