Showing posts with label ERP. Show all posts
Showing posts with label ERP. Show all posts

I work as ERP Manager in one of the leading company of Nepal. Recently, I came across a problem. The problem was that one of the customized process to upload was not running from the application. The process runs a DTS package with command (xp_cmdshell). So, IT people have to run it from back end by logging is SQL Server with username sa.

 

This was troublesome as IT people have to be there whenever user requires to run that process. The problem was also that, the front-end showed only a message like " Execution failed" and then stops. And from back-end no error comes. For months, the same method continued. And also we were not able to login SQL Query Analyzer with other logins as the password was encrypted by front-end application.

 

After some research, I was able to decrypt password. For that, I just changed password to same password from Enterprise Manager. After that, I was able to login with other logins or usernames besides sa. When I try to run from there, it showed some error message like this.

 

Msg 50001, Level 1, State 50001

xpsql.cpp: Error 87 from GetProxyAccount on line 604

 

Now, I am able to google in internet for error message. After some research, I found solution in Microsoft Support site. The error was due to the fact that we donot login application with username sa and other users are not assigned to role of system administrator in SQL Server and database owner for concerned database. So, I assigned system administrator role and database owner to the user of the application. Finally, users were able to run the process from front-end.

 

The error message shown is genuine. Whenever we try to run shell commands, which have to run in command prompt, it should be run as local system or windows account. Only the users mapped to system administrator role of SQL Server can get access as windows local administrator and run the shell command. As the user of application was not mapped to that role, it will then search for any proxy windows account. As proxy account was also not found, the message was displayed.

 

From this, it is clear that the users which are not system administrator of SQL Server, can also get access to DTS package by setting up proxy account for that in SQL Server.

For that, go to SQL Server agent, Properties, Job System, uncheck the "Only users with SysAdmin privileges can execute CmdExec and ActiveScripting job steps" and enter the proper username, password and domain of windows. This is also a good method. But it gives access to all users to run DTS package, which may not be appropriate.

 

Ramco's ERP Applications (Rel 6)

Ramco is a leading organization in ERP Products. Ramco's ERP
Applications have been implemented in Surya Nepal Pvt. Ltd. since a
decade. Few years ago, Ramco released a newer version (Release 6) of
its ERP products. Surya Nepal is one of the last companies to shift to
newer version. Although, Ramco has released web based ERP, there are
lot of old companies which still use its desktop based ERP
applications.

There are a few changes made in its Rel 6 version compared to earlier
version 3.1. The changes can be summarized in following points.
1. A lot of changes in back end stored procedures have been made. Much
effort has been placed in direction of making process faster.
2. Search and replace facility in grid has been added.
3. An interesting facility added is facility to copy data from grid
(multiline) to excel and from excel to grid. This has much eased users
to work with applications.

Despite these changes, the basic logics of applications and process
have not been changed. It is obvious that new changes come with some
problems. Rel 6 also has got some problems. There are some problems in
basic functionalities. Also, copying of all customizations from old
ERP to new ERP is problematic. But, Ramco has got very good support
facility. Support for Rel 6 ERP applications is even better. Ramco has
decided not to upgrade desktop based ERP applications further. It has
put all its effort to web based ERP applications. It is up to future
how world organizations react to its web based ERP.

Suraj.