error after uploading my site

Discussion in 'ASP.NET / ASP.NET Core' started by Tope, May 4, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Ps could anyone read and post answer for my article or some one should help if he or she had uploaded a customized portal sample before. Ps see the error below.



    Ajayi6



    Server Error in '/' Application.


    Could not find a part of the path "E:\web\nationalind\htdocs\PortalVBVS\PortalCfg.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.DirectoryNotFoundException: Could not find a part of the path "E:\web\nationalind\htdocs\PortalVBVS\PortalCfg.xml".

    Source Error:





    Code:
    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:





    Code:
    [DirectoryNotFoundException: Could not find a part of the path "E:\web\nationalind\htdocs\PortalVBVS\PortalCfg.xml".]
       System.IO.__Error.WinIOError(Int32 errorCode, String str) +287
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) +888
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +45
       System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +73
       System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55
       System.Xml.XmlTextReader.CreateScanner() +384
       System.Xml.XmlTextReader.Init() +23
       System.Xml.XmlTextReader.Read() +530
       System.Xml.XmlReader.MoveToContent() +75
       System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +145
       System.Data.DataSet.ReadXml(String fileName) +63
       ASPNET.StarterKit.Portal.Configuration.GetSiteSettings()
       ASPNET.StarterKit.Portal.PortalSettings..ctor(Int32 tabIndex, Int32 tabId)
       ASPNET.StarterKit.Portal.Global.Application_BeginRequest(Object sender, EventArgs e)
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
    

    Version Information:Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032<!--
    [DirectoryNotFoundException]: Could not find a part of the path 'E:\web\nationalind\htdocs\PortalVBVS\PortalCfg.xml'.
    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)
    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
    at System.Xml.XmlTextReader.CreateScanner()
    at System.Xml.XmlTextReader.Init()
    at System.Xml.XmlTextReader.Read()
    at System.Xml.XmlReader.MoveToContent()
    at System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving)
    at System.Data.DataSet.ReadXml(String fileName)
    at ASPNET.StarterKit.Portal.Configuration.GetSiteSettings()
    at ASPNET.StarterKit.Portal.PortalSettings..ctor(Int32 tabIndex, Int32 tabId)
    at ASPNET.StarterKit.Portal.Global.Application_BeginRequest(Object sender, EventArgs e)
    at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    --><!--
    This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
     
  2. The application is looking for portalcfg.xm in your PortalVBVS directory, did you check if the file exist?
     
  3. Hi Danny,
    I can not find the file,but i have started using ftp voyager to re-upload the site.
    I would get back to you later once am through with it.

    Thanks
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page