MMDB database not created
Hi
I have install primavera P6 in
my system,it is client PV application.
Before
that i have created PMDB and MMDB databse in MS SQL
2005.
Project management module has been
install successfully but methodology management module is
not install.
Database error comes.Eventhough
databse is created in MSSQL 2005 database configuration
problem comes with following error msg:
Bad
public user name or password. Database Server Error: Login
failed for user 'pubuser'.
Cannot open database
"mmdb$primavera" requested by the login. The login
failed.;
So kindly help me out in
this matter.
Regards,<br
/>Jyotir
Did you create accounts for "pubuser" and "privuser"?
If so then try running the below SQL query against
your database:
EXEC
sp_change_users_login
'Update_One','pubuser','pubuser'
EXEC
sp_change_users_login
'Update_One','privuser','privuser'
Similar Messages
-
Cisco LMS 4.1 Installation on Windows Server 2008 R2, Databases not created
Hi There,
As always, I am trying to install LMS 4.1 on windows server 2008 R2 and after the installation and login to the LMS I find the following:
DCRServer is down or may not be completely up. Check if the DCRServer process is running.
And after some troubleshooting I found that the LMS is not creating the CMF database and the other databases. Attached is the installation log file, if someone could help me with it would be appreciated. Please note the following:
1. I have downloaded the installation file from Cisco website twice, so I do not think it is the file that is corrupted, also it is only evaluation license.
2. I have met all the prerequisites and requirement as in the documentation guides, but maybe there is something still wrong.
Thanks,Also Here is more info output:
C:\Program Files (x86)\CSCOpx>pdshow -brief
Process State Pid
Tomcat Program started - No mgt msgs received 1572
TomcatMonitor Running normally 2236
Apache Program started - No mgt msgs received 2436
DataPurge Administrator has shut down this server 0
DCRServer Failed to run 0
CMFOGSServer Administrator has shut down this server 0
EssentialsDM Administrator has shut down this server 0
ConfigMgmtServer Never started 0
ConfigUtilityService Never started 0
CTMJrmServer Administrator has shut down this server 0
ChangeAudit Never started 0
SyslogAnalyzer Program started - No mgt msgs received 2976
ICServer Running normally 5096
EnergyWise Never started 0
PMCOGSServer Administrator has shut down this server 0
IPMOGSServer Administrator has shut down this server 0
IPMProcess Never started 0
TISServer Program started - No mgt msgs received 2544
DFMOGSServer Program started - No mgt msgs received 876
InventoryCollector Running normally 3052
Interactor Program started - No mgt msgs received 5136
InventoryCollector1 Program started - No mgt msgs received 5144
Interactor1 Program started - No mgt msgs received 5308
PTMServer Program started - No mgt msgs received 5320
UPMProcess Never started 0
TISDiscoveryJobCreate Administrator has shut down this server 0
SyslogCollector Running normally 5340
Proxy Program started - No mgt msgs received 5348
PMServer Running normally 5360
NameServer Program started - No mgt msgs received 5680
NameServiceMonitor Running normally 5876
LicenseServer Program started - No mgt msgs received 5884
FHPurgeTask Never started 0
EventFramework Program started - No mgt msgs received 5892
EPMServer Program started - No mgt msgs received 5904
FHServer Administrator has shut down this server 0
NOSServer Program started - No mgt msgs received 5580
diskWatcher Running normally 5640
DFMMultiProcLogger Program started - No mgt msgs received 5864
DFMLogServer Program started - No mgt msgs received 4896
DFMCTMStartup Administrator has shut down this server 0
DfmBroker Running normally 6104
DfmServer Running normally 6416
DfmServer1 Running normally 6424
DCRDevicePoll Never started 0
CSRegistryServer Running normally 6432
CSDiscovery Never started 0
AdapterServer1 Program started - No mgt msgs received 6440
AdapterServer Program started - No mgt msgs received 6448
C:\Program Files (x86)\CSCOpx>pdshow DCRServer
Process= DCRServer
State = Failed to run
Pid = 0
RC = -3
Signo = 1073741821
Start = N/A
Stop = 07/02/2012 17:39:06
Core = Not applicable
Info = Application failed or was registered incorrectly.
C:\Program Files (x86)\CSCOpx>net stop crmdmgtd
The Cisco Prime Daemon Manager service is stopping..........................................
The Cisco Prime Daemon Manager service was stopped successfully.
C:\Program Files (x86)\CSCOpx>bin\perl.exe objects\db\conf\configureDb.pl action=validate dsn=cmf
INFO: C:\PROGRA~2\CSCOpx/objects/db/conf/ConfigureDB.LOCK locked for the operation...
ERROR: [StandardDbUpgrade] : Database cmf is not installed.
INFO: C:\PROGRA~2\CSCOpx/objects/db/conf/ConfigureDB.LOCK released for the future operations...
C:\Program Files (x86)\CSCOpx>bin\perl.exe bin\dbpasswd.pl all
ERROR: There is no database available to change password.
C:\Program Files (x86)\CSCOpx>bin\perl.exe bin\dbRestoreOrig.pl dsn=cmf dmprefix=Cmf npwd=pwd
'cmf' is not a valid data source for the product. -
HPCM - Manage Database not creating outline in Essbase application
Hi,
I've created the HPCM application from EPM 11.1.2.1 and I have also created the Stages, POV , Drivers and assignments but I cannot do data entry since the Essbase cube outline itself is not created.
I've gone to Manage Database -> "Deploy Now" several times to no avail . The Application and the Database gets created in Essbase but when I open the outline it is Blank!
My taskflow keeps showing the Status as "Done" but result variable as "Failed". Can anyone suggest what I'm doing wrong here? Or is there any setting/configuration in HPCM or Essbase that I need to set before I Deploy the HPCM application Calulation database and Reporting database?
Below is the Taskflow message I get :
Taskflow Participant Summary
Id wf-1330001062632 Application HPCMCG
Taskflow HPCMCG_DeployCube_D20120223T074416_e3f Initiator user1
Started Feb 23, 2012 7:44:22 AM Status Done
Description Run Now button initiated workflow
Participant Stage Name Status Result Variable Status Message Completed
user1 CalcCube Done Failure Action failed Feb 23, 2012 7:51:16 AM
Edited by: user8540032 on Feb 23, 2012 5:28 AM
Edited by: user8540032 on Feb 23, 2012 10:24 PM
Edited by: user8540032 on Feb 23, 2012 10:28 PMHi,
I've got the solution. To solve this problem, you would need to configure the registry of the PC where HPCM client is installed with:
TcpTimedWaitDelay
Registry key=HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Data type=REG_DWORD
Default value=0xF0 (240 seconds = 4 minutes)
Valid values=0x1E to 0x12C (30 to 300 seconds)
MaxUserPort
Registry key=HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Data type= REG_DWORD
Default value=20000
Valid values= 5,000 to 65,534 (port numbers)
In order to do this , you would have to do the following :
1. Create a new REG_DWORD value named TcpTimedWaitDelay. Set the value to decimal 30, which is Hex 0x0000001e. This value sets the wait time to 30 seconds.
2. Create a new REG_DWORD value named MaxUserPort. Set this value to at least decimal 32768 or 65534.
3. Create a new REG_DWORD value named MaxFreeTcbs. Set the value to decimal 6250. (The default is 2000 so you are basically tripling this value.).
4. Reboot the machine for the new settings to take effect.
Regards,
Jonathan -
Database not creating using DBCA
Hi,
I installed oracle on solaris 10 sparc system
when i try to create a database using dbca, it is not creating.
after i click on finish button on dbca to create a database, database creating windows is not opening, i mean it is in same window, i clicked thousand times on that finish button, no windows is opening, nothing is happening.
please help, i will really appreciate if anyone tell me how to resolve this issue.
Regards,
Veeresh Ssolaris server is 64 sparc
and i installed oracle 10.2.0.1 64 bit for sparc 64
now this is not working.
can i install oracle 10.2.0.2 x86 in this sparc 64 bit server -
Company database not created in SLD
Hi Experts,
I have tried to uninstall and reinstall the "Integration Solution for SAP Business One" but the databases under SLD doesn't shows. Anyone can help me to solve the problem? Thanks in advance!
Regards,
HorheHi Horhe........
Please follow the below Procedure......
1. Go to MS SQL Server and Login.
2. Select Database which is not showing in SLD.
3. Take Backup.
4. Select the same database and Right Click and then Detach and then loigin in sap and refresh company list.
3. Again go to MS SQL Server and Login.
4. Right Click on Database Option and Attach the same database from C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA this pathand atatach .mdf file of that database.......
Then go to SAP and again refresh the company list.
And then login to Integration Solution for SAP Business One and SLD and then check teh database.......
Regards,
Rahul -
Database not created under RHL9, unable to login to sqlplus,
I have installed Oracle9.2.0.4 in Red Hat Linux9 without dbca. While installing it showed me the error, unable to install dbca.
It prompts for
stop installation of this product only
stop installation of all products
While selecting the first option, atlast it showed me that "Installation of Oracle9i database was unsuccessful"
But all the files are installed in my directory.
Also i am unable to login to SQLPLUS.
I have done uninstalling the products and installing more than three times.
Help me.
Regards,
RaajHi,
I have done all the settings as per instructions in http://www.puschitz.com/InstallingOracle9i.shtml. But still i am facing the same problem.
When executing lsnrctl start or lsnrctl status in terminal, it shows command not found.
I am unable to execute any database or sql command in prompt.
It shows "command not found"
Help me,
Raaj -
Database is not created in SQL server for Persistant Chat
Hi All,
We were deploying the Persistant Chat Lync 2013 Role. We have created the topology and published it. Then the Lync 2013 deployment is done on the Persistant Chat servers, while upgrading the cumulative servers soon after the deployment we are getting the
error as :
Test-CsDatabase : Cannot open database "mgc" requested by the login. The login
failed.
Login failed for user 'domain\username'.
At line:1 char:1
+ Test-CsDatabase -ConfiguredDatabases -SqlServerFqdn
SQL Server ...
Get-MirrorState also was not giving the proper result. Then when I checked in the SQL server, we found that both mgc and mgccomp databases itself not created.
Could someone assist how we can install the database now?? I googled but confused a bit. Servers are already LYNC deployed, so which command and procedure we need to follow to install the DB on SQL servers and also in mirror server.
Never giveup till you get what to want.Please share Test-CsDatabase -verbose
And Get-MirrorState
in details
PLEASE REMEMBER, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answered" -
Database Initialiser does not create azure sql database
I have a WPF application In the OnStartup in the app.cs I set the Database initializer and forced the context the initialise my database:
Debug.WriteLine("Setting Initializer");
Database.SetInitializer<MyContext>(new MyDatabaseInitializer());
Debug.WriteLine("Declaring new context");
using (MyContext c = new MyContext("MyContext"))
Debug.WriteLine("Force the initialization");
c.Database.Initialize(true);
Debug.WriteLine("Done!");
I created a sql database in the management portal of the azure.
Copied the connectionstring it provided for ADO.net.
But my database is not created.
I also added a firewall rule but nothing happens. I Have no clue what to do.
Can anybody please help me with this?
If you need more information please ask i really have to get this sorted out.
Thanks in advance!Hi Turkstra,
I have tried to use EF to create Azure SQL database, it works as expect, the database 'jambordbcreate' appear in my SQL Azure, below is the detailed codes.
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeFirst
class Program
static void Main(string[] args)
Database.SetInitializer(
new CreateDatabaseIfNotExists<SchContext>());
using (var db = new SchContext("Server=tcp:****.database.windows.net,1433;Database=jambordbcreate;User ID=vote@***;Password=***;Trusted_Connection=False;Encrypt=True;Connection Timeout=30"))
string name = "jambor";
var student=new Student(){Name=name, ID="1a"};
db.Students.Add(student);
db.SaveChanges();
db.Database.Initialize(true);
public class Student
public string ID { get; set; }
public string Name { get; set; }
public string age { get; set; }
public string sex { get; set; }
public class School
public string ID { get; set; }
public string Name { get; set; }
public virtual List<Student> Students { get; set; }
public class SchContext : DbContext
public SchContext(string connection):base(connection)
public DbSet<Student> Students { get; set; }
public DbSet<School> Schools { get; set; }
I suggest you check your SQL connection, after run your code, please refresh azure portal to see whether your database is exist. Hope this give you some help.
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Secure Store Service Application takes a lot of time and does not create the database
Hi everybody,
I was trying to configure sharepoint performance point and I was following the instruction. After I created the performance point services application I tried to creat the secure store service application. When I do this, the progress window stays open forever
even after 2 hours. If I close the window, I will see that the secure store service and proxy app is created and the application pool also is created in IIS but the database is not and the application service is stopped. even when I want to delete it, it's
the same story and the progress window stays until I close it manually. Nothing has been logged in the event viewer because it doesn't throw any exceptions.
I don't think that I have permission issues on the database server side because I have created the performance point service app and the database is there. I have used the same credentials to crete the secure store.
I have restarted the secure store service and IIS for many times and even the server itself.
I'm wondering if anybody has had this issue because I couldn't find anything on the web.
Thanks,
EdwinAlex, please ignore my previous answer. I found more information in the ULS. At the time that I started creating the service application by power shell these things are logged and they are repeated several times:
it starts with:
11/13/2013 15:19:55.52 PowerShell.exe (0x1698)
0x170C
Secure Store Service
Secure Store
esj6 High
Creating Secure Store Service Application 'Secure Store Service Application'.
c402af0c-5ff6-4995-83b8-3f95210a8b3d
11/13/2013 15:19:55.54 PowerShell.exe (0x1698)
0x170C
Secure Store Service
Secure Store
esj9 Medium
Creating "database object" 'SP_SecureStore' for application. At this time database is not created.
c402af0c-5ff6-4995-83b8-3f95210a8b3d
11/13/2013 15:19:55.54 PowerShell.exe (0x1698)
0x170C
Secure Store Service
Secure Store
esk0 Medium
Saving "database object" 'SP_SecureStore' in the config db.
c402af0c-5ff6-4995-83b8-3f95210a8b3d
11/13/2013 15:19:55.83 w3wp.exe (0x0944)
0x0DB4
Secure Store Service
Secure Store
d4gx Verbose
BackgroundTasks instance accesed.
11/13/2013 15:19:55.83 SPUCWorkerProcessProxy.exe (0x13A0)
0x02B0
Secure Store Service
Secure Store
d4gx Verbose
BackgroundTasks instance accesed.
11/13/2013 15:19:55.83 PowerShell.exe (0x1698)
0x1740
Secure Store Service
Secure Store
f7wk Verbose
StartTracker called for secure store ''
11/13/2013 15:19:55.83 PowerShell.exe (0x1698)
0x1740
Secure Store Service
Secure Store
f7wl Verbose
Tracker not started because call not made from Service Host.
11/13/2013 15:19:55.83 WebAnalyticsService.exe (0x0A6C)
0x1B88 Secure Store Service
Secure Store
f7wk Verbose
StartTracker called for secure store ''
Finally it says:
11/13/2013 15:19:55.90 PowerShell.exe (0x1698)
0x170C
Secure Store Service
Secure Store
esk9 High
Secure Store Service Application 'Secure Store Service Application' created.
c402af0c-5ff6-4995-83b8-3f95210a8b3d -
Can not create directory error while creating database
i am creating database using dbca in oel but when i try to do so i get an error saying can not create directory pawii
and pawii is the sid
actually oracle is installed on u01 and i am creating database in u02
but this error is not allowing me to create database but when i try to create database in uo1 the database installed successfully but this is not happening when i try to create database in another mount point u02987018 wrote:
so finally i had solved the problem myself as people like rukbat are very unhelpful in nature here
all we had to do is we had to change the group of the folder to oracle and oinstall where we are going to create our new database :)Actually he tries to be quite helpful. But sometimes the help you need isn't the help you want.
"When you need me but do not want me, then I must stay. When you want me but no longer need me, then I have to go." (Nanny McPhee) -
DPM 2012 Install Fails, The Database was not Created ID 811
Hi.
I've tried installing DPM on a Standalone Server (SQL + DPM), and get the "Database was not Created" error. I initially tried DPM 2012 R2, and found that there is an issue with Disjoint Namespaces, so went to DPM 2012 SP1, but still getting
the same error.
The Install Account has full access rights (sysadmin) to the DPM SQL Instance, however cannot seem to get it right. The account using to do the install has full Enterprise admin, Domain Admin, Backup Operators & Administrators rights.
When opeining SQL Managemet studio, I can see the database has been created but the setup fails and requires me to revert.Here is the last few lines of the Install Log File, please help I always mark as answer.
2014-10-01 08:54:49 PM] Information : Configuration.DBConfigurator: Setting Read_Committed_SnapShot ON
[2014-10-01 08:54:49 PM] Information : Creating tables
[2014-10-01 08:54:49 PM] Information : Execute the SQL script
[2014-10-01 08:54:49 PM] Data : FileName = "D:\Program Files\Microsoft System Center 2012\DPM\SQL\100\Tools\Binn\SQLCMD.EXE"
[2014-10-01 08:54:49 PM] Data : Arguments = -b -E -d DPMDB_S_PRODBACKUP -i MiniSetupDBConfiguration.sql -r -S S-PRODBACKUP\SCDPM
[2014-10-01 08:54:49 PM] Data : Error code = 0
[2014-10-01 08:54:49 PM] Information : Adding DPM Server entry in tbl_AM_Server table
[2014-10-01 08:54:49 PM] Information : Preloading Microsoft.Internal.EnterpriseStorage.Dls.AgentManager.DB.InstalledAgents
[2014-10-01 08:54:49 PM] Information : Preloading Microsoft.Internal.EnterpriseStorage.Dls.EngineUICommon.DpmThreadPool
[2014-10-01 08:54:50 PM] Data : Database connection string = Integrated Security=SSPI;server=S-PRODBACKUP\SCDPM;Pooling=false;database=DPMDB_S_PRODBACKUP;Pooling=false
[2014-10-01 08:54:50 PM] Information : Grant execute permissions on dbo.prc_MOM_ProductionServer_Get to DPMDBReaders$S-PRODBACKUP
[2014-10-01 08:54:50 PM] Information : Grant execute permissions on dbo.prc_MOM_HeartBeat_Get to DPMDBReaders$S-PRODBACKUP
[2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Registering DPM category
[2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Adding DPM Category to GlobalSettings table
[2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Adding ConsiderOfflineMediaToCheckOffsiteReady to GlobalSettings table
[2014-10-01 08:54:50 PM] Information : Add job definitions
[2014-10-01 08:54:52 PM] Information : Creating schedules
[2014-10-01 08:55:00 PM] * Exception : => System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception
from HRESULT: 0x800706BE)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CProxyUtils.HandleErrors(Int32 hr, tagSAFEARRAY* exceptionResult)
at Microsoft.Internal.EnterpriseStorage.Dls.Engine.SchedulerServicesProxy.Register(String scheduleXml)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
[2014-10-01 08:55:00 PM] * Exception : => The DPM database was not created.Use Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that
it is running, and then run Setup again.Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: exception ---> Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.DatabaseConfigurationException: exception ---> System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CProxyUtils.HandleErrors(Int32 hr, tagSAFEARRAY* exceptionResult)
at Microsoft.Internal.EnterpriseStorage.Dls.Engine.SchedulerServicesProxy.Register(String scheduleXml)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
--- End of inner exception stack trace ---
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterSchedule(String scheduleXmlFile)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.PopulateDefaultScheduleDefinitionsInDatabase(DBConfigurationReader dbCfgReader)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.AddJobAndScheduleDefinitions()
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.MiniSetupConfiguration.PopulateDB(Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.MachineSpecificConfiguration(Boolean existingDB, Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName, String instanceName)
*** Mojito error was: DatabaseCreateFailed; 0; None
--- End of inner exception stack trace ---
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.MachineSpecificConfiguration(Boolean existingDB, Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName, String instanceName)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.Configure(Boolean existingDB, Boolean upgrading, String databaseLocation, String sqlServerMachineName, String instanceName, Boolean oemSetup)
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.DpmInstaller.Configure()
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallDpm()
at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallerThreadEntry()
*** Mojito error was: DatabaseCreateFailed; 0; None
[2014-10-01 08:55:02 PM] *** Error : The DPM database was not created.
Use Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that it is running, and then run Setup again.
ID: 811
[2014-10-01 08:55:02 PM] Information : Data Protection Manager installation has failed. To return the server to its original state, you must uninstall Data Protection Manager by using Add or Remove Programs in Control Panel. This will remove all files and components
copied during installation.
For details, click the Error tab.
[2014-10-01 09:33:51 PM] Data : Error Code Web Link =
http://go.microsoft.com/fwlink/events.asp?ProdName=Microsoft System Center Data Protection Manager&ProdVer=4.1.3313.0&EvtID=811&EvtSrc=MSDPM&LCID=1033&P2wAppId=p2wMsdpmEEHi,
Check the SQL Agent account on the remote SQL server and make sure the user account syntax is in the form of UserName\DomainName and not UserName@DomainName - if it is change it.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
posting is provided "AS IS" with no warranties, and confers no rights. -
Greetings community,
This question is related to EXPRESS edition.
Let’s say that I have MyDatabase2014 and I’ve been populating it with some data during the year 2014. Before the end of the year, I want to prepare another database named MyDatabase2015, which should be empty, but of course it should have
all tables, relations, indexes and stored procedures just like MyDatabase2014. The idea is just to change a connection string and to continue using the same app for the same job.
So in SSMS, I right-clicked the database, choose script database as / create to / new query, but I didn’t get what I wanted. In query window I’ve got just create database statement, and below that few dozen of alter database set ansi this
or that statements, and set many other things. However, no table creation was scripted. Also, no stored procedures have been created, and about users, and other security objects better not to start to talk about.
I could have achieved that simply by right-clicking databases node and select new database. So what’s the point of “script database as”?
Does this work in SQL server editions other than EXPRESS?
When it comes to express edition, what’s the best practice to get the empty copy of a database?
Thanks for any help.For scripting out the users and their permissions you can use this script
-- Capture permissions for all users in a DB
SET NOCOUNT ON
DECLARE @Database varchar(max)
SET @Database = '<Db_Name>'-- set the database name here
IF EXISTS (SELECT * FROM SYS.SYSDATABASES WHERE name = @Database)
EXEC('USE ' + @Database + ';
DECLARE @temp table(Extract Varchar(MAX))
INSERT INTO @temp (Extract)
SELECT ''EXEC( ''''USE ' + @Database + '; IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = N'''''''''' + name + '''''''''')IF EXISTS (SELECT *
FROM sys.database_principals WHERE name = N'''''''''' + name + '''''''''') DROP USER ['' + name + '']''''); ''
FROM sys.sysusers WHERE islogin = 1 AND hasdbaccess = 1 AND name NOT IN (''dbo'')
INSERT INTO @temp (Extract)
SELECT ''EXEC( ''''USE ' + @Database + '; IF NOT EXISTS
(SELECT * FROM sys.database_principals WHERE name = N'''''''''' + dp.name + '''''''''')
CREATE USER ['' + dp.name + ''] FOR LOGIN ['' + sp.name + '']''''); ''
FROM sys.server_principals sp
JOIN sys.database_principals dp ON (sp.sid = dp.sid)
AND dp.name NOT IN (''dbo'')
INSERT INTO @temp (Extract)
SELECT ''EXEC( ''''USE ' + @Database + '; IF NOT EXISTS
(SELECT * FROM sys.database_principals WHERE name = N'''''''''' + dp.name + '''''''''')
CREATE USER ['' + dp.name + ''] WITHOUT LOGIN ''''); ''
FROM sys.database_principals dp left
JOIN sys.server_principals sp ON (sp.sid = dp.sid)
where dp.principal_id between 5 and 16383
INSERT INTO @temp (Extract)
SELECT ''EXEC( ''''USE ' + @Database + '; EXEC sp_addrolemember '''''''''' + User_Name([groupuid]) + '''''''''', '''''''''' + User_Name([memberuid]) +
FROM sys.sysmembers WHERE User_Name([memberuid]) NOT IN (''dbo'')
INSERT INTO @temp (Extract)
SELECT ''EXEC( ''''USE ' + @Database + '; ''
+ CASE [a].[state_desc] WHEN ''GRANT_WITH_GRANT_OPTION'' THEN ''GRANT '' ELSE [a].[state_desc] END
+ '' ''
+ [a].[permission_name] + CASE class WHEN 1 THEN '' ON [''
+ [c].[name]
+ ''].[''
+ Object_Name([a].[major_id]) + ''] '' ELSE '''' END + '' TO [''
+ User_Name([a].[grantee_principal_id])
+ ''] '' + CASE [a].[state_desc] WHEN ''GRANT_WITH_GRANT_OPTION'' THEN '' WITH GRANT OPTION'' ELSE '''' END
+ ''''''); '' COLLATE Latin1_General_CI_AS AS [SQL]
FROM sys.database_permissions a
inner join [sys].[all_objects] b
ON [a].[major_id] = [b].[object_id]
inner join [sys].[schemas] c
ON [b].[schema_id] = [c].[schema_id]
INSERT INTO @temp (Extract)
SELECT ''EXEC( ''''USE ' + @Database + '; ''
+ [a].[state_desc]
+ '' ''
+ [a].[permission_name]
+ '' TO [''
+ USER_NAME([a].[grantee_principal_id])
+ ''] '''');''
from sys.database_permissions a
where a.class=0
INSERT INTO @temp (Extract)
SELECT ''EXEC( ''''USE ' + @Database + '; ''
+ [a].[state_desc]
+ '' ''
+ [a].[permission_name]
+ '' ON SCHEMA ::''
+ '' [''
+ SCHEMA_NAME([a].[major_id]) +
+ ''] TO [''
+ USER_NAME([a].[grantee_principal_id])
+ ''] '''');''
from sys.database_permissions a
where a.class=3
SELECT Extract AS [Extract] FROM @temp
GO
ELSE
SELECT '--NO'
GO
-
Why i can't not create new database in oracle 10g express
why i can't not create new database in oracle 10g express?
should i use oracle 11g standard edition?
thanksIn Oracle a schema is what a 'database' is in Sqlserver.
And if you would have been aware about the limitations of XE, you would have known you can only create *1* (one) database using Oracle XE.
However, probably you don't need a new database at all, and a schema will suffice.
Sybrand Bakker
Senior Oracle DBA -
Hi,
We need some guidance in creating indexes. Have created a table index with SE11. Chosen index, Non-unique, index on all databases.
When details are displayed the following message appears "Index does not exist in in database system". Which steps should be proceeded to create the index in DB? And what's the purpose if it's not created in DB?
What's the difference between creating indexes with tcode SE14 and SE11?Bruce,
Check below details. It may help you.
Note 912620 - FAQ: Oracle indexes
Note 334224 - Important notes for creating indexes
http://help.sap.com/saphelp_nw70/helpdata/EN/f2/31ad7d810c11d288ec0000e8200722/content.htm
Thanks
Sushil
Edited by: Sushil Suryawanshi on Jun 3, 2009 4:39 AM -
Could not create table on 'master' database
Hello,
I am new to the SQL Azure. When I tried to create table on master DB, i get following error.
Msg 262, Level 14, State 1, Line 1CREATE TABLE permission denied in database 'master'.
I tried to change role to 'db_owner' but have received following error.
Msg 15151, Level 16, State 1, Line 1Cannot alter the role 'db_owner', because it does not exist or you do not have permission.
I logged into master DB using the credentials I created while creating DB on the Azure. This is supposed to be 'sa'.
My question is, does SQL Azure allow to create objects (tables, stores procedures, triggers) on master DB. If yes, what am I doing wrong? If no, why?
My guess is that SQL Azure is not less than the On premises DB. It must be allowing objects creation on master DB.
I have found a similar question on forum but I did not get the answer. Here is the link --> https://social.msdn.microsoft.com/Forums/azure/en-US/cbff1bd2-358f-4106-b238-ec369941099d/master-database-cannot-alter-the-role-dbowner.
FYI, I have gone through following resources but haven't got solution for my problem.
1) https://iainhunter.wordpress.com/2011/06/20/copying-databases-and-creating-users-and-logins-for-sql-azure/
2) http://www.c-sharpcorner.com/forums/thread/126589/create-database-permission-denied-in-database-master.aspx
3) http://stackoverflow.com/questions/20656943/how-do-you-change-the-owner-of-an-azure-database
4) https://msdn.microsoft.com/en-us/library/azure/ee336235.aspx
Thanks in advance.My question is, does SQL Azure allow to create objects (tables, stores procedures, triggers) on master DB. If yes, what am I doing wrong? If no, why?
My guess is that SQL Azure is not less than the On premises DB. It must be allowing objects creation on master DB.
For the answer of the question, you can read Joseph's. Azure SQL, so far, is less than the premise DB except its
cloud-based advantage. There're many limitations like less T-SQL features supported.
Azure SQL Database Transact-SQL Reference
more links for your reference.
Preview features
Managing Databases and Logins in Azure SQL Database
Eric Zhang
TechNet Community Support
Maybe you are looking for
-
Which Mac Pro? More cores=slower speeds? And most of us know the speed matters or FPU for music and I don't understand the faster is for the least amount of procs. And while I get the whole rendering thing and why it makes sense. The above is what th
-
Pages document 'cannot be opened'
I was working on a document in Pages, closed it, then reopened it, to be greeted by this error message: It hasn't happened with any other documents (yet). I called Apple Support, copied, exported to PDF, erased and installed Pages fresh, only to stil
-
I have an Icebook circa 2001-02 with OS X 10.3.5. On some web sites nothing happens when I press certain buttons. For example, on Hotmail I can login, switch folders and view messages, but when I try to send a message the browser churns for a while a
-
Problem in passing varchar2 parameter to Evaluate function in OBIEE
Hi there, This is regarding an issue while passing parameter in EVALUATE function. I have to call a function with varchar parameters. parameter are nothing but my table column values. I've created session variables which holds value from my table col
-
LCM in csv File Format 11.1.2
Is it possible to export dimension metadata into a .csv file using LCM in 11.1.2? I can only see it as .xml format and no options to change to .csv.