Question:

We are actually running a nService4 helpdesk application and we ordered a new separate 5-technician license of nService. We want to setup a new nService4 application, completely separated from the actually running instance(Other service admins, other technicians, other ticket numbering, other database,.... But we want to use the same IIS server/same IIS site and the same SQL2005 server instance.

Is it possible to have a different name for the database than nService4? And how should I proceed to create and work with another named database?

Answer:

Yes. You can name the database anything you want. nService gets to the database through the MainDatabase connection string in \inetpub\wwwroot\nService4\web.config. Open that file up in Notepad and you will see this line:

<add name="MainDatabase" providerName="System.Data.SqlClient"
connectionString="Server=.\SQLEXPRESS;Database=nService4;User ID=ns4dbuser;Pwd=something;" />

To create another instance of nService, you simply install it the second time. You can do the same Import Application on IIS Manager according to the instructions on avensoft.com/download.html. On one of the set up pages, you can change the folder for the web application and the name of the database. The default for both of them are "nService4". You can change them to "ns2" for example.

import nservice
Article #470
Updated On: 2/16/2011 Index
Was this article helpful? Yes | No