MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Multitenant Application  (Mono Support )

124875 put(a) pogledan, 46 odgovor(a) 11.2.2014. 5:18:06Kreirao(la) Dinesh.Sajwan
idrazic

idrazic

12.2.2014. 15:27:41
 I'm sorry, there's no easy way to do this as this is done through LLBLGen code. 
You could try running sql profiler and catch the inserts, or use a tool like sql data compare.
Ovaj sadržaj još nije ocijenjen. 
1384 Reputacija 152 Ukupno objava
khorvat

khorvat

12.2.2014. 15:36:52
You can use import sqls located in MonoX/Installer/Sql/import/. You need to amend them e.g. change application name etc.

aspnet_Applications
aspnet_Roles
aspnet_SchemaVersions
aspnet_Users
aspnet_Membership
aspnet_UsersInRoles

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
Dinesh-Sajwan

Dinesh.Sajwan

12.2.2014. 15:57:26
Hi,

Tried running 4.9 installer and chose "Setup a new MonoX instance under the existing database", gave old (4.8 version) database credentials but in the step "Multi application environment" the dropdown "Application to clone: " is coming blank. please help

Regards
Sumit
Ovaj sadržaj još nije ocijenjen. 
1284 Reputacija 156 Ukupno objava
idrazic

idrazic

12.2.2014. 16:15:42
This can happen if application can't connect to the database (credentials or server name is invalid).
Try restarting application and go through the installation wizard again.
Ovaj sadržaj još nije ocijenjen. 
1384 Reputacija 152 Ukupno objava
Dinesh-Sajwan

Dinesh.Sajwan

12.2.2014. 16:19:22
Hi,

This is not the case. i have given the correct credentials. tried 3-4 times then only wrote to you.
 
Regards
Sumit
Ovaj sadržaj još nije ocijenjen. 
1284 Reputacija 156 Ukupno objava
Dinesh-Sajwan

Dinesh.Sajwan

12.2.2014. 16:30:56
Hi Khorvat,

is that all 

aspnet_Applications
aspnet_Roles
aspnet_SchemaVersions
aspnet_Users
aspnet_Membership
aspnet_UsersInRoles

but i have seen other tables also who use application id as FK, i think this list is not complete.

Regards
Sumit
Ovaj sadržaj još nije ocijenjen. 
1284 Reputacija 156 Ukupno objava
khorvat

khorvat

12.2.2014. 17:08:02
Hi,

these are only insert scripts so you can create application records in the db. When you do so your apps (with the same name) will start working and then you can create everything else from the MonoX administration etc.

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
Dinesh-Sajwan

Dinesh.Sajwan

12.2.2014. 17:15:03
Thanks Khorvat,

One more doubt "aspnet_SchemaVersions" doesn't have applicationid column?

Regards
Sumit
Ovaj sadržaj još nije ocijenjen. 
1284 Reputacija 156 Ukupno objava
khorvat

khorvat

12.2.2014. 17:18:54
This is by design, please proceed and get back to us with results.

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
Dinesh-Sajwan

Dinesh.Sajwan

12.2.2014. 17:24:46
Yes i know... just wanted to confirm so i am skipping this table...

Now my new website does not have menu options... 
Home
About
Blog
Discussion
Photos
Groups 

old website is displaying the menu!!

Regards
Sumit
Ovaj sadržaj još nije ocijenjen. 
1284 Reputacija 156 Ukupno objava
1 2 3 4 5