This is a migrated thread and some comments may be shown as answers.

what is the way for to change the local database

1 Answer 43 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Miguel Reig
Top achievements
Rank 1
Miguel Reig asked on 28 May 2009, 02:39 PM
In Northwind Sample Application for OpenAccess, what is the way for to change the local database northwind to another in a server?. The database is not yet created on the server.
And for change to another database eg. Oracle?

Miquel

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 30 May 2009, 11:01 AM
Hi Miguel Reig,

The database address can be specified in the App.config of the NorthwindLibrary project.
<servername>(local)\SQLEXPRESS</servername> 
Note that if the database does not exist on the new server, you have to set the "UpdateDatabase" property of the project to "True". This will enable the creation of the database. Nevertheless, the tables will be empty.
You can just re-Enable the project if you do not want to edit the App.config file manually. This way you will be able to test the connection as well.
Configuration for Oracle is similar, just point the server address in the Enable project wizard.

All the best,
Alexander
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Getting Started
Asked by
Miguel Reig
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or