Error deploying data tier application to SQL Azure at "Registering metadata for database" step ... should I care?
I'd like to move an on-premesis SQL Server Database to SQL Azure. I've used SQL Mgmt Studio to Extract Data Tier Application and save my db as a dacpac file. Now I'm connected to my Azure server and I've chosen to Deploy Data Tier Application. I select my
dacpac and the deploy starts but then on the last step "Registering metadata for database" it times out. I've tried it a couple of times and each time the deployed database is there and appears to be fully populated, but I'm not sure if I can ignore
that error and continue. What is supposed to happen in that step, and should I expect it to fail when deploying to SQL Azure?
I'm following the steps here http://msdn.microsoft.com/en-us/library/hh694043.aspx in the Using Migration Tools > Data-tier Application DAC Package section, except that to deploy there's no SQL Mgmt Studio > Object Explorer [server]
> Management >"Data Tier Applications" node, so I'm deploying by right-clicking on the server name and choosing "Deploy Data-tier Application".
My (total) guess here is that it's deployed the database fine and it's doing whatever magic happens when you register a data tier application, except that it's not working for SQL Azure.
I'm running against a server created for the new Azure service tiers, not against a Web/Business edition server.
The full details of error I get are below.
thanks,
Rory
TITLE: Microsoft SQL Server Management Studio
Could not deploy package.
Warning SQL0: A project which specifies SQL Server 2008 as the target platform may experience compatibility issues with SQL Azure.
(Microsoft.SqlServer.Dac)
ADDITIONAL INFORMATION:
Unable to register data-tier application: Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft.Data.Tools.Schema.Sql)
Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft.Data.Tools.Schema.Sql)
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Microsoft SQL Server, Error: -2)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.9213&EvtSrc=MSSQLServer&EvtID=-2&LinkId=20476
The wait operation timed out
BUTTONS:
OK
Hello,
The registration process creates a DAC definition that defines the objects in the database, and register the DAC definition in the master system database in Windows Azure SQL Database.
Based on the error message, there is timeout error when connect to SQL Database. Did you deploy a large database? When move large data to Azure SQL Database, it is recommended to use SQL Server Integration Services (SSIS) and BCP utility.
Or you can try to create a client application with the Data-Tier Application Framework (DACFx) client tool to import database and handle connection loss it by re-establish the connection.
Reference: http://sqldacexamples.codeplex.com/
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support
Similar Messages
-
This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013. The development environment is found below at [A]. I am trying to make a clone of a SQL Server 2008 R2
database (.mdf) that exists online. I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file. Somewhere in my notes I have a way of creating a local copy from
an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems). So I'm looking for another way. What I did was create
(or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
is the format it seems). It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
So my question is:
1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data? What tool do I use? I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx
and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio? I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
3) same question as 2), but for Visual Studio 2013? I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework. Using EF I can of course do anything I want with the online database
(CRUD), but it remains online. Maybe there's a switch to make a local copy? I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
Any advice on any of the above questions is appreciated.
Thank you,
Paul
[A] Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.51641
Microsoft Web Developer Tools 2013 2.0.40926.0
SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools
Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services ToolsThanks but these links are too general to help.
"2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of. I can access my database using SQL Server Authentication, but nothing more.
Paul
What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
May be this will help you to understand better
http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Import Data Tier Application Collation 1033 is not supported
When I try to use Import Data-Tier Application I am getting an error, Could not load schema model from package (Microsoft.SqlServer.Dac)
Additional information: Collation 1033 is not supported. you must specify one of the supported collations in the Collation attribute.
Everything was working fine for a while and then I started getting this error.
I checked my system restore and there's a message "Language Pack Removal"
I also believe this started happening after I installed Office 2013.
Thanks for your help,
KeithLooking over your answer again, I don't see how anything could be wrong with the file.
1) I am able to import the file with no problem
2) I update windows
3) I am no longer able to update the file or any other .bacpac files and get the error:
Could not load schema model from package (Microsoft.SqlServer.Dac)
Additional information: Collation 1033 is not supported. you must specify one of the supported collations in the Collation attribute.
I have checked that SQL server has all of the correct Collation settings as well so I have no idea where to even start looking for this issue. -
Error when running scheduled refresh from SQL Azure data
I have a PowerPivot that connects to a SQL Azure database table. I added the username and password in the PowerPivot connection. It refreshed fine manually straight from PowerPivot. However, when I upload the excel file to Power BI
and I schedule a refresh, it fails with the following error message:
Sorry, something went wrong. Please try again. Correlation ID: d43f07fc-cc0c-461c-b25e-68e866a2a911
I went through this FAQ (http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/scheduled-refresh-faq-HA104180763.aspx#_Toc388441416)
and the steps have me also saving the password in the connection string. However the connection string (under tab Data->Connections) is grayed-out and I am unable to enter the password.
Thanks for your help...Hi,
When you refresh in Excel client, do you get a prompt for the password?
What worked for me in the past, is the following process:
1. Within PowerPivot, get the data but don't save the password there.
2. Once you get the data go back to Excel, switch to Data ribbon >> Connections, and select the connection(s) that were created in PowerPivot and select to save the password.
3. Refresh the data (it will prompt for the password), save the file.
4. Just to be sure, open the file again, refresh and see that it is not prompting for a password.
GALROY -
Error deploying EAS to Application Server
Hi All,
I'm installing 11.1.2 (x64bit) on a distributed environment (two VM having W2k8)
Machine 1 - SQL Server, Essbase, EAS
Machine 2 - HSS, PLanning, Workspace,etc
I've got to installing all components and configuring Shared Services and Essbase. Now while configuring EAS, while doing Deploy to Application Server, it asks for information of Weblogic Domain on which to deploy the web application. The Weblogic domain is on Machine 2 and the configuration utility retrieves the info so that I can deploy to existing domain. But when i click on next it gives an error message:
EPMCFG-10063:Failed to connect to the remote Admin Server on the host "<servername>" and port "7001". Please, check configuration
I've been able to configure all other components which were on Machine 2 itself like Planning and RA Framework. Have also created a Planning app and did a create database successfully to check that the connection to the Essbase server is working. Not sure what could be the EAS configuration issue.
Any help would be appreciated in helping resolve this.
Cheers,
AbhishekOk John, just as a confirmation before doing it.
I'll select the option "Define a new domain" on machine 1 even though I have a Weblogic domain on Machine 2.
Then I'll enter the same Domain name (+please let me know if it should be a different name+) for this machine as what was defined in Machine 2, and then deploy.
So that would mean I have two Weblogic domains, one on each machine and that should be okay.
Thanks -
Transport Error on Data Mart Application Component
Hi All,
I have to transportthe export data source for my DSOs. I did use transport collection to make sure all the relevent objects are collected. When I transport the export data sources everything is going fine, but the DM (Application Component for the export data sources fail and put the object in repair status).
The 8* data sources are active and available in the myself source system and the update rules from the DSO to Cube is also active, but the info source is not there because the Data Mart - Application component failed. It says as follows in the transport log.
'Object R3TRAPCODM is in repair status. Therefore, it cannot be imported'.
If the object is in repair status, can I ask the basis guys to re-import with over-write option? will it fix the issue. I could not see the repair statuis on the object as it is an SAP component.
Or
anyone tell me how to transport export data sources. I am in BI 7.0 but using RSA1OLD setup.
Anyclues....?
Thanks,
Alex(Arthur Samson)I am closing this question. Identified the cause of the error.
-
Error deploying Visual composer Application
Hi,
I have developed a simple VC application which compiles ok.
however when I select deploy I get the message:
Error in compiling Flex application: Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
Error 1103: There is no property with the name 'ROADMAP'.
/usr/sap/CMD/DVEBMGS00/j2ee/cluster/server1/GUIMachine_Business_Packages/DavesTest_22763/FLEX_COMPILATION_FOLDER/AAD2O.mxml:248)
Failed to compile AAD2O.mxml
Has anyone come across this before and knows what the problem is?
It seems to be complaining about a ROADMAP property but I don't know what this is.
Many thanks
DavidHi David,
can you post your model here? So that we can check it on our systems?
You can also make a copy of your model as backup then delete different parts and find the elements during try and error procedure.
Best Regards,
Marcel -
Error deploying BC4J JSP-application to OC4J
Hi!
I am trying to deploy a typical default generated jsp - application based on default generated BC4J components (against a simple table in an oracle 8.1.7 database) to an external oc4j - service.
The application runs without problems in the internal JDeveloper oc4j, but when I deploy it to an external oc4j service, I get the following error:
++++++++++++++++++++++++++++++++++++++++++++++++
Error Message: JBO-30003: The application pool (mypackage1.Mypackage1Module.Mypackage1ModuleLocal) failed to checkout an application module due to the following exception:
Error Message: JBO-25029: Data class (a domain?) {0} not found
JBO-30003: The application pool (mypackage1.Mypackage1Module.Mypackage1ModuleLocal) failed to checkout an application module due to the following exception:
oracle.jbo.domain.DataCreationException: JBO-25029: Data class (a domain?) {0} not found
at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:152)
at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:1922)
at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2293)
at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2236)
## Detail 0 ##
java.lang.ClassNotFoundException: oracle.jbo.domain.RowID
at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:185)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:30)
at oracle.jbo.common.JBOClass.forName(JBOClass.java:136)
at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:148)
at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:1922)
at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2293)
I am using JDeveloper 9.0.2 Production
and oc4j 9.0.2.0.0
KetillJump to the following link, read, and understand everything:
Re: How to use the classes of ott generated in Visual c++
Also, locate the C:\Jdev9i\BC4J\bin\bc4j2oc4j.bat file, make the necessary changes for the OC4J_HOME, JDEV_HOME, and JDK_HOME and run. This file should setup the BC4J libraries in your OC4J installation. Be sure your OC4J_HOME\j2ee\home\admin.jar is version compatible with the JDEV_HOME\j2ee\home\admin.jar.
Arnold Angel
[email protected] -
Error deploying a Mvc app to Window Azure
I am trying to deploy a MVC app to Azure but I am receiving this error
Error 1
Web deployment task failed. ('Microsoft.Web.Deployment.DeploymentBaseOptions' does not contain a definition for 'UserAgent')
0 0
Alter_Consult_mvc
Will appreciate any help to fix it.
thankshi,
Which version of VS and .netframework? I suggest you could update your software and components. And you could see this same thread :http://social.technet.microsoft.com/Forums/en-US/4955269e-23fc-4f22-aa7a-6975b02dd078/web-deployment-task-failed-deploymentbaseoptions-does-not-contain-a-definition-for-useragent?forum=windowsazureconnectivity&prof=required
Please try it.
Regards,
Will
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. -
Error deploying BI Beans Application to OC4J standalone
Hi,
I'have developed BI Beans application. I use generating COMPLETE BI Beans application in JDev 10.1.2.0.0(1811).
Modify a little bit logging to an application. Everything works fine with Embedded OC4J on my Computer. I try to deploy application to WIN2000 computer and everything works fine(i have to overwrite JDBC drivers in OC4J directory structure with files from JDev directory structure - file names classes12.jar, classes12dms.jar, nls_charset12.jar). Everything was fine. Now i'm trying to deploy application to SOLARIS computer, i follow same steps as in WIN2000 computer case, and when i try to create new presentation i got an error
java.lang.NoClassDefFoundError
at oracle.dss.thin.beans.dataView.BaseTitle.<init>(BaseTitle.java:53)
at oracle.dss.thin.beans.dataView.Title.<init>(Title.java:35)
at oracle.dss.thin.beans.dataView.Title.<init>(Title.java:52)
at oracle.dss.thin.beans.dataView.ThinDataview.<init>(ThinDataview.java:141)
at oracle.dss.thin.beans.gridView.ThinGridView.<init>(ThinGridView.java:143)
at oracle.dss.thin.beans.crosstab.ThinCrosstab.<init>(ThinCrosstab.java:210)
at oracle.dss.thin.beans.dataView.Presentation.createNewView(Presentation.java:1293)
at oracle.dss.thin.beans.dataView.Presentation.<init>(Presentation.java:138)
at oracle.dss.thin.beans.presentationBuilder.PresentationBuilder.reset(PresentationBuilder.java:449)
at oracle.dss.addins.thin.common.BasePresentationBuilderHandler.initPresentationBuilder(BasePresentationBuilderHandler.java:144)
at oracle.dss.addins.thin.common.BasePresentationBuilderHandler.handleNewPresEvent(BasePresentationBuilderHandler.java:158)
at oracle.dss.addins.thin.common.BasePresentationBuilderHandler.handleEvent(BasePresentationBuilderHandler.java:91)
at oracle.dss.addins.jspTags.TagRequestHandler.handleEvent(TagRequestHandler.java:348)
at oracle.dss.addins.jspTags.BIThinSessionTag.doEndTag(BIThinSessionTag.java:399)
at PresentationBuilder1.jspService(_PresentationBuilder1.java:88)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:536)
Any ideas.
ThxIf you have a problem deploying your application or running the application please a log a TAR with Oracle Support using Metalink, http://metalink.oracle.com.
Business Intelligence Beans Product Management Team
Oracle Corporation -
Error during data pump import with SQL developer
Hello,
I try to trasnfer data from one database to another one through data pump via SQL Developper (data amount is quite important) exporting several tables.
Tables export is doing fine, but I encounter the following error when I import the file (I try data only and data + DDL).
"Exception: ORA-39001: argument value invalid dbms_datapump.get_status(64...=
ORA-39001: argument value invalid
ORA-39000: ....
ORA-31619: ...
The file is in the right place, data pump folder of the new database. User is the same on both base, database version are similar.
Do you have any idea of the problem ?
ThanksWith query SELECT * FROM v$version;
Environment source
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production"
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Environment target
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production"
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production -
Oh man it looks like a problem with the web server.
Its an error that happens on SAP, even my dad reported an error like this to me but i wasn't able to solve it.
What i find is that its an error with browser incompatibility,
Check this http://scn.sap.com/message/10338540 -
When I turned on my new Mac Mini it asked if I wanted to restore data from my Time Machine and I clicked and it was supposedly doing that for 8 hours, but when I started the computer after the "restore" it had nothing on it from my old Mac. No data, no apps. The TM says that I have used 209 gigs of 500 available, so I know the data is in there, but when I enter the TM I can't find any of the old backups. What gives?
If all your files are missing
You may have logged in as a different user, such as Guest. Open the Users & Groups pane in System Preferences. Your name should be at the top of the user list, under Current User. See also this support article.
If files are missing from one folder
Change the Finder view mode; for example, from icon view to list view, or vice versa.
If files are present, but seem outdated
You may have started up from a different volume (disk.) Open the Startup Disk preference pane and check the selection. -
Pl/sql Clob code not works for database table but works for collection!
Dear friends
I modified pl/sql code to insert large data for clob column ın ORACLE APEX , It works for collection (I modified it to work for both)
the modified code is blod
declare
aClob1 clob := empty_clob;
aClob2 clob ;
begin
dbms_lob.createtemporary( aClob1, false, dbms_lob.SESSION );
for i in 1..wwv_flow.g_f01.count loop
dbms_lob.writeappend(aClob1,length(wwv_flow.g_f01(i)),wwv_flow.g_f01(i));
end loop;
apex_collection.create_or_truncate_collection(p_collection_name => 'CLOB_CONTENT');
apex_collection.add_member(p_collection_name => 'CLOB_CONTENT',p_clob001 => aClob1);
htmldb_application.g_unrecoverable_error := TRUE;
select cc into aClob2 from tt where id = 21 for update ;
dbms_lob.write(aClob2,Length(aClob1),1,aClob1); commit;
end;
but the charcters more than 8100 not be saved to database clob column !
regards
Edited by: Siyavus on Jan 30, 2009 5:26 PM
Edited by: Siyavus on Jan 30, 2009 5:29 PMDear Thomas
dbms_lob.write(aClob2,*dbms_lob.getlength*(aClob1),1,aClob1); commit;
I tried it ( dbms_lob.getlength(aClob1) ) but the result is the same
regards -
SQL Developer can be used for database design
can I use SQL Developer to design the database?
It really depends on what you mean by "can," how complex the schema design is going to be, and your comfort level.
AB is quite right to point out Oracle Designer-- that's a very powerful, very visual tool for creating physical and logical schema designs. It also has a relatively steep learning curve and a relatively large installation footprint. If you need to generate highly complex schema designs, to allow multiple modelers to work together, and you will use the tool frequently enough to justify the training time, Designer is a wonderful tool.
On the other end of the spectrum, however, it's perfectly possible to generate a schema design using SQL*Plus or SQL Developer with a white board or scratch paper nearby to help think through various issues. The tools aren't presenting you with pretty ERDs, they're not automatically translating visual representations of designs to physical implementations, etc. but it's quite possible for a human using those tools to do the translation.
Either way will work-- the constraints of your particular project and your comfort level with various risks will determine which approach is more appropriate.
Justin
Maybe you are looking for
-
In itunes library is it possible to delete more than 1 song at a time
In itunes library is it possible to delete more than 1 song at a time
-
After several attempts over several days I can't connect to itunes store. I am getting the following error message "Itunes could not connect to the Music Store. There is not enough memory available." I previously was able to connect. My network conne
-
Photo Booth version 3.0 (115) works fine on my iMac w/ SL but it crashes on my Macbook under the same conditions. I would appreciate any comments that might help me. I've even thought of trashing it, if I could find where to download it and reinstall
-
where can i find my FWID
-
Hi my mom recently bought me an iphone 5s in america for my christmas present. She bought only the phone with no plan attached to it because it was $500. I live in ireland and i was wondering would it work here and if not how do i get it to work ? Sh