Mono Support Multitenant Application 

Viewed 117924 time(s), 46 post(s), 2/11/2014 5:18:06 AM - by Dinesh.Sajwan
2/12/2014 3:27:41 PM
1384 Reputation 152 Total posts

 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.

21
2/12/2014 3:36:52 PM
15993 Reputation 2214 Total posts

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

22
2/12/2014 3:57:26 PM
1284 Reputation 156 Total posts

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

23
2/12/2014 4:15:42 PM
1384 Reputation 152 Total posts

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.

24
2/12/2014 4:19:22 PM
1284 Reputation 156 Total posts

Hi,

This is not the case. i have given the correct credentials. tried 3-4 times then only wrote to you.
 
Regards
Sumit

25
2/12/2014 4:30:56 PM
1284 Reputation 156 Total posts

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

26
2/12/2014 5:08:02 PM
15993 Reputation 2214 Total posts

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

27
2/12/2014 5:15:03 PM
1284 Reputation 156 Total posts

Thanks Khorvat,

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

Regards
Sumit

28
2/12/2014 5:18:54 PM
15993 Reputation 2214 Total posts

This is by design, please proceed and get back to us with results.

Regards

29
2/12/2014 5:24:46 PM
1284 Reputation 156 Total posts

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

30
1 2 3 4 5
This is a demo site for MonoX. Please visit Mono Software for more info.