PDA

View Full Version : can not find XML files in subdirectories


daviswcom00
09-13-2005, 01:02 AM
Hi,

I'm getting the following err msg when navigating to some of my pages.
XML data is located in subdirectory app_data. I don't know how to use the
Web Application Tool to view folder/directories under the Beta Hosting Account
so I am unable to confirm that xml files are actually in folder. Any help/suggestions
would be appreciated. You can hit my app at url http://beta-178367.server1.dotnetsandbox.net/index.aspx

Thanks, Wayne.

.....here is the err msg


Server Error in '/' Application.


Could not find file 'e:\web\beta-178367\htdocs\App_Data\executive.xml'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not find file 'e:\web\beta-178367\htdocs\App_Data\executive.xml'.

Source Error:





An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:





[FileNotFoundException: Could not find file 'e:\web\beta-178367\htdocs\App_Data\executive.xml'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1885113
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +916
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
System.Web.UI.Control.OpenFileAndGetDependency(Str ing virtualPath, String physicalPath, CacheDependency& dependency) +133
System.Web.UI.WebControls.XmlDataSource.GetReader( String path, String content, CacheDependency& cacheDependency) +224
System.Web.UI.WebControls.XmlDataSource.PopulateXm lDocument(XmlDocument document, CacheDependency& dataCacheDependency, CacheDependency& transformCacheDependency) +296
System.Web.UI.WebControls.XmlDataSource.GetXmlDocu ment() +216
System.Web.UI.WebControls.XmlDataSourceView.Execut eSelect(DataSourceSelectArguments arguments) +24
System.Web.UI.DataSourceView.Select(DataSourceSele ctArguments arguments, DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.Perform Select() +129
System.Web.UI.WebControls.BaseDataBoundControl.Dat aBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.Ens ureDataBound() +82
System.Web.UI.WebControls.CompositeDataBoundContro l.CreateChildControls() +69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +41
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1787

bruce
09-13-2005, 01:11 AM
use FTP to see if the file is there.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

daviswcom00
09-13-2005, 01:38 AM
.....found the problem....when using visual studio copy website utilty I didnt copy folder contents .........


Thanks Bruce, yes that is exactly what I did, used the ftp utility to confirm/verify that the files were in the folders.


Thanks for the quick reply .......................





Wayne.http://community.discountasp.net/emoticons/smile.gif