Server, Portal, and Enterprise server changes to allow MS SQL Server 2014
Service (Create/Update/Delete) remote databases and users on SQL Server v12 (MS SQL 2014)
This commit is contained in:
parent
9cb4804ab8
commit
f8906f66af
20 changed files with 975 additions and 16 deletions
|
@ -4462,4 +4462,759 @@ GO
|
|||
BEGIN
|
||||
UPDATE [dbo].[ServiceItemTypes] SET [Suspendable] = 1 WHERE [ItemTypeID] = 38 AND [GroupID] = 23
|
||||
END
|
||||
GO
|
||||
GO
|
||||
|
||||
/* SQL 2014 Provider */
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[Providers] WHERE [DisplayName] = 'Microsoft SQL Server 2014')
|
||||
BEGIN
|
||||
INSERT [dbo].[Providers] ([ProviderID], [GroupID], [ProviderName], [DisplayName], [ProviderType], [EditorControl], [DisableAutoDiscovery]) VALUES (1203, 46, N'MsSQL', N'Microsoft SQL Server 2014', N'WebsitePanel.Providers.Database.MsSqlServer2014, WebsitePanel.Providers.Database.SqlServer', N'MSSQL', NULL)
|
||||
INSERT [dbo].[ServiceItemTypes] ([ItemTypeID], [GroupID], [DisplayName], [TypeName], [TypeOrder], [CalculateDiskspace], [CalculateBandwidth], [Suspendable], [Disposable], [Searchable], [Importable], [Backupable]) VALUES (39, 46, N'MsSQL2014Database', N'WebsitePanel.Providers.Database.SqlDatabase, WebsitePanel.Providers.Base', 1, 1, 0, 0, 1, 1, 1, 1)
|
||||
INSERT [dbo].[ServiceItemTypes] ([ItemTypeID], [GroupID], [DisplayName], [TypeName], [TypeOrder], [CalculateDiskspace], [CalculateBandwidth], [Suspendable], [Disposable], [Searchable], [Importable], [Backupable]) VALUES (40, 46, N'MsSQL2014User', N'WebsitePanel.Providers.Database.SqlUser, WebsitePanel.Providers.Base', 1, 0, 0, 0, 1, 1, 1, 1)
|
||||
INSERT [dbo].[Quotas] ([QuotaID], [GroupID], [QuotaOrder], [QuotaName], [QuotaDescription], [QuotaTypeID], [ServiceQuota], [ItemTypeID], [HideQuota]) VALUES (470, 46, 1, N'MsSQL2014.Databases', N'Databases', 2, 0, 39, NULL)
|
||||
INSERT [dbo].[Quotas] ([QuotaID], [GroupID], [QuotaOrder], [QuotaName], [QuotaDescription], [QuotaTypeID], [ServiceQuota], [ItemTypeID], [HideQuota]) VALUES (471, 46, 2, N'MsSQL2014.Users', N'Users', 2, 0, 40, NULL)
|
||||
INSERT [dbo].[Quotas] ([QuotaID], [GroupID], [QuotaOrder], [QuotaName], [QuotaDescription], [QuotaTypeID], [ServiceQuota], [ItemTypeID], [HideQuota]) VALUES (472, 46, 3, N'MsSQL2014.MaxDatabaseSize', N'Max Database Size', 3, 0, NULL, NULL)
|
||||
INSERT [dbo].[Quotas] ([QuotaID], [GroupID], [QuotaOrder], [QuotaName], [QuotaDescription], [QuotaTypeID], [ServiceQuota], [ItemTypeID], [HideQuota]) VALUES (473, 46, 5, N'MsSQL2014.Backup', N'Database Backups', 1, 0, NULL, NULL)
|
||||
INSERT [dbo].[Quotas] ([QuotaID], [GroupID], [QuotaOrder], [QuotaName], [QuotaDescription], [QuotaTypeID], [ServiceQuota], [ItemTypeID], [HideQuota]) VALUES (474, 46, 6, N'MsSQL2014.Restore', N'Database Restores', 1, 0, NULL, NULL)
|
||||
INSERT [dbo].[Quotas] ([QuotaID], [GroupID], [QuotaOrder], [QuotaName], [QuotaDescription], [QuotaTypeID], [ServiceQuota], [ItemTypeID], [HideQuota]) VALUES (475, 46, 7, N'MsSQL2014.Truncate', N'Database Truncate', 1, 0, NULL, NULL)
|
||||
INSERT [dbo].[Quotas] ([QuotaID], [GroupID], [QuotaOrder], [QuotaName], [QuotaDescription], [QuotaTypeID], [ServiceQuota], [ItemTypeID], [HideQuota]) VALUES (476, 46, 4, N'MsSQL2014.MaxLogSize', N'Max Log Size', 3, 0, NULL, NULL)
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
UPDATE [dbo].[Providers] SET [DisableAutoDiscovery] = NULL, GroupID = 46 WHERE [DisplayName] = 'Microsoft SQL Server 2014'
|
||||
END
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (SELECT * FROM [dbo].[ResourceGroups] WHERE [GroupName] = 'MsSQL2014')
|
||||
BEGIN
|
||||
INSERT [dbo].[ResourceGroups] ([GroupID], [GroupName], [GroupOrder], [GroupController], [ShowGroup]) VALUES (46, N'MsSQL2014', 11, N'WebsitePanel.EnterpriseServer.DatabaseServerController', 1)
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
UPDATE [dbo].[ResourceGroups] SET [ShowGroup] = 1 WHERE [GroupName] = 'MsSQL2014'
|
||||
END
|
||||
GO
|
||||
|
||||
/*This should be [DefaultValue]= N'MsSQL2000=SQL Server 2000;MsSQL2005=SQL Server 2005;MsSQL2008=SQL Server 2008;MsSQL2012=SQL Server 2012;MsSQL2014=SQL Server 2014;MySQL4=MySQL 4.0;MySQL5=MySQL 5.0' but the field is not large enough!! */
|
||||
UPDATE [dbo].[ScheduleTaskParameters] SET [DefaultValue]= N'MsSQL2005=SQL Server 2005;MsSQL2008=SQL Server 2008;MsSQL2012=SQL Server 2012;MsSQL2014=SQL Server 2014;MySQL4=MySQL 4.0;MySQL5=MySQL 5.0' WHERE [TaskID]= 'SCHEDULE_TASK_BACKUP_DATABASE' AND [ParameterID]='DATABASE_GROUP'
|
||||
GO
|
||||
|
||||
INSERT [dbo].[UserSettings] ([UserID], [SettingsName], [PropertyName], [PropertyValue]) VALUES (1, N'PackageSummaryLetter', N'HtmlBody', N'<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Hosting Space Summary Information</title>
|
||||
<style type="text/css">
|
||||
.Summary { background-color: ##ffffff; padding: 5px; }
|
||||
.Summary .Header { padding: 10px 0px 10px 10px; font-size: 16pt; background-color: ##E5F2FF; color: ##1F4978; border-bottom: solid 2px ##86B9F7; }
|
||||
.Summary A { color: ##0153A4; }
|
||||
.Summary { font-family: Tahoma; font-size: 9pt; }
|
||||
.Summary H1 { font-size: 1.7em; color: ##1F4978; border-bottom: dotted 3px ##efefef; }
|
||||
.Summary H2 { font-size: 1.2em; }
|
||||
.Summary TABLE { border: solid 1px ##e5e5e5; }
|
||||
.Summary TH,
|
||||
.Summary TD.Label { padding: 5px; font-size: 8pt; font-weight: bold; background-color: ##f5f5f5; }
|
||||
.Summary TD { padding: 8px; font-size: 9pt; }
|
||||
.Summary UL LI { font-size: 1.1em; font-weight: bold; }
|
||||
.Summary UL UL LI { font-size: 0.9em; font-weight: normal; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="Summary">
|
||||
|
||||
<a name="top"></a>
|
||||
|
||||
<div class="Header">
|
||||
Hosting Space Information
|
||||
</div>
|
||||
|
||||
<ad:if test="#Signup#">
|
||||
<p>
|
||||
Hello #user.FirstName#,
|
||||
</p>
|
||||
|
||||
<p>
|
||||
"#space.Package.PackageName#" hosting space has been created under your user account
|
||||
and below is the summary information for its resources.
|
||||
</p>
|
||||
</ad:if>
|
||||
|
||||
<ul>
|
||||
<ad:if test="#Signup#">
|
||||
<li><a href="##cp">Control Panel URL</a></li>
|
||||
</ad:if>
|
||||
<li><a href="##overview">Hosting Space Overview</a></li>
|
||||
<ad:if test="#space.Groups.ContainsKey("Web")#">
|
||||
<li><a href="##web">Web</a></li>
|
||||
<ul>
|
||||
<li><a href="##weblimits">Limits</a></li>
|
||||
<li><a href="##dns">Name Servers</a></li>
|
||||
<li><a href="##sites">Web Sites</a></li>
|
||||
<li><a href="##tempurl">Temporary URL</a></li>
|
||||
<li><a href="##files">Files Location</a></li>
|
||||
</ul>
|
||||
</ad:if>
|
||||
<ad:if test="#space.Groups.ContainsKey("FTP")#">
|
||||
<li><a href="##ftp">FTP</a></li>
|
||||
<ul>
|
||||
<li><a href="##ftplimits">Limits</a></li>
|
||||
<li><a href="##ftpserver">FTP Server</a></li>
|
||||
<li><a href="##ftpaccounts">FTP Accounts</a></li>
|
||||
</ul>
|
||||
</ad:if>
|
||||
<ad:if test="#space.Groups.ContainsKey("Mail")#">
|
||||
<li><a href="##mail">Mail</a></li>
|
||||
<ul>
|
||||
<li><a href="##maillimits">Limits</a></li>
|
||||
<li><a href="##smtp">SMTP/POP3 Server</a></li>
|
||||
<li><a href="##mailaccounts">Mail Accounts</a></li>
|
||||
</ul>
|
||||
</ad:if>
|
||||
<li><a href="##db">Databases</a></li>
|
||||
<ul>
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2000")#"><li><a href="##mssql2000">SQL Server 2000</a></li></ad:if>
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2005")#"><li><a href="##mssql2005">SQL Server 2005</a></li></ad:if>
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2008")#"><li><a href="##mssql2008">SQL Server 2008</a></li></ad:if>
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2012")#"><li><a href="##mssql2012">SQL Server 2012</a></li></ad:if>
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2014")#"><li><a href="##mssql2014">SQL Server 2014</a></li></ad:if>
|
||||
<ad:if test="#space.Groups.ContainsKey("MySQL4")#"><li><a href="##mysql4">My SQL 4.x</a></li></ad:if>
|
||||
<ad:if test="#space.Groups.ContainsKey("MySQL5")#"><li><a href="##mysql5">My SQL 5.x</a></li></ad:if>
|
||||
<li><a href="##msaccess">Microsoft Access</a></li>
|
||||
</ul>
|
||||
<ad:if test="#space.Groups.ContainsKey("Statistics")#"><li><a href="##stats">Statistics</a></li></ad:if>
|
||||
</ul>
|
||||
|
||||
<ad:if test="#Signup#">
|
||||
<a name="cp"></a>
|
||||
<h1>Control Panel URL</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Control Panel URL</th>
|
||||
<th>Username</th>
|
||||
<th>Password</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="http://panel.HostingCompany.com">http://panel.HostingCompany.com</a></td>
|
||||
<td>#user.Username#</td>
|
||||
<td>#user.Password#</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</ad:if>
|
||||
|
||||
<a name="overview"></a>
|
||||
<h1>Hosting Space Overview</h1>
|
||||
|
||||
<p>
|
||||
General hosting space limits:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Disk Space, MB:</td>
|
||||
<td><ad:NumericQuota quota="OS.Diskspace" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Bandwidth, MB/Month:</td>
|
||||
<td><ad:NumericQuota quota="OS.Bandwidth" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Domains:</td>
|
||||
<td><ad:NumericQuota quota="OS.Domains" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Sub-Domains:</td>
|
||||
<td><ad:NumericQuota quota="OS.SubDomains" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("Web")#">
|
||||
<a name="web"></a>
|
||||
<h1>Web</h1>
|
||||
<a name="weblimits"></a>
|
||||
<h2>
|
||||
Limits
|
||||
</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Web Sites:</td>
|
||||
<td><ad:NumericQuota quota="Web.Sites" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Web Application Gallery:</td>
|
||||
<td><ad:BooleanQuota quota="Web.WebAppGallery" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Classic ASP:</td>
|
||||
<td><ad:BooleanQuota quota="Web.Asp" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">ASP.NET 1.1:</td>
|
||||
<td><ad:BooleanQuota quota="Web.AspNet11" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">ASP.NET 2.0:</td>
|
||||
<td><ad:BooleanQuota quota="Web.AspNet20" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">ASP.NET 4.0:</td>
|
||||
<td><ad:BooleanQuota quota="Web.AspNet40" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">PHP 4:</td>
|
||||
<td><ad:BooleanQuota quota="Web.Php4" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">PHP 5:</td>
|
||||
<td><ad:BooleanQuota quota="Web.Php5" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Perl:</td>
|
||||
<td><ad:BooleanQuota quota="Web.Perl" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">CGI-BIN:</td>
|
||||
<td><ad:BooleanQuota quota="Web.CgiBin" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<a name="dns"></a>
|
||||
<h2>Name Servers</h2>
|
||||
<p>
|
||||
In order to point your domain to the web site in this hosting space you should use the following Name Servers:
|
||||
</p>
|
||||
<table>
|
||||
<ad:foreach collection="#NameServers#" var="NameServer" index="i">
|
||||
<tr>
|
||||
<td class="Label">#NameServer#</td>
|
||||
</tr>
|
||||
</ad:foreach>
|
||||
</table>
|
||||
<p>
|
||||
You should change the name servers in domain registrar (Register.com, GoDaddy.com, etc.) control panel.
|
||||
Please, study domain registrar''s user manual for directions how to change name servers or contact your domain
|
||||
registrar directly by e-mail or phone.
|
||||
</p>
|
||||
<p>
|
||||
Please note, the changes in domain registrar database do not reflect immediately and sometimes it requires from
|
||||
12 to 48 hours till the end of DNS propagation.
|
||||
</p>
|
||||
|
||||
<a name="sites"></a>
|
||||
<h2>Web Sites</h2>
|
||||
<p>
|
||||
The following web sites have been created under hosting space:
|
||||
</p>
|
||||
<table>
|
||||
<ad:foreach collection="#WebSites#" var="WebSite">
|
||||
<tr>
|
||||
<td><a href="http://#WebSite.Name#" target="_blank">http://#WebSite.Name#</a></td>
|
||||
</tr>
|
||||
</ad:foreach>
|
||||
</table>
|
||||
<p>
|
||||
* Please note, your web sites may not be accessible from 12 to 48 hours after you''ve changed name servers for their respective domains.
|
||||
</p>
|
||||
|
||||
<ad:if test="#isnotempty(InstantAlias)#">
|
||||
<a name="tempurl"></a>
|
||||
<h2>Temporary URL</h2>
|
||||
<p>
|
||||
You can access your web sites right now using their respective temporary URLs (instant aliases).
|
||||
Temporary URL is a sub-domain of the form http://yourdomain.com.providerdomain.com where "yourdomain.com" is your
|
||||
domain and "providerdomain.com" is the domain of your hosting provider.
|
||||
</p>
|
||||
<p>
|
||||
You can use the following Temporary URL for all your web sites:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
http://YourDomain.com.<b>#InstantAlias#</b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</ad:if>
|
||||
|
||||
<a name="files"></a>
|
||||
<h2>Files Location</h2>
|
||||
<p>
|
||||
Sometimes it is required to know the physical location of the hosting space folder (absolute path).
|
||||
Hosting space folder is the folder where all hosting space files such as web sites content, web logs, data files, etc. are located.
|
||||
</p>
|
||||
<p>
|
||||
The root of your hosting space on our HDD is here:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
#PackageRootFolder#
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
By default the root folder of any web site within your hosting space is built as following (you can change it anytime from the control panel):
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
#PackageRootFolder#\YourDomain.com\wwwroot
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</ad:if>
|
||||
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("FTP")#">
|
||||
<a name="ftp"></a>
|
||||
<h1>FTP</h1>
|
||||
|
||||
<a name="ftplimits"></a>
|
||||
<h2>Limits</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of FTP Accounts:</td>
|
||||
<td><ad:NumericQuota quota="FTP.Accounts" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<a name="ftpserver"></a>
|
||||
<h2>FTP Server</h2>
|
||||
<p>
|
||||
Your hosting space allows working with your files by FTP.
|
||||
You can use the following FTP server to access your space files remotely:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="ftp://#FtpIP#">ftp://#FtpIP#</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
Also, you can use the following domain names to access your FTP server:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>ftp://ftp.YourDomain.com</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ad:if test="#isnotempty(InstantAlias)#">
|
||||
<p>
|
||||
During DNS propagation period (when domain name servers have been changed), similar to web sites, FTP server can be access with Temporary URL too:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>ftp://ftp.YourDomain.com.<b>#InstantAlias#</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</ad:if>
|
||||
<a name="ftpaccounts"></a>
|
||||
<h2>FTP Accounts</h2>
|
||||
<p>
|
||||
The following FTP accounts have been created under your hosting space and can be used to access FTP server:
|
||||
</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Username</th>
|
||||
<ad:if test="#Signup#">
|
||||
<th>Password</th>
|
||||
</ad:if>
|
||||
<th>Folder</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<ad:foreach collection="#FtpAccounts#" var="FtpAcocunt" index="i">
|
||||
<tr>
|
||||
<td>#FtpAcocunt.Name#</td>
|
||||
<ad:if test="#Signup#">
|
||||
<td>
|
||||
#FtpAcocunt.Password#
|
||||
</td>
|
||||
</ad:if>
|
||||
<td>#FtpAcocunt.Folder#</td>
|
||||
</tr>
|
||||
</ad:foreach>
|
||||
</tbody>
|
||||
</table>
|
||||
</ad:if>
|
||||
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("Mail")#">
|
||||
<a name="mail"></a>
|
||||
<h1>Mail</h1>
|
||||
|
||||
<a name="maillimits"></a>
|
||||
<h2>Limits</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Mail Accounts:</td>
|
||||
<td><ad:NumericQuota quota="Mail.Accounts" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Mail Forwardings:</td>
|
||||
<td><ad:NumericQuota quota="Mail.Forwardings" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Mail Groups (Aliases):</td>
|
||||
<td><ad:NumericQuota quota="Mail.Groups" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Mailing Lists:</td>
|
||||
<td><ad:NumericQuota quota="Mail.Lists" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<a name="smtp"></a>
|
||||
<h2>SMTP/POP3 Server</h2>
|
||||
<p>
|
||||
Below is the IP address of your POP3/SMTP/IMAP server. You can always access your mailbox(es)
|
||||
using this IP address instead of actual POP3/SMTP/IMAP servers name:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
#MailRecords[0].ExternalIP#
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
Also, you can use the following domain names to access SMTP/POP3 server from your favourite e-mail client software:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>mail.YourDomain.com</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<ad:if test="#isnotempty(InstantAlias)#">
|
||||
<p>
|
||||
During DNS propagation period (when domain name servers have been changed), similar to web sites, SMTP/POP3 server can be access with temporary domain too:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>mail.YourDomain.com.<b>#InstantAlias#</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</ad:if>
|
||||
|
||||
<a name="mailaccounts"></a>
|
||||
<h2>Mail Accounts</h2>
|
||||
<p>
|
||||
The following mail accounts have been created under your hosting space:
|
||||
</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>E-mail</th>
|
||||
<th>Username (for POP3/SMTP/IMAP/WebMail)</th>
|
||||
<ad:if test="#Signup#">
|
||||
<th>Password</th>
|
||||
</ad:if>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<ad:foreach collection="#MailAccounts#" var="MailAccount">
|
||||
<tr>
|
||||
<td>#MailAccount.Name#</td>
|
||||
<td>#MailAccount.Name#</td>
|
||||
<ad:if test="#Signup#">
|
||||
<td>
|
||||
#MailAccount.Password#
|
||||
</td>
|
||||
</ad:if>
|
||||
</tr>
|
||||
</ad:foreach>
|
||||
</tbody>
|
||||
</table>
|
||||
</ad:if>
|
||||
|
||||
<a name="db"></a>
|
||||
<h1>Databases</h1>
|
||||
|
||||
<p>
|
||||
You can create databases and database users on "Space Home -> Databases" screen in the control panel.
|
||||
</p>
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2000")#">
|
||||
<a name="mssql2000"></a>
|
||||
|
||||
<h2>SQL Server 2000</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Databases:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2000.Databases" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Users:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2000.Users" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
In order to connect to SQL Server 2000 from Management Studio, Enterprise Manager, Query Analyzer
|
||||
or other client software you can use the following SQL Server address:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>#MsSQL2000Address#</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ad:MsSqlConnectionStrings server="#MsSQL2000Address#" />
|
||||
</ad:if>
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2005")#">
|
||||
<a name="mssql2005"></a>
|
||||
|
||||
<h2>SQL Server 2005</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Databases:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2005.Databases" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Users:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2005.Users" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
In order to connect to SQL Server 2005 from Management Studio, Enterprise Manager, Query Analyzer
|
||||
or other client software you can use the following SQL Server address:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>#MsSQL2005Address#</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ad:MsSqlConnectionStrings server="#MsSQL2005Address#" />
|
||||
</ad:if>
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2008")#">
|
||||
<a name="mssql2008"></a>
|
||||
|
||||
<h2>SQL Server 2008</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Databases:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2008.Databases" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Users:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2008.Users" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
In order to connect to SQL Server 2008 from Management Studio, Enterprise Manager, Query Analyzer
|
||||
or other client software you can use the following SQL Server address:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>#MsSQL2008Address#</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ad:MsSqlConnectionStrings server="#MsSQL2008Address#" />
|
||||
</ad:if>
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2014")#">
|
||||
<a name="mssql2014"></a>
|
||||
|
||||
<h2>SQL Server 2014</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Databases:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2014.Databases" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Users:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2014.Users" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
In order to connect to SQL Server 2014 from Management Studio, Enterprise Manager, Query Analyzer
|
||||
or other client software you can use the following SQL Server address:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>#MsSQL2014Address#</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ad:MsSqlConnectionStrings server="#MsSQL2014Address#" />
|
||||
</ad:if>
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("MsSQL2014")#">
|
||||
<a name="mssql2014"></a>
|
||||
|
||||
<h2>SQL Server 2014</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Databases:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2014.Databases" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Users:</td>
|
||||
<td><ad:NumericQuota quota="MsSQL2014.Users" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
In order to connect to SQL Server 2014 from Management Studio, Enterprise Manager, Query Analyzer
|
||||
or other client software you can use the following SQL Server address:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>#MsSQL2014Address#</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ad:MsSqlConnectionStrings server="#MsSQL2014Address#" />
|
||||
</ad:if>
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("MySQL4")#">
|
||||
<a name="mysql4"></a>
|
||||
<h2>MySQL 4.x</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Databases:</td>
|
||||
<td><ad:NumericQuota quota="MySQL4.Databases" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Users:</td>
|
||||
<td><ad:NumericQuota quota="MySQL4.Users" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
In order to connect to MySQL 4.x server you can use the following address:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>#MySQL4Address#</td>
|
||||
</tr>
|
||||
</table>
|
||||
</ad:if>
|
||||
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("MySQL5")#">
|
||||
<a name="mysql5"></a>
|
||||
<h2>MySQL 5.x</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Databases:</td>
|
||||
<td><ad:NumericQuota quota="MySQL5.Databases" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Users:</td>
|
||||
<td><ad:NumericQuota quota="MySQL5.Users" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
In order to connect to MySQL 5.x server you can use the following address:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>#MySQL5Address#</td>
|
||||
</tr>
|
||||
</table>
|
||||
</ad:if>
|
||||
|
||||
|
||||
<a name="msaccess"></a>
|
||||
<h2>Microsoft Access</h2>
|
||||
<p>
|
||||
Microsoft Access database are automatically allowed in any hosting plan. You can create/upload any number of Access
|
||||
database from File Manager in control panel.
|
||||
</p>
|
||||
|
||||
|
||||
<ad:if test="#space.Groups.ContainsKey("Statistics")#">
|
||||
<a name="stats"></a>
|
||||
<h1>Web Statistics</h1>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Maximum Number of Statistics Sites:</td>
|
||||
<td><ad:NumericQuota quota="Stats.Sites" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>
|
||||
You can view advanced statistics from your domain using URL of the following form:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>http://stats.YourDomain.com</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ad:if test="#isnotempty(InstantAlias)#">
|
||||
<p>
|
||||
During DNS propagation period (when domain name servers have been changed), you can access web site statistics with Temporary URL:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>http://stats.YourDomain.com.<b>#InstantAlias#</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</ad:if>
|
||||
</ad:if>
|
||||
|
||||
<ad:if test="#Signup#">
|
||||
<p>
|
||||
If you have any questions regarding your hosting account, feel free to contact our support department at any time.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Best regards,<br />
|
||||
ACME Hosting Inc.<br />
|
||||
Web Site: <a href="http://www.AcmeHosting.com">www.AcmeHosting.com</a><br />
|
||||
E-Mail: <a href="mailto:support@AcmeHosting.com">support@AcmeHosting.com</a>
|
||||
</p>
|
||||
</ad:if>
|
||||
|
||||
<!-- Templates -->
|
||||
<ad:template name="MsSqlConnectionStrings">
|
||||
<p>
|
||||
You may also use SQL Server address above in your application connection strings, for example:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="Label">Classic ASP (ADO Library)</td>
|
||||
<td>Provider=SQLOLEDB;Data source=<b>#server#</b>;Initial catalog=databaseName;User Id=userName;Password=password;</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="Label">ASP.NET (ADO.NET Library)</td>
|
||||
<td>Server=<b>#server#</b>;Database=databaseName;Uid=userName;Password=password;</td>
|
||||
</tr>
|
||||
</table>
|
||||
</ad:template>
|
||||
|
||||
<ad:template name="NumericQuota">
|
||||
<ad:if test="#space.Quotas.ContainsKey(quota)#">
|
||||
<ad:if test="#space.Quotas[quota].QuotaAllocatedValue isnot -1#">#space.Quotas[quota].QuotaAllocatedValue#<ad:else>Unlimited</ad:if>
|
||||
<ad:else>
|
||||
0
|
||||
</ad:if>
|
||||
</ad:template>
|
||||
|
||||
<ad:template name="BooleanQuota">
|
||||
<ad:if test="#space.Quotas.ContainsKey(quota)#">
|
||||
<ad:if test="#space.Quotas[quota].QuotaAllocatedValue isnot 0#">Enabled<ad:else>Disabled</ad:if>
|
||||
<ad:else>
|
||||
Disabled
|
||||
</ad:if>
|
||||
</ad:template>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>')
|
||||
GO
|
||||
|
|
|
@ -39,6 +39,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
public const string MsSql2005 = "MsSQL2005";
|
||||
public const string MsSql2008 = "MsSQL2008";
|
||||
public const string MsSql2012 = "MsSQL2012";
|
||||
public const string MsSql2014 = "MsSQL2014";
|
||||
public const string MySql5 = "MySQL5";
|
||||
public const string Dns = "DNS";
|
||||
public const string Statistics = "Statistics";
|
||||
|
|
|
@ -482,6 +482,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MsSql2005, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MsSql2008, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MsSql2012, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MsSql2014, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MySql4, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MySql5, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.Statistics, domain, "");
|
||||
|
@ -1999,6 +2000,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
SetSqlServerExternalAddress(packageId, items, ResourceGroups.MsSql2005);
|
||||
SetSqlServerExternalAddress(packageId, items, ResourceGroups.MsSql2008);
|
||||
SetSqlServerExternalAddress(packageId, items, ResourceGroups.MsSql2012);
|
||||
SetSqlServerExternalAddress(packageId, items, ResourceGroups.MsSql2014);
|
||||
SetSqlServerExternalAddress(packageId, items, ResourceGroups.MySql4);
|
||||
SetSqlServerExternalAddress(packageId, items, ResourceGroups.MySql5);
|
||||
|
||||
|
|
|
@ -1780,6 +1780,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MsSql2005, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MsSql2008, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MsSql2012, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MsSql2014, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MySql4, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.MySql5, domain, "");
|
||||
ServerController.AddServiceDNSRecords(packageId, ResourceGroups.Statistics, domain, "");
|
||||
|
@ -2338,6 +2339,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
ServerController.AddServiceDNSRecords(domain.PackageId, ResourceGroups.MsSql2005, domain, "");
|
||||
ServerController.AddServiceDNSRecords(domain.PackageId, ResourceGroups.MsSql2008, domain, "");
|
||||
ServerController.AddServiceDNSRecords(domain.PackageId, ResourceGroups.MsSql2012, domain, "");
|
||||
ServerController.AddServiceDNSRecords(domain.PackageId, ResourceGroups.MsSql2014, domain, "");
|
||||
ServerController.AddServiceDNSRecords(domain.PackageId, ResourceGroups.MySql4, domain, "");
|
||||
ServerController.AddServiceDNSRecords(domain.PackageId, ResourceGroups.MySql5, domain, "");
|
||||
ServerController.AddServiceDNSRecords(domain.PackageId, ResourceGroups.Statistics, domain, "");
|
||||
|
|
|
@ -262,7 +262,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
//if (context.Groups.ContainsKey(ResourceGroups.MsSql2000) ||
|
||||
// context.Groups.ContainsKey(ResourceGroups.MsSql2005) ||
|
||||
// context.Groups.ContainsKey(ResourceGroups.MsSql2008) ||
|
||||
// context.Groups.ContainsKey(ResourceGroups.MsSql2012))
|
||||
// context.Groups.ContainsKey(ResourceGroups.MsSql2012) ||
|
||||
// context.Groups.ContainsKey(ResourceGroups.MsSql2014))
|
||||
//{
|
||||
// appsFilter.AddRange(SupportedAppDependencies.MSSQL_DATABASE);
|
||||
//}
|
||||
|
@ -496,6 +497,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2005)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2008)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2012)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2014)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MySql4)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MySql5)))
|
||||
result.ErrorCodes.Add(GalleryErrors.DatabaseRequired);
|
||||
|
@ -505,7 +507,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
&& !(context.Groups.ContainsKey(ResourceGroups.MsSql2000)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2005)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2008)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2012)))
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2012)
|
||||
|| context.Groups.ContainsKey(ResourceGroups.MsSql2014)))
|
||||
result.ErrorCodes.Add(GalleryErrors.SQLRequired);
|
||||
|
||||
// MySQL
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
// Copyright (c) 2014, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
|
||||
namespace WebsitePanel.Providers.Database
|
||||
{
|
||||
public class MsSqlServer2014 : MsSqlServer2005
|
||||
{
|
||||
public override bool IsInstalled()
|
||||
{
|
||||
return CheckVersion("12.");
|
||||
}
|
||||
|
||||
public override void TruncateDatabase(string databaseName)
|
||||
{
|
||||
SqlDatabase database = GetDatabase(databaseName);
|
||||
ExecuteNonQuery(String.Format(@"USE [{0}];DBCC SHRINKFILE ('{1}', 1);",
|
||||
databaseName, database.LogName));
|
||||
}
|
||||
}
|
||||
}
|
|
@ -66,6 +66,7 @@
|
|||
<Compile Include="MsSqlServer2005.cs" />
|
||||
<Compile Include="MsSqlServer2008.cs" />
|
||||
<Compile Include="MsSqlServer2012.cs" />
|
||||
<Compile Include="MsSqlServer2014.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="MsSqlServer.cs" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebsitePanel.Providers.Database.SqlServer", "WebsitePanel.Providers.Database.SqlServer.csproj", "{3744791D-C7B5-4818-8521-78EB5261CB34}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3744791D-C7B5-4818-8521-78EB5261CB34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3744791D-C7B5-4818-8521-78EB5261CB34}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3744791D-C7B5-4818-8521-78EB5261CB34}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3744791D-C7B5-4818-8521-78EB5261CB34}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -57,6 +57,7 @@
|
|||
<MenuItem pageID="SpaceMsSql2005" resourceGroup="MsSQL2005"/>
|
||||
<MenuItem pageID="SpaceMsSql2008" resourceGroup="MsSQL2008"/>
|
||||
<MenuItem pageID="SpaceMsSql2012" resourceGroup="MsSQL2012"/>
|
||||
<MenuItem pageID="SpaceMsSql2014" resourceGroup="MsSQL2014"/>
|
||||
<MenuItem pageID="SpaceMySql4" resourceGroup="MySQL4"/>
|
||||
<MenuItem pageID="SpaceMySql5" resourceGroup="MySQL5"/>
|
||||
</MenuItems>
|
||||
|
@ -115,6 +116,7 @@
|
|||
<Icon pageID="SpaceMsSql2005" resourceGroup="MsSQL2005" imageUrl="icons/mssql_48.png"/>
|
||||
<Icon pageID="SpaceMsSql2008" resourceGroup="MsSQL2008" imageUrl="icons/mssql_48.png"/>
|
||||
<Icon pageID="SpaceMsSql2012" resourceGroup="MsSQL2012" imageUrl="icons/mssql_48.png"/>
|
||||
<Icon pageID="SpaceMsSql2014" resourceGroup="MsSQL2014" imageUrl="icons/mssql_48.png"/>
|
||||
<Icon pageID="SpaceMySql4" resourceGroup="MySQL4" imageUrl="icons/mysql_48.png"/>
|
||||
<Icon pageID="SpaceMySql5" resourceGroup="MySQL5" imageUrl="icons/mysql_48.png"/>
|
||||
<Icon pageID="SpaceOdbc" resourceGroup="OS" quota="OS.ODBC" imageUrl="icons/odbc_48.png"/>
|
||||
|
|
|
@ -417,6 +417,29 @@
|
|||
</Content>
|
||||
</Page>
|
||||
|
||||
<Page name="SpaceMsSql2014" roles="Administrator,Reseller,PlatformCSR,ResellerCSR,PlatformHelpdesk,ResellerHelpdesk,User" hidden="True">
|
||||
<Content id="LeftPane">
|
||||
<Module moduleDefinitionID="UserAccountMenu" title="UserMenu" container="Clear.ascx">
|
||||
<ModuleData ref="UserMenu"/>
|
||||
</Module>
|
||||
<Module moduleDefinitionID="SpaceMenu" title="SpaceMenu" container="Clear.ascx">
|
||||
<ModuleData ref="SpaceMenu"/>
|
||||
</Module>
|
||||
</Content>
|
||||
<Content id="ContentPane">
|
||||
<Module moduleDefinitionID="SqlDatabases" title="Sql2014Databases" icon="mssql_48.png" readOnlyRoles="PlatformCSR,ResellerCSR">
|
||||
<Settings>
|
||||
<Add name="GroupName" value="MsSQL2014" />
|
||||
</Settings>
|
||||
</Module>
|
||||
<Module moduleDefinitionID="SqlUsers" title="Sql2014Users" icon="db_user_48.png" readOnlyRoles="PlatformCSR,ResellerCSR">
|
||||
<Settings>
|
||||
<Add name="GroupName" value="MsSQL2014" />
|
||||
</Settings>
|
||||
</Module>
|
||||
</Content>
|
||||
</Page>
|
||||
|
||||
<Page name="SpaceMySql4" roles="Administrator,Reseller,PlatformCSR,ResellerCSR,PlatformHelpdesk,ResellerHelpdesk,User" hidden="True">
|
||||
<Content id="LeftPane">
|
||||
<Module moduleDefinitionID="UserAccountMenu" title="UserMenu" container="Clear.ascx">
|
||||
|
|
|
@ -287,6 +287,12 @@
|
|||
</data>
|
||||
<data name="PageTitle.SpaceMsSql2012" xml:space="preserve">
|
||||
<value>{user} - {space} - SQL Server 2012</value>
|
||||
</data>
|
||||
<data name="PageName.SpaceMsSql2014" xml:space="preserve">
|
||||
<value>SQL Server 2014</value>
|
||||
</data>
|
||||
<data name="PageTitle.SpaceMsSql2014" xml:space="preserve">
|
||||
<value>{user} - {space} - SQL Server 2014</value>
|
||||
</data>
|
||||
<data name="PageTitle.SpaceMsSql2005" xml:space="preserve">
|
||||
<value>{user} - {space} - SQL Server 2005</value>
|
||||
|
|
|
@ -1854,6 +1854,24 @@
|
|||
<data name="Quota.MsSQL2012.Users" xml:space="preserve">
|
||||
<value>Users</value>
|
||||
</data>
|
||||
<data name="Quota.MsSQL2014.Backup" xml:space="preserve">
|
||||
<value>Database Backups</value>
|
||||
</data>
|
||||
<data name="Quota.MsSQL2014.Databases" xml:space="preserve">
|
||||
<value>Databases</value>
|
||||
</data>
|
||||
<data name="Quota.MsSQL2014.MaxDatabaseSize" xml:space="preserve">
|
||||
<value>Max Database Size, MB</value>
|
||||
</data>
|
||||
<data name="Quota.MsSQL2014.Restore" xml:space="preserve">
|
||||
<value>Database Restores</value>
|
||||
</data>
|
||||
<data name="Quota.MsSQL2014.Truncate" xml:space="preserve">
|
||||
<value>Database Truncate</value>
|
||||
</data>
|
||||
<data name="Quota.MsSQL2014.Users" xml:space="preserve">
|
||||
<value>Users</value>
|
||||
</data>
|
||||
<data name="Quota.MySQL5.Backup" xml:space="preserve">
|
||||
<value>Database Backups</value>
|
||||
</data>
|
||||
|
@ -1905,6 +1923,9 @@
|
|||
<data name="ResourceGroup.MsSQL2012" xml:space="preserve">
|
||||
<value>SQL Server 2012</value>
|
||||
</data>
|
||||
<data name="ResourceGroup.MsSQL2014" xml:space="preserve">
|
||||
<value>SQL Server 2014</value>
|
||||
</data>
|
||||
<data name="Quota.OS.MinimumTaskInterval" xml:space="preserve">
|
||||
<value>Minimum Tasks Interval, minutes</value>
|
||||
</data>
|
||||
|
@ -2100,6 +2121,12 @@
|
|||
<data name="ServiceItemType.MsSQL2012User" xml:space="preserve">
|
||||
<value>MS SQL 2012 User</value>
|
||||
</data>
|
||||
<data name="ServiceItemType.MsSQL2014Database" xml:space="preserve">
|
||||
<value>MS SQL 2014 Database</value>
|
||||
</data>
|
||||
<data name="ServiceItemType.MsSQL2014User" xml:space="preserve">
|
||||
<value>MS SQL 2014 User</value>
|
||||
</data>
|
||||
<data name="ServiceItemType.MySQL4Database" xml:space="preserve">
|
||||
<value>MySQL 4 Database</value>
|
||||
</data>
|
||||
|
@ -3274,6 +3301,9 @@
|
|||
<data name="Quota.MsSQL2012.MaxLogSize" xml:space="preserve">
|
||||
<value>Max Log Size, MB</value>
|
||||
</data>
|
||||
<data name="Quota.MsSQL2014.MaxLogSize" xml:space="preserve">
|
||||
<value>Max Log Size, MB</value>
|
||||
</data>
|
||||
<data name="Error.EXCHANGE_UPDATE_MAILBOX_PERMISSIONS" xml:space="preserve">
|
||||
<value>Error updating mailbox permissions. See audit log for more details.</value>
|
||||
</data>
|
||||
|
@ -4834,6 +4864,9 @@
|
|||
<data name="ReportResourceGroup.MsSQL2012" xml:space="preserve">
|
||||
<value>SQL Server 2012</value>
|
||||
</data>
|
||||
<data name="ReportResourceGroup.MsSQL2014" xml:space="preserve">
|
||||
<value>SQL Server 2014</value>
|
||||
</data>
|
||||
<data name="WebAppGallery.ApplicationInstallationError" xml:space="preserve">
|
||||
<value>Error while install application pack</value>
|
||||
</data>
|
||||
|
|
|
@ -168,4 +168,7 @@
|
|||
<data name="lclMSSQL2012Resources.Text" xml:space="preserve">
|
||||
<value>Microsoft SQL 2012 Quotas</value>
|
||||
</data>
|
||||
<data name="lclMSSQL2014Resources.Text" xml:space="preserve">
|
||||
<value>Microsoft SQL 2014 Quotas</value>
|
||||
</data>
|
||||
</root>
|
|
@ -165,7 +165,7 @@
|
|||
<th colspan="2">
|
||||
<br />
|
||||
<div class="FormButtonsBar">
|
||||
<div class="FormSectionHeader"><asp:Localize ID="Localize3" runat="server" meta:resourcekey="lclMSSQL2012Resources" /></div>
|
||||
<div class="FormSectionHeader"><asp:Localize ID="Localize8" runat="server" meta:resourcekey="lclMSSQL2012Resources" /></div>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
|
@ -179,6 +179,25 @@
|
|||
</asp:Repeater>
|
||||
</asp:PlaceHolder>
|
||||
|
||||
<asp:PlaceHolder runat="server" ID="MsSQL2014" Visible="false">
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
<br />
|
||||
<div class="FormButtonsBar">
|
||||
<div class="FormSectionHeader"><asp:Localize ID="Localize7" runat="server" meta:resourcekey="lclMSSQL2014Resources" /></div>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
<asp:Repeater runat="server" ID="MsSQL2014_Quotas">
|
||||
<ItemTemplate>
|
||||
<tr>
|
||||
<td class="Width20Pcs" style="white-space: nowrap;"><strong><%# GetSharedLocalizedString("Quota." + GetQuotaItemName((string)Container.DataItem)) %>:</strong></td>
|
||||
<td><%# GetQuotaItemAllocatedValue((string)Container.DataItem) %></td>
|
||||
</tr>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
</asp:PlaceHolder>
|
||||
|
||||
<asp:PlaceHolder runat="server" ID="MySQL4" Visible="false">
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.3074
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
@ -157,15 +156,6 @@ namespace WebsitePanel.Ecommerce.Portal.UserControls {
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder MsSQL2008;
|
||||
|
||||
/// <summary>
|
||||
/// MsSQL2012 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder MsSQL2012;
|
||||
|
||||
/// <summary>
|
||||
/// Localize3 control.
|
||||
/// </summary>
|
||||
|
@ -184,6 +174,24 @@ namespace WebsitePanel.Ecommerce.Portal.UserControls {
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater MsSQL2008_Quotas;
|
||||
|
||||
/// <summary>
|
||||
/// MsSQL2012 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder MsSQL2012;
|
||||
|
||||
/// <summary>
|
||||
/// Localize8 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize Localize8;
|
||||
|
||||
/// <summary>
|
||||
/// MsSQL2012_Quotas control.
|
||||
/// </summary>
|
||||
|
@ -193,6 +201,33 @@ namespace WebsitePanel.Ecommerce.Portal.UserControls {
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater MsSQL2012_Quotas;
|
||||
|
||||
/// <summary>
|
||||
/// MsSQL2014 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder MsSQL2014;
|
||||
|
||||
/// <summary>
|
||||
/// Localize7 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize Localize7;
|
||||
|
||||
/// <summary>
|
||||
/// MsSQL2014_Quotas control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater MsSQL2014_Quotas;
|
||||
|
||||
/// <summary>
|
||||
/// MySQL4 control.
|
||||
/// </summary>
|
||||
|
|
|
@ -303,6 +303,7 @@ namespace WebsitePanel.Portal
|
|||
AddDatabaseVersion(cntx, ResourceGroups.MsSql2005, items, versions);
|
||||
AddDatabaseVersion(cntx, ResourceGroups.MsSql2008, items, versions);
|
||||
AddDatabaseVersion(cntx, ResourceGroups.MsSql2012, items, versions);
|
||||
AddDatabaseVersion(cntx, ResourceGroups.MsSql2014, items, versions);
|
||||
AddDatabaseVersion(cntx, ResourceGroups.MySql4, items, versions);
|
||||
AddDatabaseVersion(cntx, ResourceGroups.MySql5, items, versions);
|
||||
}
|
||||
|
|
|
@ -207,10 +207,12 @@ namespace WebsitePanel.Portal
|
|||
sqlDatabases.AddRange(ES.Services.DatabaseServers.GetSqlDatabases(packageId, ResourceGroups.MsSql2005, false));
|
||||
sqlDatabases.AddRange(ES.Services.DatabaseServers.GetSqlDatabases(packageId, ResourceGroups.MsSql2008, false));
|
||||
sqlDatabases.AddRange(ES.Services.DatabaseServers.GetSqlDatabases(packageId, ResourceGroups.MsSql2012, false));
|
||||
sqlDatabases.AddRange(ES.Services.DatabaseServers.GetSqlDatabases(packageId, ResourceGroups.MsSql2014, false));
|
||||
sqlUsers.AddRange(ES.Services.DatabaseServers.GetSqlUsers(packageId, ResourceGroups.MsSql2000, false));
|
||||
sqlUsers.AddRange(ES.Services.DatabaseServers.GetSqlUsers(packageId, ResourceGroups.MsSql2005, false));
|
||||
sqlUsers.AddRange(ES.Services.DatabaseServers.GetSqlUsers(packageId, ResourceGroups.MsSql2008, false));
|
||||
sqlUsers.AddRange(ES.Services.DatabaseServers.GetSqlUsers(packageId, ResourceGroups.MsSql2012, false));
|
||||
sqlUsers.AddRange(ES.Services.DatabaseServers.GetSqlUsers(packageId, ResourceGroups.MsSql2014, false));
|
||||
}
|
||||
else if (driverName == "MySql")
|
||||
{
|
||||
|
|
|
@ -170,7 +170,8 @@ namespace WebsitePanel.Portal
|
|||
(resourceGroup.GroupName == ResourceGroups.MsSql2000)|
|
||||
(resourceGroup.GroupName == ResourceGroups.MsSql2005)|
|
||||
(resourceGroup.GroupName == ResourceGroups.MsSql2008)|
|
||||
(resourceGroup.GroupName == ResourceGroups.MsSql2012)|
|
||||
(resourceGroup.GroupName == ResourceGroups.MsSql2012) |
|
||||
(resourceGroup.GroupName == ResourceGroups.MsSql2014) |
|
||||
(resourceGroup.GroupName == ResourceGroups.MySql4)|
|
||||
(resourceGroup.GroupName == ResourceGroups.MySql5)|
|
||||
(resourceGroup.GroupName == ResourceGroups.Statistics)|
|
||||
|
|
|
@ -70,6 +70,7 @@ namespace WebsitePanel.Portal
|
|||
versions.Add(ResourceGroups.MsSql2005);
|
||||
versions.Add(ResourceGroups.MsSql2008);
|
||||
versions.Add(ResourceGroups.MsSql2012);
|
||||
versions.Add(ResourceGroups.MsSql2014);
|
||||
|
||||
FillDatabaseVersions(PanelSecurity.PackageId, ddlDatabaseVersion.Items, versions);
|
||||
}
|
||||
|
|
|
@ -161,6 +161,8 @@ namespace WebsitePanel.Portal
|
|||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
|
||||
// add SQL Server engines
|
||||
if (cntx.Groups.ContainsKey(ResourceGroups.MsSql2014))
|
||||
AddDatabaseEngine(DeploymentParameterWellKnownTag.Sql, ResourceGroups.MsSql2014, GetSharedLocalizedString("ResourceGroup." + ResourceGroups.MsSql2014));
|
||||
if (cntx.Groups.ContainsKey(ResourceGroups.MsSql2012))
|
||||
AddDatabaseEngine(DeploymentParameterWellKnownTag.Sql, ResourceGroups.MsSql2012, GetSharedLocalizedString("ResourceGroup." + ResourceGroups.MsSql2012));
|
||||
if (cntx.Groups.ContainsKey(ResourceGroups.MsSql2008))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue