samedi 28 mars 2015

How to connect to base from sub domain? SQLiteConnector, connectionString

My web site c# asp.net and SQLite. In main domeine www. MySite. com all work fine in web.config...



<connectionStrings>
<add name="SQLiteConnector" connectionString="Data Source=|DataDirectory|MyBase.db3;"
providerName="System.Data.SQLite"/>
</connectionStrings>


MyBase.db3 is in App_Data folder. Now I have web site in domain www. NewSubdomain . MySite .com And don't know how to make connecton to base in main domeine www.MySite.com What I must put in web.config do I need something more or else to make connection? HELP!!!


Aucun commentaire:

Enregistrer un commentaire