Jump to content

Error after install


exterminador

Recommended Posts

Hi guys,

 

I installed the 0.8.8.466 Daminion Server version. I uninstalled the previous version along with Postgre and deleted user account and every data and database folder I found about the two applications.

 

I installed using the custom option, changed the Postgre data folder, service username/password and Daminion's data directory, everything else was left with default values.

 

After installing the new version I get this error inmediately after opening the Server Manager (I haven't installed the client yet):

 

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Illegal characters in path.
  at System.IO.Path.CheckInvalidPathChars(String path)
  at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
  at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
  at System.IO.Path.GetFullPathInternal(String path)
  at System.IO.DirectoryInfo..ctor(String path)
  at Service.Server.Panel.MainForm.ShowInfoAsync(Object sender, TwoObjEventArgs`2 args) in c:\DaminionAuto\Code\ServerSideComponents\Service.Server.Panel\MainForm.cs:line 152


************** Loaded Assemblies **************
mscorlib
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4963 (win7RTMGDR.050727-4900)
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Daminion.Server.Panel
   Assembly Version: 1.0.0.0
   Win32 Version: 1.0.0.0
   CodeBase: file:///C:/Program%20Files/Daminion%20Software/Daminion%20Server/Daminion.Server.Panel.exe
----------------------------------------
System.Windows.Forms
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4962 (win7RTMGDR.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.ServiceProcess
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
PicaJet.Daminion.Service
   Assembly Version: 0.8.8.466
   Win32 Version: 0.8.8.466
   CodeBase: file:///C:/Program%20Files/Daminion%20Software/Daminion%20Server/PicaJet.Daminion.Service.DLL
----------------------------------------
System.Configuration
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
   Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
   CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
   <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

 

 

The error log at C:\Program Files\Daminion Software\Daminion Server\Logs\server.txt shows:

 

2011-12-08 20:22:36,960 [6] ERROR Service.WCF.ServerService.DaminionService [(null)] - System.ArgumentException: Illegal characters in path.
  at System.IO.Path.CheckInvalidPathChars(String path)
  at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
  at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
  at System.IO.Path.GetFullPathInternal(String path)
  at System.IO.File.GetAttributes(String path)
  at PicaJet.Daminion.Service.Utils.UniversalCatalogService..ctor(IMediaStorage mediaStorage, IMetadataService metadataService, IPathProvider pathProvider, IFileWork fileWork, IDatabaseEnvironment databaseEnvironment, IVersionControlBehavior versionControlBehavior) in c:\DaminionAuto\Code\Service.Utils.Uni\UniversalCatalogService.cs:line 210
  at PicaJet.Daminion.Service.Utils.UniversalClientCatalogService..ctor(IMediaStorage mediaStorage, IMetadataService metadataService, IPathProvider pathProvider, IFileWork fileWork, IDatabaseEnvironment databaseEnvironment, IVersionControlBehavior versionControlBehavior) in c:\DaminionAuto\Code\Service.Utils.Uni\UniversalClientCatalogService.cs:line 10
  at PicaJet.Daminion.Service.Utils.Postgres.PostgresServerSideServiceLocator.GetCatalogService(String catalogPath) in c:\DaminionAuto\Code\Service.Utils.Postqres\PostgresServerSideServiceLocator.cs:line 33
  at PicaJet.Daminion.Service.WCF.CatalogService..ctor(String catalogName) in c:\DaminionAuto\Code\Server.WCF\CatalogService.cs:line 43
  at PicaJet.Daminion.Service.WCF.CatalogServiceHost..ctor(String catalogPath) in c:\DaminionAuto\Code\Server.WCF\CatalogServiceHost.cs:line 22
  at Service.WCF.ServerService.DaminionService.OnStart(String[] args) in c:\DaminionAuto\Code\ServerSideComponents\Service.WCF.ServerService\DaminionService.cs:line 62
2011-12-08 20:36:46,756 [1] ERROR PicaJet.Daminion.Service.Server.Command.CreateCatalogCommand [(null)] - Error : (0)
System.NullReferenceException: Object reference not set to an instance of an object.
  at PicaJet.Daminion.Service.Utils.Postgres.PostgresSchemaModifier.ExistsCatalog(String catalogPath) in c:\DaminionAuto\Code\Service.Utils.Postqres\PostgresSchemaModifier.cs:line 97
  at PicaJet.Daminion.Service.Utils.CatalogMediumManager.GetCatalogMedium(String catalogPath, Boolean forceCreate) in c:\DaminionAuto\Code\Service.Utils\CatalogMediumManager.cs:line 173
  at PicaJet.Daminion.Service.Utils.Postgres.PostgresServerSideServiceLocator.CreateCatalog(String catalogPath) in c:\DaminionAuto\Code\Service.Utils.Postqres\PostgresServerSideServiceLocator.cs:line 58
  at PicaJet.Daminion.Service.Server.Command.CreateCatalogCommand.Start(DbConnection connection) in c:\DaminionAuto\Code\ServerSideComponents\Service.Server.Uni\Command\CreateCatalogCommand.cs:line 19
  at PicaJet.Daminion.Service.Utils.DbCommand.Start() in c:\DaminionAuto\Code\Service.DB\DbCommand.cs:line 70
  at PicaJet.Daminion.Service.Utils.DbCommand.Process() in c:\DaminionAuto\Code\Service.DB\DbCommand.cs:line 41
2011-12-08 20:36:46,781 [1] ERROR Service.WCF.ServerService.DaminionService [(null)] - System.NullReferenceException: Object reference not set to an instance of an object.
  at PicaJet.Daminion.Service.Utils.Postgres.PostgresSchemaModifier.ExistsCatalog(String catalogPath) in c:\DaminionAuto\Code\Service.Utils.Postqres\PostgresSchemaModifier.cs:line 97
  at PicaJet.Daminion.Service.Utils.CatalogMediumManager.GetCatalogMedium(String catalogPath, Boolean forceCreate) in c:\DaminionAuto\Code\Service.Utils\CatalogMediumManager.cs:line 173
  at PicaJet.Daminion.Service.Utils.Postgres.PostgresServerSideServiceLocator.CreateCatalog(String catalogPath) in c:\DaminionAuto\Code\Service.Utils.Postqres\PostgresServerSideServiceLocator.cs:line 58
  at PicaJet.Daminion.Service.Server.Command.CreateCatalogCommand.Start(DbConnection connection) in c:\DaminionAuto\Code\ServerSideComponents\Service.Server.Uni\Command\CreateCatalogCommand.cs:line 19
  at PicaJet.Daminion.Service.Utils.DbCommand.Start() in c:\DaminionAuto\Code\Service.DB\DbCommand.cs:line 70
  at PicaJet.Daminion.Service.Utils.DbCommand.Process() in c:\DaminionAuto\Code\Service.DB\DbCommand.cs:line 52
  at PicaJet.Daminion.Service.Server.CatalogManager.CreateCatalog(String catalogName) in c:\DaminionAuto\Code\ServerSideComponents\Service.Server.Uni\CatalogManager.cs:line 94
  at Service.WCF.ServerService.DaminionService.CheckDatabase(String databaseServer, Int32 databasePort, String databaseUser, String databasePassword, String catalogName, String mediaStorePath) in c:\DaminionAuto\Code\ServerSideComponents\Service.WCF.ServerService\DaminionService.cs:line 163
2011-12-08 20:36:46,820 [7] ERROR Service.WCF.ServerService.DaminionService [(null)] - System.ArgumentException: Illegal characters in path.
  at System.IO.Path.CheckInvalidPathChars(String path)
  at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
  at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
  at System.IO.Path.GetFullPathInternal(String path)
  at System.IO.File.GetAttributes(String path)
  at PicaJet.Daminion.Service.Utils.UniversalCatalogService..ctor(IMediaStorage mediaStorage, IMetadataService metadataService, IPathProvider pathProvider, IFileWork fileWork, IDatabaseEnvironment databaseEnvironment, IVersionControlBehavior versionControlBehavior) in c:\DaminionAuto\Code\Service.Utils.Uni\UniversalCatalogService.cs:line 210
  at PicaJet.Daminion.Service.Utils.UniversalClientCatalogService..ctor(IMediaStorage mediaStorage, IMetadataService metadataService, IPathProvider pathProvider, IFileWork fileWork, IDatabaseEnvironment databaseEnvironment, IVersionControlBehavior versionControlBehavior) in c:\DaminionAuto\Code\Service.Utils.Uni\UniversalClientCatalogService.cs:line 10
  at PicaJet.Daminion.Service.Utils.Postgres.PostgresServerSideServiceLocator.GetCatalogService(String catalogPath) in c:\DaminionAuto\Code\Service.Utils.Postqres\PostgresServerSideServiceLocator.cs:line 33
  at PicaJet.Daminion.Service.WCF.CatalogService..ctor(String catalogName) in c:\DaminionAuto\Code\Server.WCF\CatalogService.cs:line 43
  at PicaJet.Daminion.Service.WCF.CatalogServiceHost..ctor(String catalogPath) in c:\DaminionAuto\Code\Server.WCF\CatalogServiceHost.cs:line 22
  at Service.WCF.ServerService.DaminionService.OnStart(String[] args) in c:\DaminionAuto\Code\ServerSideComponents\Service.WCF.ServerService\DaminionService.cs:line 62

 

Any ideas of what can I change for it to work?

 

Thanks!

Link to comment
Share on other sites

I figured out what was it, I think I accidentally added a quote at the end of the data folder path:

 

<serviceSection catalogName="NetCatalog" databaseUser="postgres" databasePassword="postgres" mediaStorePath="E:\Data\Daminion Data"" databasePort="5432">

 

 

Removed the quote text and it is working OK now.

I figured it out by looking at the server administration screen at the bottom.

 

Thanks!

Link to comment
Share on other sites

Did you add the quotes in the Installation wizard?

 

I do not recall adding it but I guess I did because I installed the server several times as I was getting the error in the image when installing using the custom (advanced) mode to be able to change the Postgre data folder, and I didn't find the quote issue anymore.

 

post-97-0-71893800-1323486251_thumb.png

 

I did a lot of uninstalls/reboots/installs and I finally got to install through the custom mode changing the Postgre data folder to what I needed. I think the issue was I was not deleting the Postgre and Daminion data folders after uninstalling. I'm starting to build my catalog in this install so I guess (hope :P) I won't be uninstalling Postgre again.

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...