Error on opening project: No database file path for template specified.

  • Hello,
    My client wanted to open his website project and got the following message:


    "No database
    file path for template specified."



    How can I solve this for the client? His latest backup is from July 2013, so I'm afraid to restore a backup is no option.


    I would aprreciate any form of help, tips etc.
    Thanks a lot!


    Regards,
    Marion


    Here are the details of the error:
    at
    ZetaProducer.RuntimeBusinessLogic.Code.Template.Entities.TemplateProject.get_ConnectionString()
    at
    ZetaProducer.RuntimeBusinessLogic.Code.Template.Entities.TemplateProject.Load(FileOrDirectoryInfo
    path)
    at
    ZetaProducer.RuntimeBusinessLogic.Code.Template.Managers.TemplateProjectsManager.GetTemplateProjectByFolder(String
    templateFolder, Boolean loadIfNotPresent)
    at
    ZetaProducer.RuntimeBusinessLogic.Code.Webbing.Entities.WebSettingsTemplateLink.get_TemplateProject()
    at
    ZetaProducer.Main.UI.Main.MainForm.checkUpgradeAllProjects(WebProject
    webProject, Boolean force)
    at ZetaProducer.Main.UI.Main.MainForm.<>c__DisplayClass25.<webProject_CheckOpen>b__23()
    at
    Zeta.EnterpriseLibrary.Windows.Common.FormHelper.SyncInvoke(Control control,
    MethodInvoker del)
    at
    ZetaProducer.Main.UI.Main.MainForm.webProject_CheckOpen(Object sender,
    WebProjectCheckOpenEventArgs e)
    at
    ZetaProducer.RuntimeBusinessLogic.Code.Webbing.Projects.WebProject.DoCheckOpen(Boolean
    alert, Boolean select)
    at
    ZetaProducer.RuntimeBusinessLogic.Code.Webbing.Projects.WebProject.Load(FileOrDirectoryInfo
    path)
    at ZetaProducer.Main.UI.Main.MainForm.doOpenWebProject(FileOrDirectoryInfo
    fileOrFolderPath, Boolean handleCommandLine)
    at
    ZetaProducer.Main.UI.Main.MainForm.highLevelLoadProject(IWin32Window owner)
    at
    ZetaProducer.Main.UI.Main.MainForm.openWebprojectToolStripMenuItem_Click(Object
    sender, EventArgs e)
    at
    System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at
    System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at
    System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs
    e)
    at
    System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
    ToolStripItemEventType met)
    at
    System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
    ToolStripItemEventType met)
    at
    System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at
    System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at
    System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button,
    Int32 clicks)
    at
    System.Windows.Forms.Control.WndProc(Message& m)
    at
    System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at
    System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at
    System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&
    m)
    at
    System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at
    System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
    wparam, IntPtr lparam)


    Exception
    {
    Message="No database file
    path for template specified.",
    Data=ListDictionaryInternal
    {
    Count=0,
    Keys=NodeKeyValueCollection
    {
    },
    IsReadOnly=False,
    IsFixedSize=False,
    IsSynchronized=False,
    SyncRoot=Object
    {
    },
    Values=NodeKeyValueCollection
    {
    }
    },
    InnerException=null,
    TargetSite=RuntimeMethodInfo:
    get_ConnectionString,
    StackTrace=" at
    ZetaProducer.RuntimeBusinessLogic.Code.Template.Entities.TemplateProject.get_ConnectionString()\\r\\n at
    ZetaProducer.RuntimeBusinessLogic.Code.Template.Entities.TemplateProject.Load(FileOrDirectoryInfo
    path)\\r\\n at ZetaProducer.RuntimeBusinessLogic.Code.Template.Managers.TemplateProjectsManager.GetTemplateProjectByFolder(String
    templateFolder, Boolean loadIfNotPresent)\\r\\n at
    ZetaProducer.RuntimeBusinessLogic.Code.Webbing.Entities.WebSettingsTemplateLink.get_TemplateProject()\\r\\n at
    ZetaProducer.Main.UI.Main.MainForm.checkUpgradeAllProjects(WebProject
    webProject, Boolean force)\\r\\n at
    ZetaProducer.Main.UI.Main.MainForm.<>c__DisplayClass25.<webProject_CheckOpen>b__23()\\r\\n at
    Zeta.EnterpriseLibrary.Windows.Common.FormHelper.SyncInvoke(Control control,
    MethodInvoker del)\\r\\n at
    ZetaProducer.Main.UI.Main.MainForm.webProject_CheckOpen(Object sender,
    WebProjectCheckOpenEventArgs e)\\r\\n
    at
    ZetaProducer.RuntimeBusinessLogic.Code.Webbing.Projects.WebProject.DoCheckOpen(Boolean
    alert, Boolean select)\\r\\n at
    ZetaProducer.RuntimeBusinessLogic.Code.Webbing.Projects.WebProject.Load(FileOrDirectoryInfo
    path)\\r\\n at
    ZetaProducer.Main.UI.Main.MainForm.doOpenWebProject(FileOrDirectoryInfo
    fileOrFolderPath, Boolean handleCommandLine)\\r\\n at
    ZetaProducer.Main.UI.Main.MainForm.highLevelLoadProject(IWin32Window
    owner)\\r\\n at
    ZetaProducer.Main.UI.Main.MainForm.openWebprojectToolStripMenuItem_Click(Object
    sender, EventArgs e)\\r\\n at
    System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs
    e)\\r\\n at
    System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)\\r\\n at
    System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)\\r\\n at
    System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)\\r\\n at
    System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
    ToolStripItemEventType met)\\r\\n at
    System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
    ToolStripItemEventType met)\\r\\n at
    System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)\\r\\n at
    System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)\\r\\n at
    System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button,
    Int32 clicks)\\r\\n at
    System.Windows.Forms.Control.WndProc(Message& m)\\r\\n at
    System.Windows.Forms.ScrollableControl.WndProc(Message& m)\\r\\n at
    System.Windows.Forms.ToolStrip.WndProc(Message& m)\\r\\n at
    System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)\\r\\n at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&
    m)\\r\\n at
    System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&
    m)\\r\\n at
    System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
    wparam, IntPtr lparam)",
    HelpLink=null,
    Source="ZetaProducer.RuntimeBusinessLogic"














































































































    }

  • Hi,


    you need to send us the Project so we can check what's wrong. Just zip-compress the folder containing the Project (which you can find inside the Projects folder in the Zeta Producer folder).


    Please use https://www.zeta-uploader.com/en to send the zip file. Make sure to include your E-Mail and a link to this forum post (as reference) into the "Remarks" field. The "E-mail" field takes the recipient address which is support[at]zeta-producer.com (replace [at] with @).

  • Hi,


    ok, then just duplicate your project folder and in the duplicated folder, delete the "Ausgabe" (Output) folder as well as the "media" folder which you'll find in the "web" folder. Then zip the duplicated project folder. That should significantly reduce the filesize.
    The maximum allowed filesize for zeta-uploader is 500MB though.