
Portal User asked a question.
Hi I try to change my Snow Inventory to another SQL server, I already moved de inventorydatabase to the new server, stop de master service and ran the Inventory configuration manager, give the new conection parameters and test the Database Conecction and says "OK" finds the Database and says he will use it, but then send the following error: I hope some one have a clue about what happen?
<?xml version="1.0" encoding="utf-8"?>
<Tasks>
<Task typeName="SetServerConfigurationSetupTask">
<FileName>C:\Program Files\Snow Software\Snow Inventory\Server\snowserver.config</FileName>
<Configuration>BBED29D19AE5EAEA29CBC835A3EC050EBC5712FE23070A6AE5B95785CCAC6042EA8468C50D13EB6927FCEE640DC8D9B78761EAA35D6A45D9E1362A2CC29ACFC4B223C6C2985DC80E24EA9C557717384F8E8D6F32C3F95B1B2CF41446490E1096D185A0A16FB410631916E5F3B8741E38005C31F3EE82262C692EDD6FDD9623005F9124FF0AF7BB80EC73C5462B875B4864C2AF882F89FFCB1BFED519315E2FD0A1E34A07C7326A50BD97A3AF430F1031213984061BEA46801042A70D85DF9D1B26D3954A7F2CEEA5CAEBB6C6DD36B9C38A3AA4A578E522B7F18312B2B00AF77F1CE504D0B3772C1301CBCE33F440C246C5B0F69A7CAF60566CAAC501F58FC58C</Configuration>
</Task>
<TaskOut>
<RunException>
<Type>System.NullReferenceException</Type>
<Message>Object reference not set to an instance of an object.</Message>
<StackTrace> at SnowSoftware.Inventory.Server.Setup.SetServerConfigurationSetupTask.Run(XElement taskOut)
at SnowSoftware.Inventory.Server.Setup.SetupEngine.Run()</StackTrace>
</RunException>
</TaskOut>
</Tasks>
Hi!
Please double check the SQL user permissions on new server. If I am you, temporarily i will assign Sys admin permissions to the inventory user and test it. When you migrate the databases, all users were migrated in database. you need to delete the user from inside the database and remap the user.
Mostly this error occurred when SQL user is not configured correctly.
Have a nice day!
BR,
/Muhammad Irfan
is this inventory server 6.4?? If so there is an issue with this version that you cannot change the config - you will see this error... you need to either install 6.5 or take it back to an earlier version and then upgrade after you make the config change. You will be able to find previous versions as zip files in the backup folder of inventory server