Report Server create new database error
Hello everybody
I have MSSQL 2012 Standard Edition SP2 istalled on Windows Server 2008 R2.
I had installed Reporting Services on that server (thru install wizard add new feature).
Reporting Services installed with no errors, there is SQL Server Reporting Services service in SQL Server configuration Manager and it is running. When I launch Reporting Services Configuration Manager it saw the reporting services name and instance name,
but when I try to define the new database there is such error:
Could not connect to server: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception.
The Reporting Services and Database Engine are on same server. I have the administrator permission both on Windows and SQL server instance
Please help
Thank you
Hi HeyLe,
Based on my research, the issue may be related to user access permission. You can refer to the following method to troubleshooting the issue:
Open C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG folder | right click on the machine.config file | Properties | Security | make sure your domain account has FULL CONTROL permission on this file.
If above steps still do not work, please backup your machine.config file to somewhere else and replace with the attached one from my Windows Server 2008 environment.
Alternatively, app.config file also may cause the same issue.
There is a similar issue, you can refer to it.
http://stackoverflow.com/questions/6922879/exception-type-initializer-for-system-data-sqlclient-sqlconnection
http://nishantrana.me/2011/04/19/the-type-initializer-for-system-data-sqlclient-sqlconnection-threw-an-exception/
If your problem still exists, please feel free to let me know.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support
Similar Messages
-
Hi,
I have installed SQL Server 2012 Express edition (name of installation media: en_sql_server_2012_express_edition_with_advanced_services_x64.exe) from MSDN and I have installed the application on my pc with Windows 7 Exterprise.
Everything is working fine except when I am trying to create "New Database Diagram", where I recieve following error message:
TITLE: Microsoft SQL Server Management Studio
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
BUTTONS:
OK
I have tried two times to reinstall SQL Server 2012 Express and I have installed Cumulative Update #3 for SQL Server 2012 and restarted the machine, but I have still the same problem with the same error message.
Installed the following fixes:
1) 2012_RTM_DAC_CU3_2723749_11_0_2332_x64
2) SQLServer2012_RTM_CU3_2723749_11_0_2332_x64
These files was installed successful.
How can I solve the problem?
BR
Jan NilssonHi Jan,
Have you installed Visual Studio in your machine?
The problem seems to be related to installing and uninstalling the VS 2011 RC0 program.
The workaround involves copying the files from another PC with SQL 2008 or 2012 from one machine to another. Just replace this folder:
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8
See also the following for further details:
http://social.msdn.microsoft.com/Forums/en-GB/vstsdb/thread/d65c71f5-3887-4f2a-bbd3-e799a4ac6fdc
Best Regards,
Iric
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
SSMS crash when creating new database diagram
For several years I have been unable to create database diagrams from within SSMS. I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
I have installed, uninstalled, and repaired many dozens of times. I am currently using VS2013 ultimate with SQL2014 express.
I have tried every related 'workaround' that I can find on the internet. Still the problem persists.
Any help would be deeply appreciated.
Here are the relevant details with file versions:
In SSMS, I right-click on a database and choose New Database Diagram. A Blank diagram window appears with the SSMS error dialog:
===================================
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
Program Location:
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
Version info taken from Sql Server Management Studio/Help/About dialog:
Microsoft SQL Server Management Studio 12.0.2000.8
Microsoft Analysis Services Client Tools 12.0.2000.8
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 9.11.9600.17358
Microsoft .NET Framework 4.0.30319.18444
Operating System 6.1.7601
DLL versions
c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
dsref80.dll version 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
msdds.dll 12.0.21005.1
msddsf.dll 12.0.21005.1
msddslm.dll 12.0.21005.1
msdds.mp.dll 12.0.21005.1
msddsp.dll 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
msddsui.dll 12.0.21005.1Hello,
There is a Connect item related to this issue. This is the link of that Connect item:
https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
Try the workarounds posted there (Workarounds section).
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
I have created an RDL file programatically. When I execute the code I get the error as mentioned below:
Error: Sub report cannot be shown.
An internal error occurred on the report server. See the error log for more details. (rsInternalError)
When I copy and paste the code of RDL file into new RDL file and try to preview the output I get correct result.
Note: The new RDL file does not give any error if the output is seen using preview tab but it gives the error only when executed from report viewer or from internet explorer.
Any Suggestion/feedback is highly appreciated.
Thank You.
The code of the sample RDL is shown below:
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="DataSource1">
<DataSourceReference>DataSource1</DataSourceReference>
<rd:DataSourceID>fe4806ee-0358-4a87-b764-ac5de049545e</rd:DataSourceID>
</DataSource>
</DataSources>
<BottomMargin>0.25in</BottomMargin>
<RightMargin>0.25in</RightMargin>
<PageWidth>11in</PageWidth>
<ReportParameters>
<ReportParameter Name="machine_id">
<DataType>String</DataType>
<Prompt>machine_id</Prompt>
</ReportParameter>
<ReportParameter Name="from_date">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>From Date</Prompt>
</ReportParameter>
<ReportParameter Name="to_date">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>To Date</Prompt>
</ReportParameter>
</ReportParameters>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:SnapToGrid>true</rd:SnapToGrid>
<Body>
<ReportItems>
<Table Name="table1">
<DataSetName>Main_Report</DataSetName>
<TableGroups>
<TableGroup>
<Header>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox2">
<rd:DefaultName>textbox2</rd:DefaultName>
<ZIndex>1</ZIndex>
<Style>
<TextAlign>Left</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingBottom>2pt</PaddingBottom>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
<CanGrow>true</CanGrow>
<Value>=Fields!syscode.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.25in</Height>
</TableRow>
</TableRows>
<RepeatOnNewPage>true</RepeatOnNewPage>
</Header>
<Grouping Name="table1_Group1">
<PageBreakAtEnd>true</PageBreakAtEnd>
<GroupExpressions>
<GroupExpression>=Fields!syscode.Value</GroupExpression>
</GroupExpressions>
</Grouping>
</TableGroup>
</TableGroups>
<Details>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Subreport Name="subreport1">
<Parameters>
<Parameter Name="machine_id">
<Value>=Fields!machine_ip.Value</Value>
</Parameter>
<Parameter Name="syscode">
<Value>=Fields!syscode.Value</Value>
</Parameter>
<Parameter Name="from_date">
<Value>=Parameters!from_date.Value</Value>
</Parameter>
<Parameter Name="to_date">
<Value>=Parameters!to_date.Value</Value>
</Parameter>
</Parameters>
<ReportName>Holding_Summary_Multi_Period</ReportName>
</Subreport>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.25in</Height>
</TableRow>
</TableRows>
</Details>
<TableColumns>
<TableColumn>
<Width>10.5in</Width>
</TableColumn>
</TableColumns>
<Height>0.5in</Height>
</Table>
</ReportItems>
<Height>0.75in</Height>
</Body>
<rd:ReportID>d0a1293a-e98c-4f75-9597-03426d2e7218</rd:ReportID>
<LeftMargin>0.25in</LeftMargin>
<DataSets>
<DataSet Name="Main_Report">
<Query>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
<CommandText>select account_syscode as syscode , 'display Name' as display_name , * from mars_customer_list
where machine_ip = @machine_id</CommandText>
<QueryParameters>
<QueryParameter Name="@machine_id">
<Value>=Parameters!machine_id.Value</Value>
</QueryParameter>
</QueryParameters>
<DataSourceName>DataSource1</DataSourceName>
</Query>
<Fields>
<Field Name="syscode">
<rd:TypeName>System.Int64</rd:TypeName>
<DataField>syscode</DataField>
</Field>
<Field Name="display_name">
<rd:TypeName>System.String</rd:TypeName>
<DataField>display_name</DataField>
</Field>
<Field Name="customer_syscode">
<rd:TypeName>System.Int64</rd:TypeName>
<DataField>customer_syscode</DataField>
</Field>
<Field Name="account_syscode">
<rd:TypeName>System.Int64</rd:TypeName>
<DataField>account_syscode</DataField>
</Field>
<Field Name="machine_ip">
<rd:TypeName>System.String</rd:TypeName>
<DataField>machine_ip</DataField>
</Field>
</Fields>
</DataSet>
</DataSets>
<Code>Shared offset As Integer
Public Function GetPN(reset As Boolean, pagenumber As Integer) As Integer
If reset
offset = pagenumber - 1
End If
Return pagenumber - offset
End Function
</Code>
<Width>10.5in</Width>
<InteractiveHeight>11in</InteractiveHeight>
<Language>en-US</Language>
<PageFooter>
<ReportItems>
<Image Name="image1">
<Sizing>Fit</Sizing>
<Left>8.875in</Left>
<MIMEType />
<Width>1.5in</Width>
<Source>External</Source>
<Style />
<Value>bottom_right_logo.gif</Value>
</Image>
</ReportItems>
<Height>0.5in</Height>
<PrintOnLastPage>true</PrintOnLastPage>
<PrintOnFirstPage>true</PrintOnFirstPage>
</PageFooter>
<TopMargin>0.5in</TopMargin>
<PageHeight>8.5in</PageHeight>
</Report>i created a SSRS report with shared datasets and uploaded rdl files and rsd files , while trying to map rdl file with data sets i am getting an error
when i click on manage for .rdl file, its throwing error , as
"An internal error occurred on the report server. See the error log for more details. (rsInternalError)
Object reference not set to an instance of an object.
please help me with this -
An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help The profile for the user is a temporary profile. (Exception from HRESULT: 0x80090024)
while proview the report i will get this error am using sql server 2008R2,
can u plesae hlep me out for this
<Header>
<Product>Microsoft SQL Server Reporting Services Version 2009.0100.1600.01 ((KJ_RTM).100402-1539 )</Product>
<Locale>English (United States)</Locale>
<TimeZone>W. Europe Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\Logfiles\ReportServerService__01_30_2015_03_09_32.log</Path>
<SystemName>WEGDACM1</SystemName>
<OSName>Microsoft Windows NT 6.1.7601 Service Pack 1</OSName>
<OSVersion>6.1.7601</OSVersion>
<ProcessID>4880</ProcessID>
<Virtualization>Hypervisor</Virtualization>
</Header>
rshost!rshost!5e4!01/30/2015-03:09:32:: i INFO: Currently registered url http://+:80/ReportServer_MSSQLSERVEREPORT/ on endpoint 2
rshost!rshost!5e4!01/30/2015-03:09:32:: e ERROR: Failed to register url=http://+:80/Reports/ for endpoint 3, error=b7.
rshost!rshost!5e4!01/30/2015-03:09:32:: w WARN: Endpoint 3 is enabled but no url is registered for vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\ReportManager.
servicecontroller!DefaultDomain!1e30!01/30/2015-03:09:32:: e ERROR: Error creating HTTP endpoint. System.Runtime.InteropServices.COMException (0x800700B7): Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)
at Microsoft.ReportingServices.HostingInterfaces.IRsUnmanagedCallback.CreateHttpEndpoint(RsAppDomainType application, String[] urlPrefixes, Int32 cPrefixes, String[] hosts, Int32 cHosts, Boolean wildCardPresent, String virtualDirectory, String
filePath, Int32 authType, Int32 logonMethod, String authDomain, String authRealm, Boolean authPersist, Int32 extendedProtectionLevel, Int32 extendedProtectionScenario, Boolean enabled)
at Microsoft.ReportingServices.Library.ServiceAppDomainController.SetWebConfiguration(RunningApplication rsApplication, Boolean enabled, String folder)
rshost!rshost!65c!01/30/2015-03:09:32:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer_MSSQLSERVEREPORT/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\ReportServer\ReportBuilder.
rshost!rshost!1e30!01/30/2015-03:09:32:: i INFO: Derived memory configuration based on physical memory as 16776696 KB
servicecontroller!DefaultDomain!1e30!01/30/2015-03:09:32:: i INFO: Recycling the service from the default domain
rshost!rshost!1e30!01/30/2015-03:09:46:: i INFO: Application domain type WindowsService statistics: created: 7, unloaded: 7, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!1e30!01/30/2015-03:09:46:: i INFO: Appdomain:11 WindowsService_7 started.
library!WindowsService_7!1e30!01/30/2015-03:09:46:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
servicecontroller!WindowsService_7!1e30!01/30/2015-03:09:46:: e ERROR: Error initializing configuration from the database: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration
error.
resourceutilities!WindowsService_7!1e30!01/30/2015-03:09:47:: i INFO: Reporting Services starting SKU: Enterprise
servicecontroller!WindowsService_6!1e30!01/30/2015-03:09:47:: i INFO: Service controller exiting.
appdomainmanager!DefaultDomain!1e30!01/30/2015-03:09:47:: i INFO: Appdomain:10 unregistered.
appdomainmanager!DefaultDomain!1e30!01/30/2015-03:09:47:: i INFO: Appdomain:10 WindowsService_6 unloading.
appdomainmanager!DefaultDomain!1f40!01/30/2015-03:09:47:: i INFO: AppDomain:10 0 pending unload(s)
library!WindowsService_7!2410!01/30/2015-03:09:47:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
library!WindowsService_7!2410!01/30/2015-03:09:47:: e ERROR: ServiceStartThread: Exception caught while starting service. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration
error.
library!WindowsService_7!2410!01/30/2015-03:09:47:: e ERROR: ServiceStartThread: Attempting to start service again...
library!DefaultDomain!202c!01/30/2015-08:04:43:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
library!DefaultDomain!202c!01/30/2015-08:25:26:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
library!DefaultDomain!202c!01/30/2015-08:26:16:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
The above is my log file pls find it resolve my problem,am trying to add the encryption key to my configuration seetings it will through the error like The profile you were used is temporary profile. -
Hello,
I've created new database in OTM application. After a hard time, it was succussfully done. unfortunately, one issue is still pending and am not able to re-solve that. once i logged into the application, i got an error 'syntax error - ...otm/treeview.do". when i open this link that was not system founded that was actually shown me an apache error. and on the right panel loading page was coming contineously.
I've done the ODBC config and the database config too..Also checked the server name and other details but still not able to solve this issue
can anyone help me on this?Hi
Can you confirm that the relevant tables have been created in Oracle.
Version 8.50 uses 2 databases one (an Access database) to log in and the second (Oracle in your case) to store project related information.
I think that the issue that you are seeing is due to the oracle database not being created properly.
Regards
Alex -
BRTOOLS - Recreate database Create new database fails URGENT HELP
Hi All,
I'm following sap note 748434 to recreate SYSTEM tablespace but when I've got to step 4 Create new database it errors :-
Recreate database main menu
1 + Specify new database options
2 + Export user tablespaces
3 + Export global objects
4 = Create new database
5 * Import global objects
6 * Import user tablespaces
7 * Exit program
8 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
4
BR0280I BRSPACE time stamp: 2014-03-13 15.26.00
BR0663I Your choice: '4'
BR0613I Database instance BWD is shut down
BR0618I Database instance BWD will be started now
BR0280I BRSPACE time stamp: 2014-03-13 15.26.00
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.26.04
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.26.04
BR0619I Starting database instance BWD ...
BR0280I BRSPACE time stamp: 2014-03-13 15.26.06
BR0620I Start of database instance BWD successful
BR0490I Database file /oracle/BWD/sapdata1/system_1/system.data1 (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/log_g11m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogA/log_g11m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogB/log_g12m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogB/log_g12m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/log_g13m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogA/log_g13m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogB/log_g14m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogB/log_g14m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/sapdata1/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/saparch/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0280I BRSPACE time stamp: 2014-03-13 15.26.06
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0792I Database files can be saved before deletion
BR0675I Do you want to perform this action?
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0676I Enter 'y[es]' to perform the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0257I Your reply: 'c'
BR0678I The action will be skipped...
BR0259I Program execution will be continued...
BR0794I Database file /oracle/BWD/sapdata1/system_1/system.data1 deleted
BR0480I Directory /oracle/BWD/sapdata1/system_1 deleted
BR0794I Database file /oracle/BWD/origlogA/log_g11m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogA/log_g11m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogB/log_g12m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogB/log_g12m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogA/log_g13m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogA/log_g13m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogB/log_g14m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogB/log_g14m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogA/cntrl/cntrlBWD.dbf deleted
BR0794I Database file /oracle/BWD/sapdata1/cntrl/cntrlBWD.dbf deleted
BR0794I Database file /oracle/BWD/saparch/cntrl/cntrlBWD.dbf deleted
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/system_1/system.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/sysaux_1/sysaux.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/temp_1/temp.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata4/undo_1/undo.data1 and will be recreated now if needed
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0370I Directory /oracle/BWD/sapdata1/system_1 created
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR1273I SQLPLUS will be started for execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.43
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.27.43
BR0278I Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi':
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Mar 13 15:27:43 2014
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> SQL> SQL> Connected.
SQL>
SQL> CREATE DATABASE BWD
ERROR at line 1:
BR0278E Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi':
ORA-01092: ORACLE instance terminated. Disconnection forced
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
BR0280I BRSPACE time stamp: 2014-03-13 15.28.32
BR1274I Execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql completed
BR1277W SQLPLUS reported warnings or errors during the execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
BR0280I BRSPACE time stamp: 2014-03-13 15.28.32
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
The file it refers to Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi': contains this :-
cat /oracle/BWD/sapreorg/.senkbgrd.spi
set linesize 250;
set pagesize 1000;
@/oracle/BWD/sapreorg/.senkbgrd.spu
host /usr/sap/BWD/SYS/exe/run/brtools -f delete /oracle/BWD/sapreorg/.senkbgrd.spu;
@/oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
exit;
But the file it tries to run first @/oracle/BWD/sapreorg/.senkbgrd.spu doesn't exist at runtime it seems!
Anyone offer any help urgently as this system is now dead!
Thanks
CraigApologies, I resolved this myself. Was not obvious and no error logs indicated what the problem was.
Turns out that the initial configuration of tablespace data files was incorrect. Even though it matched the correct size it tried creating them as 1 file and subsequently ran out of file system space.
After realising this I changed the values and adjusted the tablespaces post creation.
Thanks anyway.
Cheers
Craig -
How to create new database on Oracle 10g
Hi All,
Can any one tell me how to create new database on oracle 10g.
Thanks in Advance for your help.again some confusion here.....
u said u need a new database in your first post and now you saying u need a new schema..
one database has many schemas(users)..... ex: scott,sys,system are few of them...
now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
OR
You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
so you login to the same machine or access it from your machine using remote login.
I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
Message was edited by:
coolguy -
Creating new database with old database datafile
is it possible to create new database with old datafile
i lost my database ,i have no back up, just i have datafiles,
i want to create new database and want to create tablespaces with old datafiles
pls suggest me right one
tahnk youSQL> recover database using backup controlfile until cancel;
ORA-00279: change 339559282 generated at 03/09/2008 12:23:01 needed for thread 1
ORA-00289: suggestion : F:\ORA9IAS\RDBMS\ARC01901.001
ORA-00280: change 339559282 for thread 1 is in sequence #1901
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log 'F:\ORA9IAS\RDBMS\ARC01901.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'F:\ORA9IAS\ORADATA\IASDB\SYSTEM01.DBF' -
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 -
Creating new databases after latest security patch applied
10.2.0.4
If I create a database AFTEr applying the opatch for the October 2009 security patch, do I need to also run:
@catbundle.sql cpu apply
Or is it included in the create database? I use the DBCA to create new databases.user8574962 wrote:
This is what Oracle states on metalink doc id: 422303.1
Once the bundle patch or the Critical Patch Update (CPU) patch is applied on an ORACLE_HOME should you run post-installation scripts for every newly created Oracle database using the same ORACLE_HOME?
Solution
This should be documented in the patch's README as the answer will vary with each patch.
If the patch's README is not documented, then the Post Install tasks should be run.
And this is what the OCTCPU09 README says:
3.3.3 Post Installation Instructions for Databases Created or Upgraded after Installation of CPUOct2009 in the Oracle Home
These instructions are for both non-RAC environments and RAC environments when a database is created or upgraded after the installation of CPUOct2009.
You must execute the steps in Section 3.3.2.1, "Loading Modified .sql Files into the Database" for any new database only if it was created by any of the following methods:
Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
Using a script that was created by DBCA that creates a database from a sample database
Hope that helps.Point taken that it could vary by patchset, but those particular instructions quoted square exactly with what I had said. To quote with emphasis:
"You must execute the steps . . . for any new database *only if* it was created by any of the following methods . . ."
And what are those methods? Creating the database from a sample (pre-patch) database. If one uses dbca to create a 'custom' database, the resulting scripts will start from scratch with a CREATE DATABASE command - no pre-patch version sample or seed database involved.
:-) -
How create new database and table in java db and how get java db backup
hi master
sir i use stuido creator
sir please give me idea how i create new database
and how create new table and view in this new database
and how get this database backup
how i give this databae backup to isp for deployment
please give me idea with step
thank
aamirCreate your own Value Object (Data Transfer Object) in Java with a structure similar to this and map the fields returned from the database to the fields of that object (preferably using SEtT methods).
Hope this helps. -
Report server failed service specific error 186
Gurus!
I am using oracle 9iAS enterprise,
Report server failed service specific error 186
Kindly help!I believe you'll need to edit your tnsnames.ora file located in \ORACLE\806\NET80\ADMIN. The last line of this file should read something like
Rep60_SYSNAME, Rep60_SYSNAME.world = (ADDRESS=(PROTOCOL=tcp) (HOST=SYSNAME) (PORT=1949))
where SYSNAME is the name of the PC Reports is installed on.
I had this same error, and once I modified this file, everything seemd to work fine.
Good Luck
[email protected] -
Create new database using rman cold backup
It oracle 10g database version 10.2.0.4
I took the cold backup of the database using rman ( Database name TEST)
1.RMAN> startup mount;
2.RMAN> backup database include current controlfile;
3.RMAN> alter database open;
I aim to create the new database called DEMO using this backup
Please let know the setps for creating new database
Edited by: prajeevan on Jan 19, 2011 9:09 PMI took the cold backup of the database using rman ( Database name TEST)
1.RMAN> startup mount;
2.RMAN> backup database include current controlfile;
3.RMAN> alter database open;
I aim to create the new database called DEMO using this backup
Please let know the setps for creating new databaseIf it is in archivelog mode you can use duplicate to refresh database DEMO from TEST..
or after cold backup, go to mount ,
create trace file of controlfile becuase you are chaning database name
recreate the controlfile
open database in resetlogs;
check also http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf -
How to create new database from backup.
Hi !
i have backup of a database, i do not want to restore, i want to create new database from the backup.
i am using oracle 11g xe.
yours sincerelyIf the Location of the datafiles is similar to that of source database then you can consider below steps
Create Oracle Service using oradim
set ORACLE_SID=NEWDB
oradim -new -sid NEWDB -intpwd passwordofthesys -startmode M
Connect to the RMAN
rman>rman target /
restore spfile/pfile and control file from backup
rman>restore spfile to pfile '_localtion of the initNEWDB.ora_' from '_location of the SPFILE Backuppiece_';
rman>startup nomount pfile='localtion of the initNEWDB.ora';
rman>restore controlfile from 'file location of the controlfile Backuppiece';
rman>alter database mount;
Catalog the RMAN backuppiece of source database
rman>catalog backuppiece '_location of the rman backuppiece of source database_ ';
resotore & recover database
rman>restore database;
rman>recover database;
open the database with reset logs
rman>alter database open resetlogs;
rman>create spfile from pfile;
rman>shutdown immediate;
rman>startup;
==================
If you have access to source database then you can clone using below rman command:
+rman target _<source database>_ auxiliary _<new database>_+
rman>duplication target database to _<your new database name>_;
==========
If the location of the datafiles and logfiles are different from source database then you need to add db_file_name_convert and log_file_name_convert to the pfile before starting the recovery process.
Maybe you are looking for
-
I am new at this and need help. I am creating a website and I have linked several PDF files to the site. I need visitors to be able to zoom in and out of the files. But the files are openning in a new browser window - not in acrobat or preview. How d
-
Raw Folders not appearing after update
I just updated to the new version today and after I did when I start a new project it won't create a new folder for it in finder. To explain further, I have my Aperture library in a folder on my HD called Aperture Files. This also houses a folder for
-
Podcast RSS Feed - iWeb to Rapidweaver?
I currently have a podcast on a website that was created in iWeb and is hosted on MacHighway. The podcast is listed on iTunes. I'm transitioning my site from iWeb to Rapidweaver and need to update my RSS feed so that I don't loose any of my subscribe
-
Leopard: Office and CS2 Flawless
I loaded Leopard last night with an erase and install because my system never really seemed to run as fast as I expected. Especially, when the systems at work are faster and have slower CPU's and 2 less gigs of RAM. But I have 2 HD's and I moved all
-
I'm having a problem with my Zen Vision: M and hoping someone can help me out. My zen randomly stops playing my music and I have no idea what is going on. I have the latest firmware installed and it is relati'vely new, never been dropped or anything.