'Could not find a part of the path' error!!

'Could not find a part of the path' error!!

Post by SmVuQ » Fri, 22 Sep 2006 23:46:02


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 error-VS2K5

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

Hello,

Request.ApplicationPath will return a virtual path string like
"/WebApplication1". However, StreamReader require a physical path like
"C:\inetpub\webapplication1\sample.txt". To convert a virtual path to
physical path, we can use MapPath method:

MyFile =Server.MapPath(Request.ApplicationPath + "//sample1.txt");

Hope this help,

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

3. ASP.NET Runtime Error: Could not find a part of path

4. Path File Load Error Path Not Found(3)

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

6. Could not find a part of the path

7. Directory.CreateDirectory - Could not find a part of the path

8. Windows Server 2003/IIS 6.0/ASP.NET "Could not find a part of the path"

9. Could not find a part of the path :-(

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

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

12. Could not find a part of the path

13. DirectroyNotFoundException: Can not find a part of the path