Could not find a part of the path :-(

Could not find a part of the path :-(

Post by SmVuQ » Sat, 23 Sep 2006 17:26:01


Hi,

I know that other people have had this problem and i have read through all
of the comments but I keep getting this error no matter what i try. :-(

Basically, I have a Web app that reads xsl files to format web pages. In
some of the xsl files they refference a particular xsl i.e. <xsl:import
href="/_test/dates.xsl"/>

When these 'pages' are loaded the following error message is displayed:
"Could not find a part of the path
"s:\inetpub\wwwroot\backoffice\_shared\dates.xsl"."

When the href is commented out i do not get this error but this is not a
solution.

This error is only appearing in one environment i.e. UA and not in any of
the others. I am in the process of comparing information in the two
environments (the one that works and the one that doesnt) to see if I can
spot any obvious differences.

Any information or advice regarding this would be greatly appreciated, as
this beginning to drive me mad. ;-)

I am sure it is something obvious except I cant see it at the moment.

Thanks in advance.
Jen
 
 
 

1. Could not find a part of the path - User control from within I

2. Error: Could not find a part of the path / Reading and Writing to files in ASP.Net

Hello,

I'm trying to read a text file located in the top folder of the virtual
directory and I'm receiving the following error:

"Could not find a part of the path"

Below is the code that I'm using:

string MyFile;
MyFile =Request.ApplicationPath + "//sample1.txt";
StreamReader srReader;
srReader = new StreamReader(MyFile);
txtMessage.Text = srReader.ReadLine();

I have tried both "Windows" and "None" for "Authentication mode".

Any ideas?

Thanks & Regards,

TC

3. Could Not Find Part of a Path

4. Exception - Could not find a part of the path "D:\"

5. DirectoryNotFoundException - Could not find a part of the path "D:\".

6. could not find a part of the path...

7. "Could not find a part of the path" error message

8. could not find a part of the path error-VS2K5

9. Could not find a part of the path

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

11. System.IO.DirectoryNotFoundException: Could not find a part of the path

12. Could not find a part of the path "C:\temp\".

13. Could not find a part of the path - User control from within IE