Support for mysql or ms sql server ?
Does sunone support mysql or ms sql server, I keep getting the following when I try to deploy an entity bean using either database.
Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- java.lang.RuntimeException: The schema file sequence, does not contain a table named SEQUENCE
I'm using the dbschema generated by Forte, is there some hand editing I need to do to get it to work? I'm still confused why this schema is necessary, never had to go through such an annoying process with IAS or weblogic.
Here's my schema:
<?xml version="1.0" encoding="UTF-8" ?>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.SchemaElement" ID="com.sun.forte4j.modules.dbmodel.SchemaElement113759">
<versionNo>2</versionNo>
<impl>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl14130741">
<element>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.SchemaElement113759"/>
</element>
<_catalog>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier13872011">
<name>jbush</name>
</OBJECT>
</_catalog>
<_username>dbo</_username>
<_driverName>i-net SPRINTA 2000</_driverName>
<_driverVersion>3.04</_driverVersion>
<_url>jdbc:inetdae7:149.24.18.160:1433?jbush</_url>
<_name>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier10703853">
<name>seq</name>
</OBJECT>
</_name>
<_driver>com.inet.tds.TdsDriver</_driver>
<tables>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection1698697">
<_elms>
<ARRAY SIZE="1" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.TableElement">
<ROW ROW="0">
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.TableElement" ID="com.sun.forte4j.modules.dbmodel.TableElement-64018320">
<impl>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.TableElementImpl" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.TableElementImpl14348553">
<table>sequence</table>
<columns>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection7791938">
<_elms>
<ARRAY SIZE="2" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.ColumnElement">
<ROW ROW="0">
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.ColumnElement" ID="com.sun.forte4j.modules.dbmodel.ColumnElement1290031433">
<declaringTable>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.TableElement-64018320"/>
</declaringTable>
<impl>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.ColumnElementImpl" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.ColumnElementImpl431013">
<_precision>
<OBJECT CLASS="java.lang.Integer" ID="java.lang.Integer255">
<value>255</value>
</OBJECT>
</_precision>
<element>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.ColumnElement1290031433"/>
</element>
<_scale>
<OBJECT/>
</_scale>
<_name>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier13059074">
<name>name</name>
</OBJECT>
</_name>
<_isNullable>false</_isNullable>
<_type>12</_type>
<_length>
<OBJECT REFERENCE="java.lang.Integer255"/>
</_length>
</OBJECT>
</impl>
</OBJECT>
</ROW>
<ROW ROW="1">
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.ColumnElement" ID="com.sun.forte4j.modules.dbmodel.ColumnElement-1947358447">
<declaringTable>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.TableElement-64018320"/>
</declaringTable>
<impl>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.ColumnElementImpl" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.ColumnElementImpl4332208">
<_precision>
<OBJECT CLASS="java.lang.Integer" ID="java.lang.Integer10">
<value>10</value>
</OBJECT>
</_precision>
<element>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.ColumnElement-1947358447"/>
</element>
<_scale>
<OBJECT CLASS="java.lang.Integer" ID="java.lang.Integer0">
<value>0</value>
</OBJECT>
</_scale>
<_name>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier15083736">
<name>_index</name>
</OBJECT>
</_name>
<_isNullable>false</_isNullable>
<_type>4</_type>
<_length>
<OBJECT REFERENCE="java.lang.Integer10"/>
</_length>
</OBJECT>
</impl>
</OBJECT>
</ROW>
</ARRAY>
</_elms>
<_template>
<ARRAY SIZE="0" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.ColumnElement">
</ARRAY>
</_template>
<owner>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.TableElementImpl14348553"/>
</owner>
</OBJECT>
</columns>
<element>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.TableElement-64018320"/>
</element>
<_name>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier8623087">
<name>sequence</name>
</OBJECT>
</_name>
<isTable>true</isTable>
<keys>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection6518090">
<_elms>
<ARRAY SIZE="1" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.KeyElement">
<ROW ROW="0">
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.UniqueKeyElement" ID="com.sun.forte4j.modules.dbmodel.UniqueKeyElement-1935265242">
<_associatedIndex>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.IndexElement" ID="com.sun.forte4j.modules.dbmodel.IndexElement-1935265242">
<declaringTable>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.TableElement-64018320"/>
</declaringTable>
<impl>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.IndexElementImpl" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.IndexElementImpl6639084">
<columns>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection15936586">
<_elms>
<ARRAY SIZE="1" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.ColumnElement">
<ROW ROW="0">
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.ColumnElement1290031433"/>
</ROW>
</ARRAY>
</_elms>
<_template>
<ARRAY SIZE="0" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.ColumnElement">
</ARRAY>
</_template>
<owner>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.TableElementImpl14348553"/>
</owner>
</OBJECT>
</columns>
<element>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.IndexElement-1935265242"/>
</element>
<_name>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier14601066">
<name>PK__sequence__65370702</name>
</OBJECT>
</_name>
<tei>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.TableElementImpl14348553"/>
</tei>
<_unique>true</_unique>
</OBJECT>
</impl>
</OBJECT>
</_associatedIndex>
<declaringTable>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.TableElement-64018320"/>
</declaringTable>
<impl>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.UniqueKeyElementImpl" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.UniqueKeyElementImpl16555948">
<columns>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection15874598">
<_elms>
<ARRAY SIZE="1" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.ColumnElement">
<ROW ROW="0">
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.ColumnElement1290031433"/>
</ROW>
</ARRAY>
</_elms>
<_template>
<ARRAY SIZE="0" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.ColumnElement">
</ARRAY>
</_template>
<owner>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.UniqueKeyElementImpl16555948"/>
</owner>
</OBJECT>
</columns>
<element>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.UniqueKeyElement-1935265242"/>
</element>
<_name>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier5692381">
<name>PK__sequence__65370702</name>
</OBJECT>
</_name>
<_primary>true</_primary>
</OBJECT>
</impl>
</OBJECT>
</ROW>
</ARRAY>
</_elms>
<_template>
<ARRAY SIZE="0" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.KeyElement">
</ARRAY>
</_template>
<owner>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.TableElementImpl14348553"/>
</owner>
</OBJECT>
</keys>
<indexes>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection" ID="com.sun.forte4j.modules.dbmodel.jdbcimpl.DBElementsCollection12944408">
<_elms>
<ARRAY SIZE="1" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.IndexElement">
<ROW ROW="0">
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.IndexElement-1935265242"/>
</ROW>
</ARRAY>
</_elms>
<_template>
<ARRAY SIZE="0" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.IndexElement">
</ARRAY>
</_template>
<owner>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.TableElementImpl14348553"/>
</owner>
</OBJECT>
</indexes>
</OBJECT>
</impl>
</OBJECT>
</ROW>
</ARRAY>
</_elms>
<_template>
<ARRAY SIZE="0" CLASS="PRIMITIVE" ROWCLASS="com.sun.forte4j.modules.dbmodel.TableElement">
</ARRAY>
</_template>
<owner>
<OBJECT REFERENCE="com.sun.forte4j.modules.dbmodel.jdbcimpl.SchemaElementImpl14130741"/>
</owner>
</OBJECT>
</tables>
<_databaseProductVersion>8.0.194</_databaseProductVersion>
<_schema>
<OBJECT CLASS="com.sun.forte4j.modules.dbmodel.DBIdentifier" ID="com.sun.forte4j.modules.dbmodel.DBIdentifier8165687">
<name></name>
</OBJECT>
</_schema>
<_databaseProductName>Microsoft SQL Server</_databaseProductName>
</OBJECT>
</impl>
</OBJECT>
Thanks for the help, the migration tool translated all my table names and columns names into caps, lowercasing these babies in the sun-cmp-mappings.xml fixed the problem.
Just for the record, for anyone else who is trying to use mysql, here is what my connection pool looks like in server.xml:
<jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="60000" pool-resize-quantity="2" idle-timeout-in-seconds="300" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="org.gjt.mm.mysql.jdbc2.optional.MysqlDataSource" name="jdbcPool">
<property value="jbush" name="DatabaseName"/>
<property value="localhost" name="serverName"/>
<property value="3306" name="port"/>
<property value="root" name="User"/>
<property value="root" name="Password"/>
</jdbc-connection-pool>
Similar Messages
-
Trying to install Support for DTS packages in SQL server 2008
Hi all
I am trying to follow the instructions in the following link...
technet.microsoft.com/en-us/library/ms143755(v=sql.105).aspx
...to install support for DTS packages - when it says on the Feature Selection page, select Integration Services - none of the installs I have tried show this as an option - what should I be installing in order to see this and get this feature installed?
I just need to be able to view some DTS packages - help!
Thank you! JamesHello James,
as can be read in the article:
Microsoft SQL Server 2008 Service Pack 2 Feature Pack => SQLServer2005_BC.msi (BC
= backward compatibilty).
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Support for Windows Authentication in SQL Server Plug-in
I can't find anything in the documentation, or maybe my eyes are subconsciously skipping over the section. Does the 3.2.3.1.0 SQL Server plug-in support Windows Authentication? We have stopped using Mixed-Mode in our SQL Server 2005 Databases.
Not as such, but you can always manage them through worksheet statements.
You can request this at the SQL Developer Exchange though, so other users can vote and add weight for possible future implementation.
Regards,
K. -
Reference to database and/or server name in '' is not supported in this version of SQL Server
Hello all
I am using C# and ADO.NET (native) - Visual Studio 2013.
I am always using full qualified queries like "SELECT * FROM [database].[schema].[table]"
Obviously there is a problem when doing this against SQL Azure,
I get the following error: "Reference to database and/or server name in '' is not supported in this version of SQL Server"
Interesting fact: With SQL Management Studio, the same query works.
I need to know if this error is really a true one or not.
If yes, I can quit using SQL Azure. I would need a SQL Server and not a partial SQL Server :-)
Thanks and best regards
FrankHi,
Here are my suggestions:
1. Use partially qualified queries, because:
a. from a security standpoint, you'd want to limit your login's access across the server instance
b. in order to achieve a even better, you should specify your database as the Initial Catalog directly in the SQL Connection.
If you take into account these practices, SQL Database doesn't come with any limitation from that point of view.
However, in regard to 'With SQL Management Studio, the same query works', this is actually only partially true because if you run that query agains ADO.NET, you'll actually end up in switching databases along the query which is obviously not permitted in
SQL Database since you're running in a hosted black-box version of SQL you're not managing. It's just like running the USE <dbname> command which obviously doesn't work.
Alex -
How to find Collation setting for Analysis services in Sql server 2000
Hi
Can some please guide me how do I check Collation setting for Analysis services in Sql server 2000
i need it to install Analysis servcies on my machineHi SMV123,
We can find the collation settings for Analysis services in SQL Server Management Studio (SSMS). Connect to the SSAS instance from within SSMS->Right click on the instance and select Properties->An Analysis Server properties page will appear. And then
on the left hand side is a Language /collation option.
Besides, here is a link about how to install SQL Server Analysis Services 2000 for your reference.
How to Install SQL Server 2000 Analysis Servicese
Regards,
Charlie Liao
Charlie Liao
TechNet Community Support -
To list only user databases with the size for a instance in sql server 2005
Hi,
I looking for T-SQl to list only user databases with their size for a instance in sql server 2005Try this:
use [databasename]
go
if convert(varchar(20),SERVERPROPERTY('productversion')) like '8%'
SELECT [name], fileid, filename, [size]/128.0 AS 'Total Size in MB',
[size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Available Space In MB',
CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Used Space In MB',
(100-((([size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100)) AS 'percentage Used'
,((CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100 as 'percentage used'
FROM sysfiles
else
SELECT [name], file_id, physical_name, [size]/128.0 AS 'Total Size in MB',
[size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Available Space In MB',
CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS 'Used Space In MB',
(100-((([size]/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100)) AS 'percentage Used'
--,((CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0)/([size]/128.0))*100 as 'percentage used'
FROM sys.database_files
go
Or can refer below link:
http://gallery.technet.microsoft.com/scriptcenter/All-Databases-Data-log-a36da95d
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
Which user for a contained database - SQL Server 2012
Hi,
if I've a contained db and I need to create an user for this db in order to porting this contained database to different servers inside the same domain, which type of user do I need to create?
For this user I don't want to apply any further configurations.
Any suggests to me, please?That still doesn't parse to me... Lets break it down:
"...for the contained db to port to a server to another server in the same domain..."
I assume you mean "... from a server to another server...". The unclear thing here is exactly how you define "to port". For the database to be restoreable? Nothing has to be done. To not have orphaned users? Well, you don't get orphaned users for Windows
users, only SQL Server users. Is this Windows login already existing in the source database? Does it have permissions assigned for it that you need to keep. If so, why are we talking about crating a *new* users*? Many questions marks here...
Next part: "I need to create an user that doesn't require to accomplish any further user configurations"
Are we talking about creating a user for the purpose of performing the port? Or a user that is expected to use this database after this port? Or does this user exist already?
As for the "doesn't require to accomplish any further user configurations" part, I still don't understand this. Are you asking if all you have to do is to create this Windows user? Then the answer is possibly "yes", but it depends on your answers to my above
questions - i.e. a bigger picture of your scenario and what in the end you are trying to accomplish.
Tibor Karaszi, SQL Server MVP |
web | blog -
we are getting error while refreshing connection on excel sheet which containing data from data source in form of power pivot.
error is "An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:"
I am confused about Configuring the Analysis Service in SharePoint Mode.
What account should be used for Configuring the Analysis Service in SharePoint Mode?
what are the steps and what permissions are required and where to add it?
can you please explain in detail so i can make sure about my account permission properly in my environment?
Do we need to install Analysis service on sharepoint server box or not? if yes, then what are steps to follow it?
it is mentioned here to have two services are running under manages services under sharepoint central,
https://msdn.microsoft.com/en-us/library/jj682085.aspx#bkmk_verify_powerpivot
but we don't have SQL Server Analysis Services
running under Manage
services on server.
what need to be done here to fix this issue ?
Thanks,
Deepak PatelHi Deepak,
We are currently looking into this issue and will give you an update as soon as possible.
Thank you for your understanding and support.
Meanwhile, could you please check if there is any related ULS log for help troubleshoot the issue when error occurs.
http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshoot-powerpivot-data-refresh.aspx
http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/04/02/powerpivot-for-sharepoint-manual-data-refresh-failing.aspx
Thanks
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Switch from MySQL to MS SQL Server, Query not working
I'm sure there is a simple setting somewhere for this, but cannot seem to find it and really would appreciate some assistance. Have an application which uses JDBC to connect to a MySQL DB to run the following query without an issue:
SELECT * FROM users
This returns the desired results. Changed to connect to MS SQL Server 2000 using the JDBC-ODBC bridge and the same query returns no results. The problem, SQL Server wants this query instead:
SELECT * FROM [users]
I don't want to have to change queries depending on the DB, as that is supposed to be one of the advantages of JDBC. Is there a setting in MySQL (or the JDBC driver) to have it work correctly if I pass table names in []? Or is there a setting in MS SQL Server (or in the JDBC, or ODBC) to have it accept queries without the []?
Or is there a different approach that I'm missing which would avoid this whole problem?
Thanks,
MattI suspect your database definitions are different. It has nothing to do with your java code.
The bracket syntax is used to indicate the more standard quoted identifiers in standard SQL.
Thus you could do this in oracle and in MS SQL Server...
SELECT * FROM "users"
I suspect that the above will work for your MS SQL Server database and will not work for your Oracle database. However if you created the table in oracle and specifically used "users" (with the double quotes around the name) when creating the table then it would work.
Of course if the database definitions are different it means you must use different SQL for each. Just as if the name of the table was 'other' rather than 'users'. -
Service Accounts for Reporting Service in SQL Server Failover Cluster setup
I am setting up 2 Report Services (SSRS) in SQL Failover Clustering (Version: 2012SP1) on Windows 2012, as part of scale out architecture.
There are 2 options to configure the service account for SSRS:
Option 1) Using domain accounts, as what I have done for DB Engine and SQL Agent.
Option 2) accept the default, which is virtual account for SSRS. Per documentation URL:
http://msdn.microsoft.com/en-us/library/ms143504.aspx
which is the recommended one? is it option 2?
There is security note on above URL as well, but does not clearly mention that option 1 is not recommended.
Security Note: Always run SQL Server services by using the lowest possible user rights. Use a MSA or virtual account when possible. When MSA and virtual accounts are not possible, use a specific low-privilege user account or domain account instead
of a shared account for SQL Server services. Use separate accounts for different SQL Server services. Do not grant additional permissions to the SQL Server service account or the service groups. Permissions will be granted through group membership or granted
directly to a service SID, where a service SID is supported.
Thanks very much for your help!Hi Luo Donghua,
In SQL Server Failover Cluster Instance, personally two options can run well. If you use the virtual account for SQL Server Reporting Service. Virtual accounts in Windows Server 2008 R2 and Windows 7 are managed local accounts that provide the features to
simplify service administration. The virtual account is auto-managed, and the virtual account can access the network in a domain environment.
Of cause, you can also use domain accounts in your clustering.
Just make sure your service account is set up here, or that it is using a proper built-in account.For more information, see:http://ermahblerg.com/2012/11/08/cluster-ssrs-in-2008/
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
Our company recently moved to Office 365 which mean our on premise exchange server went away as well with the move. I am trying to configure my new sql server (OS-Windows Server 2012 R2, DBMS- SQL 2014 Std Edtion). After some searching I found
this article (http://blogs.technet.com/b/meamcs/archive/2013/02/25/how-to-configure-sql-database-mail-so-send-emails-using-office-365-exchange-online-a-walkthrough.aspx) and have followed these steps exactly, but to no avail. I did some further research
on the SMTP relay I setup and found a way to test it (listed here http://technet.microsoft.com/en-us/library/dn592151(v=exchg.150).aspx at the bottom of the article). If I drop the email.txt file in the pickup folder, it gets sent out no problem.
I have configured my db email exactly as describe here(http://blogs.technet.com/b/meamcs/archive/2013/02/25/how-to-configure-sql-database-mail-so-send-emails-using-office-365-exchange-online-a-walkthrough.aspx). But keep getting an unable to connect
to SMTP server error. I have even tried completely shutting down firewall to see if that is the issue and multiple restarts. Any ideas how to get this to work on Office 365?
DB Mail error log:
Date 6/10/2014 10:28:41 PM
Log Database Mail (Database Mail Log)
Log ID 46
Process ID 2196
Mail Item ID 19
Last Modified 6/10/2014 10:28:41 PM
Last Modified By xx
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2014-06-10T22:28:41). Exception Message: Cannot send mails to mail server. (Failure sending mail.).Hi,
I followed this blog and got the below error message in the Database Mail Log.
“The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2014-06-11T19:34:00). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay
for [email protected]).”
If you are getting the same error message, you can try the below steps to resolve the issue.
1. Open the IIS 6.0 management console. Right click on the SMTP server and open the properties window.
2. Click on the Access tab, click Relay button under Relay restrictions. loopback IP address (i.e 127.0.0.1).
Then the email should be sent out from Database Mail without problem.
Thanks.
Tracy Cai
TechNet Community Support -
I am getting following error while refreshing connection on excel sheet in power pivot gallery,
my scenario,
using BISM file connection to create and refresh power pivot excel sheet in power pivot gallery
throws error and we have sql server 2014 CU6 updated installed plus sharepoint 2013. i checked following msolap110.dll is available in our environment but assembly
Microsoft.AnalysisServices.ChannelTransport is not available.
i found error in event viewer,
"Activation context generation failed for "C:\Program Files\Microsoft Analysis
Services\AS OLEDB\110\msolap110.dll". Dependent Assembly
Microsoft.AnalysisServices.ChannelTransport,processorArchitecture="MSIL",publicKeyToken="89845dcd8080cc91",version="11.0.0.0" could
not be found. Please use sxstrace.exe for detailed diagnosis.
what should i do to fix it?
Thanks for help.
Deepak PatelRebecca,
yes, this is issue i am getting.
Activation
context generation failed for "C:\Program
Files\Microsoft Analysis Services\AS OLEDB\110\msolap110.dll".
Dependent AssemblyMicrosoft.AnalysisServices.ChannelTransport,processorArchitecture="MSIL",publicKeyToken="89845dcd8080cc91",version="11.0.0.0" could
not be found. Please use sxstrace.exe for detailed diagnosis.
let me know if you can find fix for it.
THanks, -
Installing Powerpivot for Sharepoint 2013 with SQL Server 2008 R2
Hi,
We are currently setting up a Sharepoint 2013 Enterprise farm with the backend database server being SQL Server 2008 R2 SP2 - my question is can you install Powerpivot for Sharepoint 2013 in this configuration and if so what are the steps?
Thanks in advance!Here is Microsoft's documentation to Configure Power Pivot for SharePoint 2013
Jason Warren
@jaspnwarren
jasonwarren.ca
habaneroconsulting.com/Insights -
I m using SQL Server 2012 Developer Edition. Even I tried 2012 express and enterprise edition but all
gave same error. I browsed msdn blog. But nothing help me out.
Below is the error log details--
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061893606
Start time: 2013-10-21 12:58:05
End time: 2013-10-21 13:52:30
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for RS: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for SQLEngine: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for DQ: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for FullText: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for Replication: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Machine Properties:
Machine name: CROY-TOSH
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature
Language Edition Version Clustered
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 0
Installation location: C:\Users\CRoy\Downloads\SQL Server 2012 Developer Edition (x86 and x64) - DVD (English)\x64\setup\
Installation edition: Developer
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: false
AGTSVCACCOUNT: NT Service\SQLSERVERAGENT
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Manual
ASBACKUPDIR: C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Backup
ASCOLLATION: Latin1_General_CI_AI
ASCONFIGDIR: C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Config
ASDATADIR: C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Data
ASLOGDIR: C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: NT Service\MSSQLServerOLAPService
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: CRoy-TOSH\CRoy
ASTEMPDIR: C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: ROY
CLTRESULTDIR: C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir\
CLTSTARTUPTYPE: Manual
CLTSVCACCOUNT: NT Service\SQL Server Distributed Replay Client
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir\
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\ConfigurationFile.ini
CTLRSTARTUPTYPE: Manual
CTLRSVCACCOUNT: NT Service\SQL Server Distributed Replay Controller
CTLRSVCPASSWORD: <empty>
CTLRUSERS: CRoy-TOSH\CRoy
ENABLERANU: false
ENU: true
ERRORREPORTING: true
FEATURES: SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, RS, RS_SHP, RS_SHPWFE, DQC, BIDS, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, DREPLAY_CTLR, DREPLAY_CLT, SNAC_SDK, MDS
FILESTREAMLEVEL: 2
FILESTREAMSHARENAME: MSSQLSERVER
FTSVCACCOUNT: NT Service\MSSQLFDLauncher
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: MSSQLSERVER
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: NT Service\MsDtsServer110
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: <empty>
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: SharePointFilesOnlyMode
RSSVCACCOUNT: NT Service\ReportServer
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: Latin1_General_CI_AI
SQLSVCACCOUNT: NT Service\MSSQLSERVER
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: CRoy-TOSH\CRoy
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: Normal
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools SDK
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Feature: Management Tools - Basic
Status: Passed
Feature: SQL Server Data Tools
Status: Passed
Feature: Reporting Services - Native
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: Data Quality Services
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: Full-Text and Semantic Extractions for Search
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
Feature: Master Data Services
Status: Passed
Feature: Distributed Replay Client
Status: Passed
Feature: Distributed Replay Controller
Status: Passed
Feature: Integration Services
Status: Passed
Feature: Data Quality Client
Status: Passed
Feature: Analysis Services
Status: Passed
Feature: Reporting Services - SharePoint
Status: Passed
Feature: Reporting Services Add-in for SharePoint Products
Status: Passed
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\SystemConfigurationCheck_Report.htmHi,
This 3rd time I followed this link. But nothing new, same error.
Can you please tell me how to do follow, I cannt do the 1st step, how to change the local system to windows level account, vice-versa. It is shown mine as
Server Configuration Manager(Local)
From here I folllowed the steps ---[I cannt insert link/image :-(]
SQL 2008/R2 setup fails with "Wait on the database engine recovery handle failed"
If I right clicked on SQL Server Service, there is no option to change the account.
Hello,
Thanks for your patience,did you tried stesp mentioned in below article
http://blogs.msdn.com/b/sqljourney/archive/2012/03/16/sql-2008-r2-setup-fails-with-quot-wait-on-the-database-engine-recovery-handle-failed-quot.aspx
To resolve it, follow these steps:-
When the installation throws this error, click on OK and allow it to proceed. It will fail for Database Engine, but the SQL Server service should have
been created. Check the Services console.
If the service is present, perform the following steps:-
1. Go to SQL Server Configuration manager, right click on the SQL Server service, and change the service account (if it is local system, give
it a windows level account, and vice-versa). It might throw a WMI error but you will see the account getting updated anyway. If not, then use the Services console. Change the account for SQL Agent as well.
Use this link to change sql server service account
http://technet.microsoft.com/en-us/library/ms345578.aspx
2. Next, try to start the service. It should come online.
3. However, you will not be able to log in to the SQL Server
4. Now stop the service and start it from the command prompt using -m -c -T3608 parameters.
5. Now try logging in to the server using admin connection from sqlcmd (sqlcmd admin:<server name>\<instance name> ...)
6. Once logged in, use the sp_addsrvrolemember '<domain\username>','sysadmin'.
Also add the builtin/administrators to the sysadmin role
7. Now stop the service from the command prompt and start it from SQL Server configuration manager
You should be able to log in to the server now.
Hope this helps someone.
Please revert if it helps or even if it does not
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Creating alias for Web access to SQL Server Reporting Services
Hello colleagues.
I have MS SQL Server 2012 with SQL Server Reporting Services in domain "domain.local". In the local network at the entrance via Web browser to "mdr.domain.local/Reports" get into Reports of SQL Server Reporting Services and it's work fine.
Necessary that the SQL Server Reporting Services could include via Web browser from alias "reports2.domain.local/Reports". To do this:
1) I created a new A record "reports2" in the DNS leading to IP mdr.domain.local
2) in Reporting Services Configuration Manager on a tab "Web Service URL" in "Report Server Web Service URLs" I add new record "http://reports2:80/ReportServer" (host Header Name: reports2)
BUT "reports2.domain.local/Reports" is not work. When entering to "reports2.domain.local/Reports" I see page "An error in the security certificate for this Web Site..." and when I click "Continue to ...", then "Unable
to find a web page."
What and where I must add/change for work of alias "reports2.domain.local/Reports" by analogy with "mdr.domain.local/Reports"?
I hope for your help.
Thanks.WooW it's work!!! Thank you
JJordheim you are the best!
With my PKI I create new certificate for "reports2.domain.local" and Import it to MDR server (in Personal). I create new network adapter and configure Reporting Services Configuration on "Report manager URL" tab (for SSL):
mdr.domain.local - certificate "mdr.domain.local" - network adapter №1
reports2.domain.local - certificate "reports2.sygroup.local" - network adapter №2
And all work fine.
If I configure all to 1 network adapter it's doesn't work.
Thanks for help!
Maybe you are looking for
-
MACBOOK PRO FRIED?!
Hi, I just got the new MacBook Pro about 4 months ago for graduation. I used it for a little bit and it was fine and then I went out. Just a few hours later I had to use it again and the screen wouldn't come on. There was no power at all. So I took i
-
How to clean DVD/CD-ROM (slot-loading)?
I have a +*MacBook Pro*+ with a slot-loading DVD/CD-ROM. I have a DVD that won't play certain parts. I repaired and cleaned it and now it looks much better and the part that was not playing in the movie is now playing. However, now there are other pa
-
Contract Management, Resourse Related Billing and Revenue Recongnisation
Dear SAP Experts, Can someone help to provide me in details such as configuration step by steps, Billing types, Billing plan with T. Codes about the below. Contract - Service/Maintainace Contract, Quantity and Value contract configuration and billi
-
Facebook account temporarily locked
Hello, Yesterday my friend has logged into his facebook account from my BB-8520 curve. Later on when I tried to sign in to my account, it reads your facebook account has been temporarily locked. Then I tried it from PC, it asked me to change my passw
-
I subscribe to PS & Br CC. I have reinstalled my pc, so how do I reinstall PS & CC`? Someone with a link? Thanks