Simphony Inventory Installation MSSQL
Simphony Inventory Installation MSSQL
installation
Installation/interfacing of myinventory
with Simphony on MSSQL
This document describes how to install myinventory and how to interface it with Simphony on MSSQL
Operating System
Following Operating Systems are supported
• Windows Server 2003 32 Bit
• Windows Server 2008 32-Bit
• Windows Server 2008R2 64-Bit
Databases
Following Databases are supported
• Oracle 10g/11i
• MSSQL 2005/2008
Additional requirements
Following additional requirements must be installed
• Internet Information Service
• .net 3.5 framework is required
myinventory application
myinventory application installation files
Please see below a typical myinventory installation package, in this case Version 7.21.
• 120718_ indicate the date when the application was compiled
• 7.21 indicate the myinventory application Version which must always match with the installed
mymicros Version!
• .1407 indicate the Database Version
• The numbers between 7.21 and .1407 indicate the build number
• 7.21 and .1407 should be the same at all applications at one version package
Please go to Start | Settings | Control Panel | Add or Remove Programs and select Add/Remove Windows
Components
Select
• Application Server at the Windows Components Wizard and click on “Details”
and select
• Internet Information Services (IIS) and click on “Details”
and select
• World Wide Web Service and click on “Details”
Please Note: If .net Framework was installed before the IIS, you need to register ASP.NET.
Execute %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i from the
command line.
Please go to Start | All Programs | Administrative Tools | Server Manager and select Features
Please ensure that following components are available if not “Add Features”
• Remote Server Administration Tools
o Role Administration Tools
Web Server (IIS) Tools
o Feature Administration Tools
SMTP Server Tools
• SMTP Server
• SNMP Services
o SNMP Service
o SNMP WMI Provider
• Telnet Client
• Windows Process Activation Service
o Process Model
o .NET Environment
o Configuration API´s
• .NET Framework 3.5.1 Features
o .NET Framework 3.5.1
Please ensure that following components are available if not “Add Role Services”
Role Services
Following Role Service must be selected
• Web Server (Installed)
o Common HTTP Features (Installed)
o Static Content (Installed)
o Default Document (Installed)
o Directory Browsing (Installed)
• Application Development (Installed)
o ASP.NET (Installed)
o .NET Extensibility (Installed)
o ISAPI Extensions (Installed)
o ISAPI Filters (Installed)
• Health and Diagnostics (Installed)
o HTTP Logging (Installed)
o Request Monitor (Installed)
o ODBC Logging (Installed)
• Security (Installed)
o Request Filtering (Installed)
• Performance (Installed)
o Static Content Compression (Installed)
• Management Tools (Installed)
o IIS Management Console (Installed)
o IIS 6 Management Compatibility (Installed)
IIS 6 Metabase Compatibility (Installed)
IIS 6 WMI Compatibility (Installed)
IIS 6 Scripting Tools (Installed)
IIS 6 Management Console (Installed)
• C:\Inetpub\wwwroot\myinventory
• C:\Inetpub\wwwroot\myinventoryWebService
myinventory WebService
Copy the content of the mymicrosWebService application installation files to
C:\Inetpub\wwwroot\myinventoryWebService\
Below message can be ignored as the SQLNet Connection Name was not filled correctly on purpose.
Please select “Next”.
MIA2
Please unzip the installation files of the MIA2 Service.
Create Database
Right click at “Databases” “New Database…”
• Change the “Database Name” to “Simphony” (must be the same as the OrganizationShortName)
MICROS2012MI (Please note that the password must be in capitals with MSSQL as a Case Sensitive
password might cause an issue at MIA2 start)
If MIA2 shows below error on Start up (and MIA2 is not starting / directly stopping) it´s due to the Case Sensitive
password
Please Note: When using Windows Server 2008R2 or any other 64-Bit Operating System please start the “Data
Sources (ODBC)” by double clicking on C:\windows\syswow64\odbcad32 otherwise the connection at the
myinventory Database Updater might fail.
In here you find a section called [win32client.dll] please ensure that it looks like shown below.
The first line must contain “comdll=sqlodb32”
[win32client.dll]
comdll=sqlodb32
;comdll=sqlapipe
;comdll=sqlwsspx
;comdll=sqlntnbi
;comdll=sqlws32
;comdll=sqlora32
[odbcrtr]
remotedbname=Simphony,DSN=Simphony
fmlogini.ini
Please open the “fmlogin.ini” file which can be found at C:\Program Files\myinventory Database Updater\ with a
Text Editor
The fmlogin.ini must look like below. Please ensure that the Organization Short Name is used where below
example is showing Simphony.
Also the password must be set correctly which is in this case MICROS2012MI
[Datenbank]
DB1=Simphony,Simphony
Default=Simphony
[Simphony]
DBLogin=Simphony/Simphony/MICROS2012MI,Simphony,myinvenmenu.ini
ApplINI=settings.ini
A log file of the update process can be found at C:\Program Files\myinventory Database Updater\LOG\update.log
If any problem occurs this log file is mandatory when escalating a Clarify Subcase and must therefore be attached
to the case.
Please Note that you will run into an error when running a reorganization with MSSQL 2005 and myinventory
Version 7.2x, 7.3x and potentially 8.0x
This issue will not appear when using MSSQL 2008
select @BILANZSTART = x.ini_value from profile x, PROFILES p where INI ... 2715 0 2012-12-12 2012-12-12
2012-12-12-12.19.31.020000-Admin -3596 ROLLBACK END Update ... 0 0 2012-12-12 2012-12-12
2012-12-12-12.19.31.020000-Admin -3597 Remark END sfunctions.prc ... 0 0 2012-12-12 2012-12-12
Original
################################
Once the changes are applied please re-run the “Reorganization” and it will complete successfully.
Configuration of web.config
myinventory application
Please open “C:\Inetpub\wwwroot\myinventory\web.config” with a Text editor
Following sections “<add key…> must be modified
<appSettings>
<add key="SERVER" value="2003DSSQL2005"/>
In here the MSSQL Server name is expected
MIA2 configuration
Modification of FILIALE Table
Login to MSSQL Server Management Studio and start a new query at the myinventory database which is in this
case Simphony.
Please execute below otherwise the MIA2 Scheduler will not start.
Please click on “Start” and the “Service state” must change from “Stopped” to “Started”.
Please change “First failure”, “Second failure” and “Subsequent failure” to “Restart the Service”
In case of specific error messages the Service will try to repair itself by automatically restarting the Service.
Please open the Internet Information Service which can be found at Start | Control Panel | Administrative Tools
At “Application Pools” please do a right click and add a separate application pool for myinventory.
The “Application pool ID” must be called myinventory and “Use existing application as template” Application pool
name “DefaultAppPool” must be chosen.
Please click on “OK”
Please switch also to the ASP.NET tab and verify that ASP.NET version 2.0.50727 is selected.
Please do a right click at myinventoryWebService at Default Web Site and click on “Properties”
Please click on “Create” next to the “Application Name”
Please switch also to the ASP.NET tab and verify that ASP.NET version 2.0.50727 is selected.
Please create a new “Virtual Directory…” by doing a right click on Web Sites | Default Web Site.
Please open the Internet Information Service which can be found at Start | All Programs | Administrative Tools |
Internet Information Service (IIS) Manager
At “Application Pools” please do a right click and add a separate application pool for myinventory.
• The “Name” must be called “myinventory”,
• the “.NET Framework version:” must be “.NET Framework v2.0.50727” and
• “Managed pipeline mode” must be “Integrated”.
• Please ensure that “Start application pool immediately” is selected.
Click on “OK”
After this the yellow folder icon of myinventory will change into below.
Please do a right click at myinventoryWebService at Default Web Site and click on “Convert to Application”
After this the yellow folder icon of myinventory will change into below.
Please create a new “Virtual Directory…” by doing a right click on Web Sites | Default Web Site | Add Virtual
Directory.
Please add following Users at folder “Inetpub” by using “Sharing and Security”
• ASPNET
• Authenticated Users
• IIS_WPG
• IUSR
• IWAM
Enter at Internet Explorer or Firefox http://localhost:8000/myinventory which should open the myinventory login
page.
Please Note: This might take a couple of seconds which is the expected behavior after an iisreset.
This will then show you the myinventory Classic Main Menu.
update dbo.core_organization
set enableinventory=1,
inventorywebsvcsURL='http://localhost:8000/myinventoryWebService/HTNGListener.asmx',
webSvcsUserName='ADMIN',
WebSvcsPassword='SPRING2009'
where organizationid=10001
/* myinvservice */
update dbo.profile set ini_value = 'http://172.28.97.98:8000/myinventorywebservice/HTNGListener.asmx,ADMIN,SPRING2009'
where INI_SECTION = 'WEBCLIENT' and INI_ITEM ='WEBSERVICEMYINV';
The 2 above queries can also be inserted through the myinventory application | Maintenance | Configurations |
WEBCLIENT
Please use CTRL+ALT+0 (Don´t use the keypad for zero) to see the hidden parameters.
When pressing CTRL+ALT+0 a field will come up at the left bottom and you need to enter the result from
Today´s date, i.e. 18.12.2012 = 18+12+2012 = 2042
WEBSERVICEMYINV and WEBSERVICEMYMICROS are the ini_values which has been inserted through a
query.
The entry must look like below while the ip address must match with the mymicros/myinventory Web Server
Server and training can be replaced with i.e. the customer name.
172.28.97.98 training
172.28.97.98 myinventory.training
microsconfig.properties
Modify microsconfig.properties to log through mymicros into myinventory.
Please ensure that the yellow highlighted part is correctly set and correspond with the hosts entries.
# Url to the system hosting the inventory system. Generally something in the
# form http://www.myinventory.net/WebClient/ or http://65.173.246.217/WebClient/
inventoryUrl=http://training:8000/myinventory
myInventory.version=7.2
Restart MICROS Portal Service (Start | Run | services.msc) after changing microsconfig.properties
Please refer to the mymicros manuals if any additional information´s are required for this.
Synchronize first Organizations and then Users otherwise it will fail as Users are linked to Org Levels.
********************************************************************************
2012.12.18, 16:39:09 - Admin - Simphony orgDef - Started (Version: 1.17)
2012.12.18, 16:39:18 - Admin - Simphony orgDef - Ended (14 records processed, 13 inserted, 1 updated, 0 errors)
********************************************************************************
2012.12.18, 16:42:12 - Admin - Simphony userDef - Started (Version: 1.12)
2012.12.18, 16:42:13 - Admin - Simphony userDef - Ended (7 records processed, 6 inserted, 0 updated, 1 errors)
Login directly into myinventory (bypassing mymicros by using http://localhost:8000/myinventory) and assign
User/Role rights to Sys Admin group and others.
Please create a “New Virtual Directory” at “Default Web Site” within IIS.
Once this is configured the users will be able to upload pictures through the myinventory application as well as
seeing pictures on recipes or printouts.
Please create a new “Virtual Directory…” by doing a right click on Web Sites | Default Web Site | Add Virtual
Directory.
To
Simphony.dbo.dailytotals z,
Simphony.dbo.warengruppe y,
Simphony.dbo.artikel x,
Simphony.dbo.kostst k
D:\Micros\Simphony\MyMicros\myInsight\org\10001\reports\
The \Rst\ folder contains also B2B and Back Office Interface (Closed Financial Period) template/Interface file.
No part of this publication may be reproduced, photocopied, stored on a retrieval system, or transmitted without the express prior written consent of the publisher. MICROS-
FIDELIO GmbH retains the right to update or change the contents of this document without prior notice. MICROS-FIDELIO GmbH assumes no responsibility for the contents
of this document.
Disclaimer: This document or any part of it is for the sole purpose of MICROS-FIDELIO GmbH and the vendor reviewing and following the rules of the Certification Process. It
is not intended for Public distribution in any form and is regulated by a Confidentiality Agreement in place between both parties.