Options

Unable to start Navision service on Navision 2009 R2?

postsauravpostsaurav Member Posts: 708
edited 2011-03-25 in NAV Three Tier
Hi everyone i have installed navision 2009 R2.

Classic is working fine but for RTC as i try to start my service it gives an error

"The Microsoft Dynamics NAV Business Web Services service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."


I tried using adminstrator user account, local system account and as network service but its not getting started.

Can anybody have idea how to do it.

Please reply

Thanks in advance.:)

Thanks & Regards,
Saurav Dhyani

Do you Know this About NAV?


Connect - Twitter | Facebook | Google + | YouTube

Follow - Blog | Facebook Page | Google + Page

Answers

  • Options
    dipakpatel2505dipakpatel2505 Member Posts: 169
    Hello,

    Follow the steps given below:

    Go to Start -> Run and enter "regedit" to edit registery.
    Go to HKYA_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows NT ->CurrentVersions -> Time Zone
    Search for "India Standard Time" Folder and exact copy the folder name
    and the replace Copied name with "UTC" (Search this world in your custom setting file)
    in Custom Setting file of NAVISION.Then try to start Web Services.

    I request to you read your CustomSettings.config file of NAVISION properly. Instructions are also given there in comment.

    Let me know if you are still facing problem for starting Web Services.

    With Best Regards,
    Dipak Patel
  • Options
    tonypangtonypang Member Posts: 101
    I still having the problem to start the web service ?
    NAV
  • Options
    miken66miken66 Member, Microsoft Employee Posts: 4
    The issue is with a change that was made on the sever in Dynamics NAV 2009 R2 related to web services and timezones. Here is the info from the help file:

    Defining the Time Zone for Web Services
    The CustomSettings.config file, which is the Microsoft Dynamics NAV Server configuration file, now has a WebServicesDefaultTimeZone setting. You use this setting to define the time zone in which web service calls are run.

    The issue is that the default is “UTC” in the customsettings.config file on the server. Some OS Language and Country installations do not populate in the Registry the UTC entry. (Windows Server 2008 with SP2, English, India is one of those OS, Language and Country combinations.) The Web Server Service and the NAV service will not start if they don’t find the timezone that is configured in the customsettings.conf file. This is what we believe is happening in this case.

    How to fix this? You need to edit the CustomSettings.config file. This file should be located on the install drive in the following location: \program files\Microsoft Dynamics NAV\60\Service if you are on 32 bit OS and in \program files (x86)\Microsoft Dynamics NAV\60\Service if you are on 64 bit OS.

    If you want the same behavior as in SP1 then edit the CustomSettings.config file and delete UTC from the configuration. The line would look like this:
    <add key="WebServicesDefaultTimeZone" value=""/>

    If you wish to configure this to a different time zone than UTC then you can select from the list that should be in the bottom part of the event log message that shows that the Service did not start. In my event log message I had this list:

    (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi: "Server Time Zone"
    (GMT-12:00) International Date Line West: "Dateline Standard Time"
    (GMT-11:00) Midway Island, Samoa: "Samoa Standard Time"
    (GMT-10:00) Hawaii: "Hawaiian Standard Time"
    (GMT-09:00) Alaska: "Alaskan Standard Time"
    (GMT-08:00) Pacific Time (US & Canada): "Pacific Standard Time"
    (GMT-08:00) Tijuana, Baja California: "Pacific Standard Time (Mexico)"
    (GMT-07:00) Arizona: "US Mountain Standard Time"
    (GMT-07:00) Chihuahua, La Paz, Mazatlan: "Mountain Standard Time (Mexico)"
    (GMT-07:00) Mountain Time (US & Canada): "Mountain Standard Time"
    (GMT-06:00) Central America: "Central America Standard Time"
    (GMT-06:00) Central Time (US & Canada): "Central Standard Time"
    (GMT-06:00) Guadalajara, Mexico City, Monterrey: "Central Standard Time (Mexico)"
    (GMT-06:00) Saskatchewan: "Canada Central Standard Time"
    (GMT-05:00) Bogota, Lima, Quito, Rio Branco: "SA Pacific Standard Time"
    (GMT-05:00) Eastern Time (US & Canada): "Eastern Standard Time"
    (GMT-05:00) Indiana (East): "US Eastern Standard Time"
    (GMT-04:30) Caracas: "Venezuela Standard Time"
    (GMT-04:00) Atlantic Time (Canada): "Atlantic Standard Time"
    (GMT-04:00) La Paz: "SA Western Standard Time"
    (GMT-04:00) Manaus: "Central Brazilian Standard Time"
    (GMT-04:00) Santiago: "Pacific SA Standard Time"
    (GMT-03:30) Newfoundland: "Newfoundland Standard Time"
    (GMT-03:00) Brasilia: "E. South America Standard Time"
    (GMT-03:00) Buenos Aires: "Argentina Standard Time"
    (GMT-03:00) Georgetown: "SA Eastern Standard Time"
    (GMT-03:00) Greenland: "Greenland Standard Time"
    (GMT-03:00) Montevideo: "Montevideo Standard Time"
    (GMT-02:00) Mid-Atlantic: "Mid-Atlantic Standard Time"
    (GMT-01:00) Azores: "Azores Standard Time"
    (GMT-01:00) Cape Verde Is.: "Cape Verde Standard Time"
    (GMT) Casablanca: "Morocco Standard Time"
    (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London: "GMT Standard Time"
    (GMT) Monrovia, Reykjavik: "Greenwich Standard Time"
    (GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna: "W. Europe Standard Time"
    (GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague: "Central Europe Standard Time"
    (GMT+01:00) Brussels, Copenhagen, Madrid, Paris: "Romance Standard Time"
    (GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb: "Central European Standard Time"
    (GMT+01:00) West Central Africa: "W. Central Africa Standard Time"
    (GMT+02:00) Amman: "Jordan Standard Time"
    (GMT+02:00) Athens, Bucharest, Istanbul: "GTB Standard Time"
    (GMT+02:00) Beirut: "Middle East Standard Time"
    (GMT+02:00) Cairo: "Egypt Standard Time"
    (GMT+02:00) Harare, Pretoria: "South Africa Standard Time"
    (GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius: "FLE Standard Time"
    (GMT+02:00) Jerusalem: "Israel Standard Time"
    (GMT+02:00) Minsk: "E. Europe Standard Time"
    (GMT+02:00) Windhoek: "Namibia Standard Time"
    (GMT+03:00) Baghdad: "Arabic Standard Time"
    (GMT+03:00) Kuwait, Riyadh: "Arab Standard Time"
    (GMT+03:00) Moscow, St. Petersburg, Volgograd: "Russian Standard Time"
    (GMT+03:00) Nairobi: "E. Africa Standard Time"
    (GMT+03:00) Tbilisi: "Georgian Standard Time"
    (GMT+03:30) Tehran: "Iran Standard Time"
    (GMT+04:00) Abu Dhabi, Muscat: "Arabian Standard Time"
    (GMT+04:00) Baku: "Azerbaijan Standard Time"
    (GMT+04:00) Yerevan: "Caucasus Standard Time"
    (GMT+04:30) Kabul: "Afghanistan Standard Time"
    (GMT+05:00) Ekaterinburg: "Ekaterinburg Standard Time"
    (GMT+05:00) Islamabad, Karachi: "Pakistan Standard Time"
    (GMT+05:00) Tashkent: "West Asia Standard Time"
    (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi: "India Standard Time"
    (GMT+05:30) Sri Jayawardenepura: "Sri Lanka Standard Time"
    (GMT+05:45) Kathmandu: "Nepal Standard Time"
    (GMT+06:00) Almaty, Novosibirsk: "N. Central Asia Standard Time"
    (GMT+06:00) Astana, Dhaka: "Central Asia Standard Time"
    (GMT+06:30) Yangon (Rangoon): "Myanmar Standard Time"
    (GMT+07:00) Bangkok, Hanoi, Jakarta: "SE Asia Standard Time"
    (GMT+07:00) Krasnoyarsk: "North Asia Standard Time"
    (GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi: "China Standard Time"
    (GMT+08:00) Irkutsk, Ulaan Bataar: "North Asia East Standard Time"
    (GMT+08:00) Kuala Lumpur, Singapore: "Singapore Standard Time"
    (GMT+08:00) Perth: "W. Australia Standard Time"
    (GMT+08:00) Taipei: "Taipei Standard Time"
    (GMT+09:00) Osaka, Sapporo, Tokyo: "Tokyo Standard Time"
    (GMT+09:00) Seoul: "Korea Standard Time"
    (GMT+09:00) Yakutsk: "Yakutsk Standard Time"
    (GMT+09:30) Adelaide: "Cen. Australia Standard Time"
    (GMT+09:30) Darwin: "AUS Central Standard Time"
    (GMT+10:00) Brisbane: "E. Australia Standard Time"
    (GMT+10:00) Canberra, Melbourne, Sydney: "AUS Eastern Standard Time"
    (GMT+10:00) Guam, Port Moresby: "West Pacific Standard Time"
    (GMT+10:00) Hobart: "Tasmania Standard Time"
    (GMT+10:00) Vladivostok: "Vladivostok Standard Time"
    (GMT+11:00) Magadan, Solomon Is., New Caledonia: "Central Pacific Standard Time"
    (GMT+12:00) Auckland, Wellington: "New Zealand Standard Time"
    (GMT+12:00) Fiji, Kamchatka, Marshall Is.: "Fiji Standard Time"
    (GMT+13:00) Nuku'alofa: "Tonga Standard Time"

    The time zone for my machine has been set to “India Standard Time”, so if I wanted to use this timezone I could use either of these entries:

    <add key="WebServicesDefaultTimeZone" value="Server Time Zone"/>
    Or
    <add key="WebServicesDefaultTimeZone" value="India Standard Time"/>

    After you have made this change in the CustomSettings.config file the service should start.
  • Options
    dipakpatel2505dipakpatel2505 Member Posts: 169
    Hello miken66,
    I have tried following three values of WebServicesDefaultTimeZone KEY to start NAV Web Services:
    <add key="WebServicesDefaultTimeZone" value=""/>
    Or
    <add key="WebServicesDefaultTimeZone" value="Server Time Zone"/>
    Or
    <add key="WebServicesDefaultTimeZone" value="India Standard Time"/>

    but still I am getting same Error.

    When I try to start service, I got error show in attached Screenshot having Name "Services". I got two errors in Even log.For errors Details,please see "Error1" and "Error2" screenshot.

    Any help is appriciated.

    With Best Regards,
    Dipak Patel
  • Options
    deV.chdeV.ch Member Posts: 543
    Have you "restartet" the service after changing or have you stopped, made change and then started again?

    I had problems with the config file when do a simple restart after changing. If you have problems with the config file not actualy doing what you want, try even restaring your machine! I had situations when changes only happend after a restart! :!:
  • Options
    EgnazEgnaz Member Posts: 111
    Another important thing is that you have do stop both services. Web service and normal service tier because both are using the same config and if one service is running the hole time the config won't be updated in the cache and no changes will take effect.

    Regards,
    egnaz
  • Options
    tonypangtonypang Member Posts: 101
    Thanks all .
    NAV
  • Options
    phreezephreeze Member Posts: 12
    first off thank you for the information...
    i did an installation today and came across the same issue.
    Found that on the server where i installed NAV Server components, there is no UTC timezone in registry (after following recommendations in this thread)
    changed the config file to use one of the available time zones (in my case it is AUS Eastern Standard time) and was able to start the service.
    thank you... =D>
  • Options
    rami220rami220 Member Posts: 4
    Thank you All, you Save my day \:D/
Sign In or Register to comment.