Creating Repositories using MS SQL Server DataBase in Data Service Reposito
HI All,
I installed BODS and I am trying to create repository using Data Service Repository Manager but I am getting the following error message :
Cannot open connection to the repository. The error message from the underlying DBMS is <ODBC call <SQLDriverConnect> for data source <localhost> failed: <[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.>. Notify Customer Support.>. (BODI-20006)
An error occurred during creation of the local repository. (BODI-300054)
While installing BODS i used the option to create DB .... Before that even I had Microsoft SQL server installed for MDM which was working fine (Able to Log on and so on)...
Do I need to install Oracle in order to create repositories? How to proceed further please suggest.
many Thanks
Rajeev.
Hi!
What version of SQL Server are you using for the repositories? Maybe the error is because DS can not create repositories in SQL Server 2008. You can read and write data with SQL2008, but you need to create the repositories in SQL2005 or another RDBMS. I'm not sure when DS is going to be able to create them in SQL2008.
I hope this could help you. Greetings!
See you
LCGC
Similar Messages
-
How to populate a spry menu using microsoft sql server database?
Hi
I would like to use dreamweaver cs4 and spry menu to create a dynamically created menu system.
My concept is to populate the menu items on the fly using MS sql server as the database technology.
Can anyone point me in the right direction? I have googled and searched but cant seem to get anywhere.
Also once i get my menu established, i would like to style it. It seems like a lot of work to style each element by hand. I was wondering if there were some collection of spry menu css files somewhere that i could just attach and presto!
Thank you.
JerryI would like to use dreamweaver cs4 and spry menu to create a dynamically created menu system. My concept is to populate the menu items on the fly using MS sql server as the database technology.
Basically
create a dynamic XML file containing data from the database
create A SpryXMLDataSet
create a SpryRegion where the menu appears
using SpryRepeat populate the menu
More info can be found here http://labs.adobe.com/technologies/spry/samples/
Also once i get my menu established, i would like to style it. It seems like a lot of work to style each element by hand. I was wondering if there were some collection of spry menu css files somewhere that i could just attach and presto!
Have a look here http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2141544
If you require further Spry related support go to http://forums.adobe.com/community/labs/spry -
How to connect a PDF form to SQL server database through web service?
Hi,
I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
I really appreciate your help and advice.Hi,
I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
I really appreciate your help and advice. -
Need Guide to create a table in SQL Server and Process data for JDBC
Dear All,
Scenario:JDBC to JDBC
I need to practice JDBC to JDBC scenario and for that i need to create a table in SQL server for sender ,receiver and update i have installed SQL Server and no idea about creation of table and Connection string for PI.
I want you to explain each and every step for the Table Creation ,Driver and connection string.
Thanks in Advance.Try searchin in the forum and then google. This forum is not for teaching the basics.
VJ -
Using a SQL Server database instance for repository
Hi,
My customer is using a non-default instance on SQL server as their database and want to place the repository here. There are no problems creating and connecting to the repository from the Designer. I simply define the server as "SERVER\INSTANCE" and I can connect OK.
The problem occurs in the Management Console, when I try to create an entry for this new repository. The Add process returns a Java error, telling me that the connection is being refused. I have checked, and re-checked, that all of the inputs are correct. I believe that this has something to do with the fact that the repository is an instance, rather than just the default database instance.
I have tried various differing ways of entering the server and database strings, with no positive result. I tried entering the following in the Server and Database entry fields:
SERVER\INSTANCE with DATABASENAME
SERVER
INSTANCE with DATABASENAME
SERVER/INSTANCE with DATABASENAME
INSTANCE@SERVER with DATABASENAME
SERVER.INSTANCE with DATABASENAME
SERVER with INSTANCE\DATABASENAME
SERVER with INSTANCE.DATABASENAME
All give an error - some return a "connection refused", some return a "server not found" error.
Any recommendation short of re-installing the database as a default instance would be appreciated.
DI and SQL Server reside on the same server running Windows 2003 Server R2 SE with SP2. Management Console runs in Apache Tomcat 5.5 on the same box.
Regards,
Derek.
Edited by: Derek Stobbart on Oct 1, 2008 5:14 PMHi Derek,
The Management Console does not support the \INSTANCE syntax -- the reason is that it uses JDBC to connect to repositories. When you add a SQL Server repository to the Management Console, note that it is asking you for hostname, port, and database name. You will need to provide it the port that the instance is running on (e.g. default=1433). You can get this from the person who administers the SQL Server instance.
Thanks,
~Scott -
I cant seem to find this information on the internet yet so I figured I would ask my question here.
I would like to pull data from a Dynamics AX sql database to use in a project siena app. I have heard that this is something that is planned for a future release of Siena but is there any way this can be done currently?
Thank youHi Philip,
It's not supported in the current version. The following thread from Vijay outlines some of the features targeted for the next release:
http://social.technet.microsoft.com/Forums/en-US/405aed19-21b8-4a36-bf45-b1d962567c3b/some-functionality-in-the-next-siena-refresh?forum=projectsiena. As you can see, it will include read/write over web services. So, if your data is exposed using services,
you should be able to meet your requirements.
Thanks
Robin -
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 -
How to convert Oracle database to Sql server Database
Hi All,
I have one database made in the Oracle 8i, i want to convert that database to Sql Server Database,
Can anyone please give me the step by step process to do this conversion.
Regards
Ramesh JhaTry using the DTS (data transformation services) services of SQL Server 2000
DTS is based on an OLE DB architecture that allows you to copy and transform data from a variety of data sources. For example: Oracle directly, using native OLE DB providers.
Alternatively, you could follow the following broad steps for data migration (assuming you are retaining the same table structures in SQL Server, and that you are talking about SQL Server 2000).
1. Get the CREATE scripts corresponding to each Oracle table / view / index. These can be reverse engineered from the database using a tool.
2. Map Oracle datatypes to SQL server datatypes e.g: date maps to datetime/smalldatetime, numeric maps to one of int, bigint, smallint, etc depending on the range of values in the CREATE scripts.
3. Indexes in SQL Server are of two types: Clustered / non-clustered. There can only be one clustered index on each table.
4. Converting procedures and triggers will have to be line by line, since SQL Server uses a proprietary T-SQL instead of ORacle's PL/SQL
I have yet to see a really good tool to do this migration, but it is possible to write a PL/SQL procedure / Pro*C program to automate the script creation for creating tables in the SQL Server database.
For the actual data import into SQL Server, export the Oracle data table by table into flat files, and then use the import wizard of SQL Server enterprise manager -
Report with sql server database
hi
i m trying to create a report for sql server database
first time it was developed successfully but when i tried to run it next time it throws error
REP-4100 : Failed to execute data source
JDBCPDS -62008 : SQL Server Error:
S1000 [Microsoft SQL Server Driver] Connection is busy with results for another hstmt
now today when i tried to develop a new report it shows two new errors:
1.
REP-4100 : Failed to execute data source
JDBCPDS -62008 : SQL Server Error:
S0002[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
2.
REP-4100 : Failed to execute data source
JDBCPDS -62008 : SQL Server Error:
08S01[Microsoft][ODBC SQL Server Driver]Communication link failureSrini,
yes you can use report Buider with Sql Server through jdbc driver.
When you define the report datasource, you just have to set the JDBC conection infos.
Patrick. -
Migrating SQL Server database to Oracle 8i - any known issues
Hi,
I am in the process of migrating SQL Server database to Oracle 8i for testing purpose.
When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting
SQL Server database? Would the users be able to use SQL Server database as usual?? Are
there any known issues in this regard?
Please reply.
Thanks.
RameshHi,
I am in the process of migrating SQL Server database to Oracle 8i for testing purpose.
When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting
SQL Server database? Would the users be able to use SQL Server database as usual?? Are
there any known issues in this regard?
Please reply.
Thanks.
Ramesh Hi Ramesh!
The Migration Workbench does not make any modifications to the SQL Server database. It only reads information from it. Your users should be able to use the SQL Server database as usual.
Please note however that if you migrate the data over to Oracle using the Migration Workbench and your users continue to enter/update data in the exiting SQL Server database then you may need to move all that data over again in order to have the most up to date data in the Oracle database.
thanks
- Garry -
How can I connect to SQL server database thru local network by using JSP?
I'm currently doing a project by using JSP..And I need to display record from the SQL Server database in our school's local network. May I know how can I do that? How can I write the code so that I can able to access the SQL Server databsase Throught school's network by using JSP? Please tell me step by step how can I do that. I'm using Tomcat 4.1 as Web Server. And I had J2SE and J2EE installed in my computer.
first you have to establish a ODBC DSN on your computer,
that connects to the database...you can do that from your control pannel.
i assume that the TOMCAT server is residing on your computer....(if the webserver is in other computer then you would have to create a System DSN on the data sources ODBC option in the settings>control pannel of that machine)
then you can use that DSN name to connect to the data base from the class file....for further assistance on how to create the class that access the tutorials in sun site.
regards
G -
How to create a sql server database in SQL DEVELOPER.
I installed the SQL DEVELOPER 1.5.5, but i can't found where to create the sql server database in it. please kindly tell me if you feel free.
Thanks so much in advance.Hi,
Take a look at the main [ SQL Developer page on OTN|http://www.oracle.com/technology/products/database/sql_developer/index.html]. There is a link you should find useful, it's the Getting Started link under the Migration section. This explains how to download and setup the drivers you need to correct to non-Oracle databases. There are also links to online demonstrations on how to create connections to these databases. See how you go with that material.
It should help.
Sue -
Hi,
I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
I want to do it using visual webpart.
Please help to solve the issue.
Thanks in advance!
Regards
RajniHi Rajni,
Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
and import it to SQL database.
1.Create a Visual Web Part Project:Create
Visual Web Parts in SharePoint 2010
2.Read the excel workbook by using SPFile class:
http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
3.Export the excel workbook to SQL Server:
http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Use a SQL 2012 database server with Reporting Services 2008?
Hello, we have a SQL Server 2008 R2 Reporting Services Standard server with the reporting databases running on a SQL Server 2008 Standard database server. I would like to upgrade the database server to SQL Server 2012 before I upgrade the reporting server.
Can I run SQL Server 2008 R2 Reporting Services against a 2008-version database running on a SQL 2012 database server? Thanks for your help.
Hi Nicole
Thanks for your posting.
Are you asking if we can connect from SSRS 2008 r2 to a database sitting on SQL Server 2012. Am I right?, please ignore me if I misunderstood your question. If that is your question
then I think you will be able to using BIDS 2008, I have created A database on SQL Server 2012 and I use that database table inside my SSRS 2008 R2 dataset. I can even think that you can use a database of compatibility level of 2012(110) as well
Many thanks
Syed Qazafi Anjum -
Best practise for creating an application that connects to a SQL Server database
I have created an application that connects to a SQL Server database and views information using a datagrid and performs several updates when a button
is selected.
I have created a SQLcontrol.vb using the following code:
Imports System.Data.Sql
Imports System.Data.SqlClient
Public Class SQlControl
'connection 1
Public SQLCon As New SqlConnection With {.ConnectionString
= "Data Source=;Initial Catalog=;Integrated Security=True"}
'connection 2
Public SQLCon1 As New SqlConnection With {.ConnectionString
= "Data Source;Initial Catalog=;Integrated Security=True"}
Public sqlcmd As SqlCommand
Public sqlda As SqlDataAdapter
Public sqldataset As DataSet
Public Function hasconnection() As Boolean
Try
SQLCon.open()
SQLCon.close()
Return True
Catch ex As Exception
MsgBox(ex.Message)
Return False
End Try
End Function
Public Sub runquery(query As String)
Try
SQLCon.Open()
sqlcmd = New SqlCommand(query,
SQLCon)
'LOAD
SQL RECORDS FOR DATAGROD
sqlda = New SqlDataAdapter(sqlcmd)
sqldataset = New DataSet
sqlda.Fill(sqldataset)
BH READ DIRECTLY FROM THE DATABASE
'Dim
R As SqlDataReader = sqlcmd.ExecuteReader
'While
R.Read
'MsgBox(R.GetName(0)
& ": " & R(0))
'End
While
SQLCon.Close()
Catch ex As Exception
MsgBox(ex.Message)
'will
close connection if still open
If SQLCon.State
= ConnectionState.Open Then
SQLCon.Close()
End If
End Try
End Sub
Public Sub runquery1(query As String)
Try
SQLCon1.Open()
sqlcmd = New SqlCommand(query,
SQLCon1)
'LOAD
SQL RECORDS FOR DATAGROD
sqlda = New SqlDataAdapter(sqlcmd)
sqldataset = New DataSet
sqlda.Fill(sqldataset)
BH READ DIRECTLY FROM THE DATABASE
'Dim
R As SqlDataReader = sqlcmd.ExecuteReader
'While
R.Read
'MsgBox(R.GetName(0)
& ": " & R(0))
'End
While
SQLCon1.Close()
Catch ex As Exception
MsgBox(ex.Message)
'will
close connection if still open
If SQLCon1.State
= ConnectionState.Open Then
SQLCon1.Close()
End If
End Try
End Sub
End Class
A code for one of my button which views displays data grid contains the following code:
Private Sub Button1_Click_1(sender As Object,
e As EventArgs) Handles Button1.Click
If SQL.hasconnection
= True Then
SQL.runquery("select
* from tablea")
If SQL.sqldataset.Tables.Count
> 0 Then
DGVData.DataSource = SQL.sqldataset.Tables(0)
End If
End If
End Sub
I am fairly new to vb.net and have read a few books and followed a few tutorials on youtube, what I would like to know is, are there any disadvantages
to the way I have connected to a SQL database using the SQLControl.vb. A lot of the vb books include data adapter and dataset within the form, I'm not sure if I'm following best practice by have the connection details outside of the form.
My other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter
and dataset. It all works fine but I just wanted to know of any potential issues?
Public SQLCon As New SqlConnection With {.ConnectionString
= "Data Source=;Initial Catalog=;Integrated Security=True"}
'connection 2
Public SQLCon1 As New SqlConnection With {.ConnectionString
= "Data Source;Initial Catalog=;Integrated Security=True"}
ThanksMy other question is, I have created two connections in the SQLControl and call these connections within the same form using the same data adapter and dataset. It all works fine but
I just wanted to know of any potential issues
1) You are not using Sepration of concerns for a solution that is doing data access, like using a DAL.
http://en.wikipedia.org/wiki/Separation_of_concerns
2) You are directly issuing SQL commands at the UI, leading to sql injection attacks.
3) You are not using a UI design pattern, which leads you to tightly couple database activity to the UI.
http://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP
@System243trd, parameters are important to prevent SQL injection attacks (people will insert SQL commands into the database if you do not perform basic checking of what you are passing to the database). If you write a stored procedure try to make
the variables the correct SQL server data type to avoid problems later of people trying to call it directly. Darnold924 is right, I see no code to prevent against SQL injection attacks. In addition, during development in some instances LocalSQLDB
database system is used and during deployment you usually need to use the production SQL server database. Moreover, Linq-to-SQL is used on Windows Phone 8.1 and it is required for phone development later and so I highly recommend learning
it if you plan on developing windows phone applications.
@System243trd, If you want the code for the windows phone app I think it uses the MVVM model or that might be for universal apps or regular windows phone apps. I have been using the windows phone Silverlight pivot or panorama template (it might
be pieces of both). I've already submitted to the windows phone marketplace and it had to go through certification first. I plan on later making an article on it but I need to first fix one or two simple problems I have with it. Here's a link to
the source code if you later want to look at the source code (in vb.net):
https://jeffsblogcodesamples.codeplex.com/downloads/get/1445836
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog
- http://www.computerprofessions.us
Maybe you are looking for
-
Why is the Custom button in the Marker settings dialog grayed out in CS6?
I'm wondering why it's grayed out and what its purpose is. Also, is there any way to make the Marker window display Names as well as comments? I feel like the comments field would be used for notes and comments while the name field is used to actuall
-
Problem in AD Integration with WLS
Hello, I have successfully integrated Active directory with weblogic server. And i am able to see user list in security Realm -> myrealm -> Users and Groups. I am also able to login to webcenter spaces and also to content server. In my active directo
-
Is it possible to mimic a submission of html form in Java Swing
Helppp!!!! I want to create a swing applet (The plugins are installed) that would submit to a servlet. The servlet is having a doPost method. Now How do I form fields (that is textfield, hidden field) in a swing environment. The same attempt if made
-
After Update to Lion I can't use USB-W mouse
After I Update to Mac OS X Lion (on my MacBook Pro) and I plug in my USB - wireless mouse. This mouse doesnt work, but on Mac Os X snow leopard works with no problems :-( (note: I dont use Mac Mouse, because Iam used to use my mouse...) thx for answe
-
No lock icon for HTTPS websites.
It seems that the lock icon in Safari's address bar is missing. How can I verify that a websites is secure?