Showing posts with label manager. Show all posts
Showing posts with label manager. Show all posts

Thursday, March 29, 2012

Credentials used to run this report are not stored

Hi all,

When I create a new report subscription in report manager, I got this error

Credentials used to run this report are not stored

any idea?

Thanks,

Jone

Can you go to report properties -> Data Sources and make sure that "Connect Using Credentials stored securely in the report server" is selected and valid user name and password provided?

Thanks,
Sharmila

|||

Thanks for your response.

By the way, which name and password should I input. I tried to using ASPNET as the username (or 'sa' and the password to access sql aerver) but it failed, and gave error message bad user name or password.

Thanks,

jone

|||

For example, if the below is your connection string, you need to enter a user name and password to access the data source.

data source=<ServerName>; initial catalog=<SampleDB>

Thanks,
Sharmila

|||

Thanks, Sharmila.

I use user name = 'sa' and password = 'access' to access my datasource, and I tried to use them in 'Credentials stored securely in the report server', and checked both or first ckeckbox under this selection, and I got

Logon failed. (rsLogonFailed)

  • Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E)|||

    Jone,

    If you select the 'Credentials stored securely in the report server', you should not check the boxes for 'Use as Windows credentials when connecting to the data source' or 'Impersonate the authenticated user after a connection has been made to the data source'. After entering user name = 'sa' and password = 'access' , press Apply at the bottom and try to view your report.

    If this still doesn't work, you should try to login to the database using user name = 'sa' and password = 'access' through Management Studio to see if that works.

    Hope this helps.

    Jarret

    |||

    Thanks, Jarret.

    According to your suggestion, I configured my datasource and ran my report, and I got error

  • Non-Windows user credentials were supplied for a non-http connection to Analysis Services. The Microsoft SQL Server Analysis Services data extension requires Windows Integrated Security unless connecting via http or https.|||

    Could you use a Windows domain account and it's password? Then, you will need to check the box for 'Use as Windows credentials when connecting to the data source' also.

    Jarret

    |||

    Thank you, Jarret.

    I used my user name an dpassword that I use to login my machine, and checked the 'use as windows credentials when connectingto the data source', and the subscription has been created.

    But I can't find the e-mail extension on the report. How can the e-mail extension or icon be availale on the report?

    BTW, in sql server-->configuration tools--.report service configuration -->email settings,

    I input my e-mail address as the sender's address, and the name of our exchange server name as the 'smpt server' name, or should I input "default virtual smtp server' as the smtp server name?

    Thanks,

    Jone

    |||

    Hi, more question:

    since the application will be used by others, what should I handle the credential issues since I can't use my username and password there?

    Thanks,

    Jone

    |||

    I don't think there is an email extension for Reporting Services, you might be able to find something out there that will add this functionality though. I haven't heard of any, but I haven't looked either.

    I think you will need to leave your exchange server in the SMTP Server name.

    Jarret

    |||

    You have you have the credentials stored in order to create a subscription.

    I just did a test and it seems that the stored credentials are not used when a user runs the report from the browser. So, when your users run the report, you will still see their name in the ExecutionLog table as having executed the report. Also, you can restrict access to the report for specific users as well, just as normal.

    My test was: I set the stored credentials as my account, then had a co-worker run the report. Then, I looked in the ExecutionLog, it showed my co-workers account.

    Hope this helps.

    Jarret

    |||

    Thank you so much, Jarret. You save me days of time

    Jone

    |||

    Glad I could help Jone, can you mark this one as answered so others can view the solution?

    Jarret

    |||No problem!
  • credentials type - service credentials missing

    Hi All,

    On my 64bit itanium cluster, how come when I open up my Reporting Services Configuration Manager and go to the "Database Setup", under "Credentials Type" I am missing the option "Service Credentials"? This is how I have my dev server set up and would like it to be the same.

    This was due to us connecting to the individual node rather than to the cluster when opening up the reporting services configuration manager.

    Credentials

    Hi,
    if I open the report manager and click on a report to open it, under which credentials is the report genererated?
    I have a developement computer on which I create my reports. Reporting service is installed on a developmentserver. I use an AS2k cube as a source and runs on another server. All servers are in the same domain. The reporting server service runs under a domain account with sufficient rights.
    If I click on a report I get an error message saying that I don't have access rights to the analysis server cube. But if I run the report in preview mode it works fine.
    I want to know which credentials are used when opening a report from the report manager.
    Thanks.
    QThat will depend on the data source for the report. If you have windows
    integration set then it will be the current user accessing the site. You
    will want to check on the properties tab of the report and the Data Sources
    sub tab to see how the data source is set up.
    --
    -Daniel
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Qbee" <Qbee@.discussions.microsoft.com> wrote in message
    news:5E22D5C3-1240-4F9F-A5FF-5DAFB6FED081@.microsoft.com...
    > Hi,
    > if I open the report manager and click on a report to open it, under which
    credentials is the report genererated?
    > I have a developement computer on which I create my reports. Reporting
    service is installed on a developmentserver. I use an AS2k cube as a source
    and runs on another server. All servers are in the same domain. The
    reporting server service runs under a domain account with sufficient rights.
    > If I click on a report I get an error message saying that I don't have
    access rights to the analysis server cube. But if I run the report in
    preview mode it works fine.
    > I want to know which credentials are used when opening a report from the
    report manager.
    > Thanks.
    > Q|||I believe I read an online article about this. If your dev. computer is named devcpu, there should be a user defined as IUSR_devcpu with some password. This user's rights are assumed when a client access the report server anonymously. The delegation continues on to the AS machine.
    Try creating a similar user/password on the AS machine.
    --
    R. Festino
    Florida
    "Qbee" wrote:
    > Hi,
    > if I open the report manager and click on a report to open it, under which credentials is the report genererated?
    > I have a developement computer on which I create my reports. Reporting service is installed on a developmentserver. I use an AS2k cube as a source and runs on another server. All servers are in the same domain. The reporting server service runs under a domain account with sufficient rights.
    > If I click on a report I get an error message saying that I don't have access rights to the analysis server cube. But if I run the report in preview mode it works fine.
    > I want to know which credentials are used when opening a report from the report manager.
    > Thanks.
    > Q

    Sunday, March 25, 2012

    creating user and login problem

    When I try to create user using ent manager in mssql2000 it gives me error that there is already such user.But it actualy doesn't exists.

    How to solve this problem?

    Hi,

    did you check your logins by T-SQL?

    Code Snippet

    SELECT CAST(loginname AS CHAR(30)) AS loginname, sid, status, denylogin

    FROM master..syslogins

    ORDER BY sid

    |||

    when you say User... i am not sure , whether u r mentioning Login or Database User. I assume that it is Database user. In that case check whether there is any database role of the same name. The user name has to be unique for both users and role.

    if the below mentioned query returns row means there is some role exists in the datbase with the same name.

    select *from sysusers where name='YourUserName' and issqlrole=1

    Madhu

    |||

    Thanks for Answer

    I didn't find any such role or user name in the database.

    But When I connect through "sql server management tool" it lets me create the user.

    but the ent manager of 2000 doesn't allow.

    |||

    post the exact error no and description. also check in Event log for any clue

    Madhu

    Tuesday, March 20, 2012

    Creating subscription using script generated by Enterprise Manager

    I have a hopefully easy question that I cannot find the answer to anywhere.
    I am attempting to automate the creation of an anonymous pull subscription.
    I have created the subscription on one machine, and then generated a script
    using Enterprise Manager to create the subscription.
    When I run the subscription script, the subscription is created correctly.
    However, when I run the job created to do the merge, it always fails because
    the process running on the subscriber could not connect to the distributor
    because of a login failure.
    In the generated script, I have seen that there is an option for
    SubscriberEncryptedPassword. I have generated the script in Unicode mode,
    and then looking at the script in WordPad shows some non-ASCII characters as
    the contents of that password. I'm assuming that the problem has to do with
    this password.
    I am using SQL Server authentication. Does anyone know what the problem is,
    or where I should look to find the answer? I haven't been successful in any
    of my searches.
    Thanks for any help,
    Ryan
    do not use this parameter. SQL will encrypt the password you specify in the
    @.distributor_password and @.publisher_password (if you specify this)
    parameters.
    Hilary Cotter
    Looking for a book on SQL Server replication?
    http://www.nwsu.com/0974973602.html
    "Ryan McFall" <mcfall@.hope.edu> wrote in message
    news:%23bCSNfdhEHA.644@.tk2msftngp13.phx.gbl...
    > I have a hopefully easy question that I cannot find the answer to
    anywhere.
    > I am attempting to automate the creation of an anonymous pull
    subscription.
    > I have created the subscription on one machine, and then generated a
    script
    > using Enterprise Manager to create the subscription.
    > When I run the subscription script, the subscription is created correctly.
    > However, when I run the job created to do the merge, it always fails
    because
    > the process running on the subscriber could not connect to the distributor
    > because of a login failure.
    > In the generated script, I have seen that there is an option for
    > SubscriberEncryptedPassword. I have generated the script in Unicode mode,
    > and then looking at the script in WordPad shows some non-ASCII characters
    as
    > the contents of that password. I'm assuming that the problem has to do
    with
    > this password.
    > I am using SQL Server authentication. Does anyone know what the problem
    is,
    > or where I should look to find the answer? I haven't been successful in
    any
    > of my searches.
    > Thanks for any help,
    > Ryan
    >
    |||Thanks for the tip. I'm afraid it didn't work, however.
    First I edited out the @.subscriberEncryptedPassword parameter completely.
    The generated script had specified @.distributor_password=N'' (and the same
    for the publisher). I first tried leaving those as they were and ran the
    script without the @.subscriberEncryptedPassword parameter. When that didn't
    work, I entered in the password for the SQL server account specified by the
    @.distributor_login parameter.
    In the first case, where the passwords weren't set, I got an error that the
    agent was unable to connect to the subscriber. When I entered the
    appropriate password for the distributor and publisher and ran the script,
    the merge agent fails with "unable to connect to distributor, invalid
    password for user annotations (the SQL server account used on the publisher,
    distributor and subscriber).
    Maybe I'm misunderstanding what you're suggesting?
    Ryan
    "Hilary Cotter" <hilaryk@.att.net> wrote in message
    news:egjqd5ghEHA.4064@.TK2MSFTNGP12.phx.gbl...
    > do not use this parameter. SQL will encrypt the password you specify in
    the[vbcol=seagreen]
    > @.distributor_password and @.publisher_password (if you specify this)
    > parameters.
    > --
    > Hilary Cotter
    > Looking for a book on SQL Server replication?
    > http://www.nwsu.com/0974973602.html
    >
    > "Ryan McFall" <mcfall@.hope.edu> wrote in message
    > news:%23bCSNfdhEHA.644@.tk2msftngp13.phx.gbl...
    > anywhere.
    > subscription.
    > script
    correctly.[vbcol=seagreen]
    > because
    distributor[vbcol=seagreen]
    mode,[vbcol=seagreen]
    characters
    > as
    > with
    > is,
    > any
    >

    Monday, March 19, 2012

    Creating SSRS folders?

    New ssrs istall.
    When I attempt to open report manager, i just get
    SQL Server Reporting Services
    Home
    with no option for creating a folder etc, like i have on development
    When I attempt to deploy to ther server I get :
    Deploying to http://amsqlclusterxx/reportserver/
    Error rsItemAlreadyExists : The item '/Retailer' already exists.
    How do I create an ssrs reports folder?
    Also, and this is strange, but in vs.net I had to create a new shared
    datasource after removing the old one on the report with the same
    name. The report renders fine when I do an f5 pointing to a new
    datasource, but I no longer have the RUN "!" icon available while in
    the data tag to run my query. Why is this?
    Thanks for any help or information.Hello,
    I suppose that user which you use to connect to Report Manager has
    insufficient permissions.
    Check if this situation takes place also if you use user account which is a
    member of the server's Administrators group (BUILTIN\Administrators).
    Or maybe you have in IIS configured anonymouse access to Report Manager
    Site.
    Does RS ask for login credentials when you open Report Manager?
    Best Regards,
    Radoslaw Lebkowski
    Uzytkownik "jobs" <jobs@.webdos.com> napisal w wiadomosci
    news:1193850825.364868.47100@.19g2000hsx.googlegroups.com...
    > New ssrs istall.
    > When I attempt to open report manager, i just get
    > SQL Server Reporting Services
    > Home
    > with no option for creating a folder etc, like i have on development
    > When I attempt to deploy to ther server I get :
    > Deploying to http://amsqlclusterxx/reportserver/
    > Error rsItemAlreadyExists : The item '/Retailer' already exists.
    > How do I create an ssrs reports folder?
    > Also, and this is strange, but in vs.net I had to create a new shared
    > datasource after removing the old one on the report with the same
    > name. The report renders fine when I do an f5 pointing to a new
    > datasource, but I no longer have the RUN "!" icon available while in
    > the data tag to run my query. Why is this?
    > Thanks for any help or information.
    >

    Creating SQLServer Jobs in Enterprise Manager

    I would like to create a job in Enterprise manager that runs sp_who2
    and write the output to a file. The filename would need to be appended
    with a timestamp that makes the file unique. I can then write another
    job that will cleanup the directory by deleting files that are older
    than a specified date. This is a very simple process in unix platform.
    I am hoping that it can be done in Windows but I don't know how?

    Any help will be applicicated..You can send the output of a job step directly to a file (see the
    Advanced tab), but there's no easy way to set the file name
    dynamically. You might be able to use sp_update_jobstep to set it at
    runtime, but then you would still have to do the cleanup part, which
    would mean using xp_cmdshell.

    Personally, I would use a script in a langauge like VBScript, Perl or
    Python to do this:

    1. Work out the correct filename
    2. Call osql.exe to get the output into the file (see the -Q and -o
    options)
    3. Clean up any old files

    You can then call the script from a job step - it's much easier to
    manipulate files outside the database.

    Simon

    Creating SQL script to upgrade database

    Hi,
    I am in a process of upgrading database. I am using SQL script generated by
    enterprise manager, which is read by executed by VB in windows installer
    project.
    It sets up the entire database only after dropping all tables.
    I need each and every table to be checked if it already exists, it should
    skip the creation of that table. If that table does not exist, only then it
    should create that table.
    'Generate SQL script' toll of Enterprise managaer gives just 2 options, if
    you donot select DROP objects option, it tries to create all tables without
    checking of their existence. If you do select DROP objects option, It drop
    each table before it creates new one(loss of data).
    Is there an option to avoid this situation ?
    Means, any way to create a SQL script which checks wheather the table
    exists, If it exists, it does nnot try to create it, otherwise it creates the
    table.
    Thnx
    "BONTZ" <BONTZ@.discussions.microsoft.com> wrote in message
    news:6670BE8F-7370-422F-98DB-043DCA3511AA@.microsoft.com...
    > I am in a process of upgrading database. I am using SQL script generated
    by
    > enterprise manager, which is read by executed by VB in windows installer
    > project.
    > It sets up the entire database only after dropping all tables.
    > I need each and every table to be checked if it already exists, it
    should
    > skip the creation of that table. If that table does not exist, only then
    it
    > should create that table.
    > 'Generate SQL script' toll of Enterprise managaer gives just 2 options,
    if
    > you donot select DROP objects option, it tries to create all tables
    without
    > checking of their existence. If you do select DROP objects option, It drop
    > each table before it creates new one(loss of data).
    > Is there an option to avoid this situation ?
    > Means, any way to create a SQL script which checks wheather the table
    > exists, If it exists, it does nnot try to create it, otherwise it creates
    the
    > table.
    Without writing the additional code to validate the tables, the CREATE TABLE
    statements will simply fail for existing tables -- perhaps just ignore the
    errors for those tables?
    Steve
    |||Hi Steve,
    Thnx for the response.
    I can ignore the errros.. but I am not running script through query
    analyzer. As mentioned before, I am running this script through windows
    installer program, which rollsback the installation of my application in case
    of any error.
    I was wondering that there should be an option provided by enterprise
    manager which just checks weather table is already present before creating
    one.
    Regards
    "Steve Thompson" wrote:

    > "BONTZ" <BONTZ@.discussions.microsoft.com> wrote in message
    > news:6670BE8F-7370-422F-98DB-043DCA3511AA@.microsoft.com...
    > by
    > should
    > it
    > if
    > without
    > the
    > Without writing the additional code to validate the tables, the CREATE TABLE
    > statements will simply fail for existing tables -- perhaps just ignore the
    > errors for those tables?
    > Steve
    >
    >
    |||Hi,
    You could add your own logic, if you use the script wizard to create the
    table create and table drop statements -- check out the way the logic
    qualifies whether the table exists before the DROP statement is run.
    It will require additional coding, but a possible way to enhance your
    script.
    Steve
    "BONTZ" <BONTZ@.discussions.microsoft.com> wrote in message
    news:4332D573-F257-425D-8E80-AADBACAD95B4@.microsoft.com...
    > Hi Steve,
    > Thnx for the response.
    > I can ignore the errros.. but I am not running script through query
    > analyzer. As mentioned before, I am running this script through windows
    > installer program, which rollsback the installation of my application in
    case[vbcol=seagreen]
    > of any error.
    > I was wondering that there should be an option provided by enterprise
    > manager which just checks weather table is already present before creating
    > one.
    > Regards
    >
    > "Steve Thompson" wrote:
    generated[vbcol=seagreen]
    installer[vbcol=seagreen]
    then[vbcol=seagreen]
    options,[vbcol=seagreen]
    drop[vbcol=seagreen]
    creates[vbcol=seagreen]
    TABLE[vbcol=seagreen]
    the[vbcol=seagreen]

    Sunday, March 11, 2012

    Creating Scripts via Query Analyzer or Enterprise Manager

    I'm trying to decide what is the best practice in terms of creating scripts
    that, for instance, update an existing database. It seems there are a
    couple of ways to do this (although I am sure there are more). It is often
    suggested that you code your changes, by hand, using Enterprise Manager. As
    I am looking at examples how to do this, I understand some of the basics of
    doing this. For instance, if I have a tabled called Numbers and there is a
    field named Employee (data type int, length 4, non nullable) that I want to
    add a unique constraint to, it seems that most examples have the following
    simplistic syntax:
    ALTER TABLE Numbers
    ADD CONSTRAINT EmployeeUnique
    UNIQUE(Employee)
    If I make the same change via Enterprise Manager and then click the Save
    Change Script button, the amount of code it creates is much more:
    BEGIN TRANSACTION
    SET QUOTED_IDENTIFIER ON
    SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    SET ARITHABORT ON
    SET NUMERIC_ROUNDABORT OFF
    SET CONCAT_NULL_YIELDS_NULL ON
    SET ANSI_NULLS ON
    SET ANSI_PADDING ON
    SET ANSI_WARNINGS ON
    COMMIT
    BEGIN TRANSACTION
    ALTER TABLE dbo.Numbers ADD CONSTRAINT
    IX_Numbers UNIQUE NONCLUSTERED
    (
    Employee
    ) ON [PRIMARY]
    GO
    COMMIT
    So, is all of this extra code necessary? Are the examples I am looking at
    too simplistic? Is it OK to use EM to make changes and then generate the
    scripts?
    Thanks.It si absolutely Ok to that in QA (the way you did).
    All these SET statements, generated by EM, are actually happening whenever
    you create a new session in QA, BUT behind the scene. You may see this if
    you trace tsql exec from QA by Profiler.
    With transactions is the same situation: in case of implicit transactions,
    new T-SQL statement starts a new transaction. This explains Begin-commit
    blocks inside EM-generated code.
    All these settings are server defaults and can be changed.
    Regards,
    Marko Simic
    "epigram" wrote:

    > I'm trying to decide what is the best practice in terms of creating script
    s
    > that, for instance, update an existing database. It seems there are a
    > couple of ways to do this (although I am sure there are more). It is ofte
    n
    > suggested that you code your changes, by hand, using Enterprise Manager.
    As
    > I am looking at examples how to do this, I understand some of the basics o
    f
    > doing this. For instance, if I have a tabled called Numbers and there is
    a
    > field named Employee (data type int, length 4, non nullable) that I want t
    o
    > add a unique constraint to, it seems that most examples have the following
    > simplistic syntax:
    > ALTER TABLE Numbers
    > ADD CONSTRAINT EmployeeUnique
    > UNIQUE(Employee)
    > If I make the same change via Enterprise Manager and then click the Save
    > Change Script button, the amount of code it creates is much more:
    > BEGIN TRANSACTION
    > SET QUOTED_IDENTIFIER ON
    > SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    > SET ARITHABORT ON
    > SET NUMERIC_ROUNDABORT OFF
    > SET CONCAT_NULL_YIELDS_NULL ON
    > SET ANSI_NULLS ON
    > SET ANSI_PADDING ON
    > SET ANSI_WARNINGS ON
    > COMMIT
    > BEGIN TRANSACTION
    > ALTER TABLE dbo.Numbers ADD CONSTRAINT
    > IX_Numbers UNIQUE NONCLUSTERED
    > (
    > Employee
    > ) ON [PRIMARY]
    > GO
    > COMMIT
    >
    > So, is all of this extra code necessary? Are the examples I am looking at
    > too simplistic? Is it OK to use EM to make changes and then generate the
    > scripts?
    > Thanks.
    >
    >|||Do you save all your change scripts so you have a complete audit trail of al
    l
    changes made to your database? How you make the changes is just one part of
    database change management. Check out this article on the subject
    http://www.innovartis.co.uk/pdf/ In...Mgt.
    pdf
    This is an article showing an approach to database change managment that
    will always work and gives you a complete audit trail on all database change
    s
    without slowing down the development of the database. It was the foundation
    of the software called DB Ghost (http://www.dbghost.com)
    How the database is developed (whether you use Query Analyzer, Enterprise
    Manager or other third party tools) holds little relevance to the larger
    problems of deploying those changes and having a clear picture of what has
    changed, when it was changed, who it was changed by - so any problems can b
    e
    quickly solved in a repeatable and totally auditable manner. This (I believe
    )
    is the essence of database change management.
    Excuse me for ranting, however I find it very frustrating watching the same
    mistakes repeated time and again...
    "epigram" wrote:

    > I'm trying to decide what is the best practice in terms of creating script
    s
    > that, for instance, update an existing database. It seems there are a
    > couple of ways to do this (although I am sure there are more). It is ofte
    n
    > suggested that you code your changes, by hand, using Enterprise Manager.
    As
    > I am looking at examples how to do this, I understand some of the basics o
    f
    > doing this. For instance, if I have a tabled called Numbers and there is
    a
    > field named Employee (data type int, length 4, non nullable) that I want t
    o
    > add a unique constraint to, it seems that most examples have the following
    > simplistic syntax:
    > ALTER TABLE Numbers
    > ADD CONSTRAINT EmployeeUnique
    > UNIQUE(Employee)
    > If I make the same change via Enterprise Manager and then click the Save
    > Change Script button, the amount of code it creates is much more:
    > BEGIN TRANSACTION
    > SET QUOTED_IDENTIFIER ON
    > SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    > SET ARITHABORT ON
    > SET NUMERIC_ROUNDABORT OFF
    > SET CONCAT_NULL_YIELDS_NULL ON
    > SET ANSI_NULLS ON
    > SET ANSI_PADDING ON
    > SET ANSI_WARNINGS ON
    > COMMIT
    > BEGIN TRANSACTION
    > ALTER TABLE dbo.Numbers ADD CONSTRAINT
    > IX_Numbers UNIQUE NONCLUSTERED
    > (
    > Employee
    > ) ON [PRIMARY]
    > GO
    > COMMIT
    >
    > So, is all of this extra code necessary? Are the examples I am looking at
    > too simplistic? Is it OK to use EM to make changes and then generate the
    > scripts?
    > Thanks.
    >
    >

    Creating Scripts via Query Analyzer or Enterprise Manager

    I'm trying to decide what is the best practice in terms of creating scripts
    that, for instance, update an existing database. It seems there are a
    couple of ways to do this (although I am sure there are more). It is often
    suggested that you code your changes, by hand, using Enterprise Manager. As
    I am looking at examples how to do this, I understand some of the basics of
    doing this. For instance, if I have a tabled called Numbers and there is a
    field named Employee (data type int, length 4, non nullable) that I want to
    add a unique constraint to, it seems that most examples have the following
    simplistic syntax:
    ALTER TABLE Numbers
    ADD CONSTRAINT EmployeeUnique
    UNIQUE(Employee)
    If I make the same change via Enterprise Manager and then click the Save
    Change Script button, the amount of code it creates is much more:
    BEGIN TRANSACTION
    SET QUOTED_IDENTIFIER ON
    SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    SET ARITHABORT ON
    SET NUMERIC_ROUNDABORT OFF
    SET CONCAT_NULL_YIELDS_NULL ON
    SET ANSI_NULLS ON
    SET ANSI_PADDING ON
    SET ANSI_WARNINGS ON
    COMMIT
    BEGIN TRANSACTION
    ALTER TABLE dbo.Numbers ADD CONSTRAINT
    IX_Numbers UNIQUE NONCLUSTERED
    (
    Employee
    ) ON [PRIMARY]
    GO
    COMMIT
    So, is all of this extra code necessary? Are the examples I am looking at
    too simplistic? Is it OK to use EM to make changes and then generate the
    scripts?
    Thanks.
    It si absolutely Ok to that in QA (the way you did).
    All these SET statements, generated by EM, are actually happening whenever
    you create a new session in QA, BUT behind the scene. You may see this if
    you trace tsql exec from QA by Profiler.
    With transactions is the same situation: in case of implicit transactions,
    new T-SQL statement starts a new transaction. This explains Begin-commit
    blocks inside EM-generated code.
    All these settings are server defaults and can be changed.
    Regards,
    Marko Simic
    "epigram" wrote:

    > I'm trying to decide what is the best practice in terms of creating scripts
    > that, for instance, update an existing database. It seems there are a
    > couple of ways to do this (although I am sure there are more). It is often
    > suggested that you code your changes, by hand, using Enterprise Manager. As
    > I am looking at examples how to do this, I understand some of the basics of
    > doing this. For instance, if I have a tabled called Numbers and there is a
    > field named Employee (data type int, length 4, non nullable) that I want to
    > add a unique constraint to, it seems that most examples have the following
    > simplistic syntax:
    > ALTER TABLE Numbers
    > ADD CONSTRAINT EmployeeUnique
    > UNIQUE(Employee)
    > If I make the same change via Enterprise Manager and then click the Save
    > Change Script button, the amount of code it creates is much more:
    > BEGIN TRANSACTION
    > SET QUOTED_IDENTIFIER ON
    > SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    > SET ARITHABORT ON
    > SET NUMERIC_ROUNDABORT OFF
    > SET CONCAT_NULL_YIELDS_NULL ON
    > SET ANSI_NULLS ON
    > SET ANSI_PADDING ON
    > SET ANSI_WARNINGS ON
    > COMMIT
    > BEGIN TRANSACTION
    > ALTER TABLE dbo.Numbers ADD CONSTRAINT
    > IX_Numbers UNIQUE NONCLUSTERED
    > (
    > Employee
    > ) ON [PRIMARY]
    > GO
    > COMMIT
    >
    > So, is all of this extra code necessary? Are the examples I am looking at
    > too simplistic? Is it OK to use EM to make changes and then generate the
    > scripts?
    > Thanks.
    >
    >
    |||Do you save all your change scripts so you have a complete audit trail of all
    changes made to your database? How you make the changes is just one part of
    database change management. Check out this article on the subject
    http://www.innovartis.co.uk/pdf/Inno...ange_Mgt. pdf
    This is an article showing an approach to database change managment that
    will always work and gives you a complete audit trail on all database changes
    without slowing down the development of the database. It was the foundation
    of the software called DB Ghost (http://www.dbghost.com)
    How the database is developed (whether you use Query Analyzer, Enterprise
    Manager or other third party tools) holds little relevance to the larger
    problems of deploying those changes and having a clear picture of what has
    changed, when it was changed, who it was changed by - so any problems can be
    quickly solved in a repeatable and totally auditable manner. This (I believe)
    is the essence of database change management.
    Excuse me for ranting, however I find it very frustrating watching the same
    mistakes repeated time and again...
    "epigram" wrote:

    > I'm trying to decide what is the best practice in terms of creating scripts
    > that, for instance, update an existing database. It seems there are a
    > couple of ways to do this (although I am sure there are more). It is often
    > suggested that you code your changes, by hand, using Enterprise Manager. As
    > I am looking at examples how to do this, I understand some of the basics of
    > doing this. For instance, if I have a tabled called Numbers and there is a
    > field named Employee (data type int, length 4, non nullable) that I want to
    > add a unique constraint to, it seems that most examples have the following
    > simplistic syntax:
    > ALTER TABLE Numbers
    > ADD CONSTRAINT EmployeeUnique
    > UNIQUE(Employee)
    > If I make the same change via Enterprise Manager and then click the Save
    > Change Script button, the amount of code it creates is much more:
    > BEGIN TRANSACTION
    > SET QUOTED_IDENTIFIER ON
    > SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    > SET ARITHABORT ON
    > SET NUMERIC_ROUNDABORT OFF
    > SET CONCAT_NULL_YIELDS_NULL ON
    > SET ANSI_NULLS ON
    > SET ANSI_PADDING ON
    > SET ANSI_WARNINGS ON
    > COMMIT
    > BEGIN TRANSACTION
    > ALTER TABLE dbo.Numbers ADD CONSTRAINT
    > IX_Numbers UNIQUE NONCLUSTERED
    > (
    > Employee
    > ) ON [PRIMARY]
    > GO
    > COMMIT
    >
    > So, is all of this extra code necessary? Are the examples I am looking at
    > too simplistic? Is it OK to use EM to make changes and then generate the
    > scripts?
    > Thanks.
    >
    >

    Thursday, March 8, 2012

    Creating report folder hierarchy in VS.NET

    Is it possible to create (or duplicate) the report server Report Manager
    folder hierarchy in the VS.NET development IDE? There does not appear to be
    an option to add a Folder to the Solution Explorer tree, and if I drag a
    folder from the file system into the tree I receive an Access Denied message
    when I try to open it.
    I would like to be able to create a deployment hierarchy, because now all
    reports deploy to the project root on the Report Server, and I have to move
    them to the correct folder.
    Thanks,
    TimFolders are not supported in Report Designer.
    It is in our wish list for future version.
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Tim Dreyling" <TimDreyling@.discussions.microsoft.com> wrote in message
    news:3F148B87-78EB-4E61-8D04-BA286EAB13A3@.microsoft.com...
    > Is it possible to create (or duplicate) the report server Report Manager
    > folder hierarchy in the VS.NET development IDE? There does not appear to
    > be
    > an option to add a Folder to the Solution Explorer tree, and if I drag a
    > folder from the file system into the tree I receive an Access Denied
    > message
    > when I try to open it.
    > I would like to be able to create a deployment hierarchy, because now all
    > reports deploy to the project root on the Report Server, and I have to
    > move
    > them to the correct folder.
    > Thanks,
    > Tim|||To build a deployment hierarchie you could add several projects to your
    solution and enter a different deployment folder for each of the projects.
    Hth,
    Pieter
    "Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message
    news:%23Yt2JPlrEHA.376@.TK2MSFTNGP14.phx.gbl...
    > Folders are not supported in Report Designer.
    > It is in our wish list for future version.
    > --
    > This posting is provided "AS IS" with no warranties, and confers no
    > rights.
    >
    > "Tim Dreyling" <TimDreyling@.discussions.microsoft.com> wrote in message
    > news:3F148B87-78EB-4E61-8D04-BA286EAB13A3@.microsoft.com...
    >> Is it possible to create (or duplicate) the report server Report Manager
    >> folder hierarchy in the VS.NET development IDE? There does not appear to
    >> be
    >> an option to add a Folder to the Solution Explorer tree, and if I drag a
    >> folder from the file system into the tree I receive an Access Denied
    >> message
    >> when I try to open it.
    >> I would like to be able to create a deployment hierarchy, because now all
    >> reports deploy to the project root on the Report Server, and I have to
    >> move
    >> them to the correct folder.
    >> Thanks,
    >> Tim
    >|||Thanks for the answers. I will give it a shot.
    "Pieter van Maasdam" wrote:
    > To build a deployment hierarchie you could add several projects to your
    > solution and enter a different deployment folder for each of the projects.
    > Hth,
    > Pieter
    > "Lev Semenets [MSFT]" <levs@.microsoft.com> wrote in message
    > news:%23Yt2JPlrEHA.376@.TK2MSFTNGP14.phx.gbl...
    > > Folders are not supported in Report Designer.
    > > It is in our wish list for future version.
    > >
    > > --
    > > This posting is provided "AS IS" with no warranties, and confers no
    > > rights.
    > >
    > >
    > > "Tim Dreyling" <TimDreyling@.discussions.microsoft.com> wrote in message
    > > news:3F148B87-78EB-4E61-8D04-BA286EAB13A3@.microsoft.com...
    > >> Is it possible to create (or duplicate) the report server Report Manager
    > >> folder hierarchy in the VS.NET development IDE? There does not appear to
    > >> be
    > >> an option to add a Folder to the Solution Explorer tree, and if I drag a
    > >> folder from the file system into the tree I receive an Access Denied
    > >> message
    > >> when I try to open it.
    > >>
    > >> I would like to be able to create a deployment hierarchy, because now all
    > >> reports deploy to the project root on the Report Server, and I have to
    > >> move
    > >> them to the correct folder.
    > >>
    > >> Thanks,
    > >> Tim
    > >
    > >
    >
    >

    Creating relationships in asp.net enterprise manager

    Hello

    I am using a web hosting company for my web site, unfortunately after developing the site with server express the company told me they do not support this. As the database only holds three tables and only contained test data, this was not too much of a problem and I thought I would rebuild the databse on the development tool (ASP.net enterprise manager). I have managed to create the tables and populate them with the required data. My only problem is the user interface of the enterprise manager is not the friendliest and I am not too sure how to create the relationships between the tables. The interface only seems to have facilities for creating tables, views, stored procedures, users and roles.

    Any tips on how I can create relationships between the tables.

    Graeme

    In SQL Enterprise Manager right-click on a table, and select Design. A design window will open from the table. What you want is on the SQL Enterprise main window (parent window) - the 3 icons on the right: Manage Constraints, Manage Indexes, and Manage Relationships. clicking on anyone of them opens the same dialog, which lets you manage any of the three.

    Good luck.

    |||

    Hi Alex

    I think the interface the webhosting company allows me to use is not the actual program as it does not allow right clicking; all the images and tables etc seem to be hyperlinks. I am trying to get around this by hardcoding the tables in SQL and then running the queries.

    |||

    Hi,

    From your description, it seems that you can't use some functions of enterprise manager in the website based enterprise manager they provided, right?

    Right, actually, the website based enterprise manager is a web application which runs the underlying SQL command for your specific operations. (such as create,drop tables, insert records and etc..) And the function you can use is totally based on your hosters, since it's not a real Enterprise Manager of SQLServer. So as you mentioned, if the interface only seems to have facilities for creating tables, views, stored procedures, users and roles, but not for creating relations, you have to handle it in another way.

    Based on my understanding, lot's of hosters are support remote connections. So you may connect to the database instance on your hoster's server by IP address and userid, passwords. And then export the data on your local instance to the remote instance, or you can just create your tables on remote instance directly and handle the relation by the real Enterprise Manger tool.

    Thanks.

    Creating RDL files at runtime

    I created a CustomerReport.rdl from VS.NET. I previewed the report in
    the SQLServer Report Manager and it shows the report. that is perfect.
    Now what i did is, I opened the CustomerReport.rdl in Notedpad.
    Obviously it shows me the XML format of the report design. I copied
    all XML content of the report (Ctrl+A/paste) and copied into a new
    notepad window and saved the new file as test.rdl.
    Now when I open the test.rdl report from Report Manager, I see that
    Iam asked to enter the SQLServer authentication (sa/password). Only
    after I do the SQLServer authentication, Iam able to view the report
    in the Report Manager. Why does it ask me so.
    The thing is Iam playing with the rdl because I need to create reports
    on the fly (at runtime) in my project requirement. Please share your
    experiences if you've done something simialar.
    thanks,
    Anand SagarHello,
    What kind of datasource are you using ? shared or private to the report ?
    In Report Designer or Report Manager, connections to data sources are
    managed by ReportDesigner or ReportingServices and credentials are stored
    securily in Repository for ReportingServices. Credentials are not part of
    RDL and you should not find then in Notepad. If you have a shared Datasource
    you can configure it with ReportManager and reference it in your RDL, so you
    will not have to authenticate again with Test.rdl
    HTH
    Jerome Berthaud (MCSD)
    http://www.winsight.fr
    "Anand Sagar" <anandsagar@.gmail.com> wrote in message
    news:3f76a771.0408070018.29eb85ae@.posting.google.com...
    > I created a CustomerReport.rdl from VS.NET. I previewed the report in
    > the SQLServer Report Manager and it shows the report. that is perfect.
    > Now what i did is, I opened the CustomerReport.rdl in Notedpad.
    > Obviously it shows me the XML format of the report design. I copied
    > all XML content of the report (Ctrl+A/paste) and copied into a new
    > notepad window and saved the new file as test.rdl.
    >
    > Now when I open the test.rdl report from Report Manager, I see that
    > Iam asked to enter the SQLServer authentication (sa/password). Only
    > after I do the SQLServer authentication, Iam able to view the report
    > in the Report Manager. Why does it ask me so.
    >
    > The thing is Iam playing with the rdl because I need to create reports
    > on the fly (at runtime) in my project requirement. Please share your
    > experiences if you've done something simialar.
    > thanks,
    > Anand Sagar|||Hi,
    You can test it live on internet and change the parameter
    ProductFamily=Food in ProductFamily=Food. Here you will find 4 ways to
    start a MS Reporting Services Report as enduser:
    http://128.171.208.112/ReportServer?%2fFoodmart+Sales&ProductFamily=Food
    http://128.171.208.112/ReportServer?%2fFoodmart+Sales&rs%3aFormat=HTML4.0&ProductFamily=Food&rc%3aToolbar=True&rc%3aJavaScript=True&rc%3aLinkTarget=_top&rc%3aArea=Toolbar
    http://128.171.208.112/ReportServer?%2fFoodmart+Sales&ProductFamily=Food&rs%3aFormat=HTML4.0&rc%3aToolbar=True&rc%3aJavaScript=True&rc%3aLinkTarget=_top&rc%3aArea=Report
    Any other parameter can be used in an action from MS As 2000. For more
    info: www.reportportal.com / www.gmsbv.nl
    Regards,
    Marco
    www.gmsbv.nl - your partner for MS Analyses & Reporting Services in
    Europe !
    "Jerome BERTHAUD" <jerome.berthaud@.winsight.fr> wrote in message news:<uoKmx5IfEHA.3428@.TK2MSFTNGP11.phx.gbl>...
    > Hello,
    > What kind of datasource are you using ? shared or private to the report ?
    > In Report Designer or Report Manager, connections to data sources are
    > managed by ReportDesigner or ReportingServices and credentials are stored
    > securily in Repository for ReportingServices. Credentials are not part of
    > RDL and you should not find then in Notepad. If you have a shared Datasource
    > you can configure it with ReportManager and reference it in your RDL, so you
    > will not have to authenticate again with Test.rdl
    > HTH
    > Jerome Berthaud (MCSD)
    > http://www.winsight.fr
    >
    > "Anand Sagar" <anandsagar@.gmail.com> wrote in message
    > news:3f76a771.0408070018.29eb85ae@.posting.google.com...
    > > I created a CustomerReport.rdl from VS.NET. I previewed the report in
    > > the SQLServer Report Manager and it shows the report. that is perfect.
    > >
    > > Now what i did is, I opened the CustomerReport.rdl in Notedpad.
    > > Obviously it shows me the XML format of the report design. I copied
    > > all XML content of the report (Ctrl+A/paste) and copied into a new
    > > notepad window and saved the new file as test.rdl.
    > >
    > >
    > > Now when I open the test.rdl report from Report Manager, I see that
    > > Iam asked to enter the SQLServer authentication (sa/password). Only
    > > after I do the SQLServer authentication, Iam able to view the report
    > > in the Report Manager. Why does it ask me so.
    > >
    > >
    > > The thing is Iam playing with the rdl because I need to create reports
    > > on the fly (at runtime) in my project requirement. Please share your
    > > experiences if you've done something simialar.
    > >
    > > thanks,
    > > Anand Sagar|||One additional comment to Jerome's posting: If you use the managed SQL
    provider ("SQL") in the data source, you can use IntegratedSecurity for
    testing purposes (and therefore no need for credentials):
    <ConnectionProperties>
    <DataProvider>SQL</DataProvider>
    <IntegratedSecurity>true</IntegratedSecurity>
    <ConnectString>data source=(local); ... </ConnectString>
    </ConnectionProperties>
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Jerome BERTHAUD" <jerome.berthaud@.winsight.fr> wrote in message
    news:uoKmx5IfEHA.3428@.TK2MSFTNGP11.phx.gbl...
    > Hello,
    > What kind of datasource are you using ? shared or private to the report ?
    > In Report Designer or Report Manager, connections to data sources are
    > managed by ReportDesigner or ReportingServices and credentials are stored
    > securily in Repository for ReportingServices. Credentials are not part of
    > RDL and you should not find then in Notepad. If you have a shared
    Datasource
    > you can configure it with ReportManager and reference it in your RDL, so
    you
    > will not have to authenticate again with Test.rdl
    > HTH
    > Jerome Berthaud (MCSD)
    > http://www.winsight.fr
    >
    > "Anand Sagar" <anandsagar@.gmail.com> wrote in message
    > news:3f76a771.0408070018.29eb85ae@.posting.google.com...
    > > I created a CustomerReport.rdl from VS.NET. I previewed the report in
    > > the SQLServer Report Manager and it shows the report. that is perfect.
    > >
    > > Now what i did is, I opened the CustomerReport.rdl in Notedpad.
    > > Obviously it shows me the XML format of the report design. I copied
    > > all XML content of the report (Ctrl+A/paste) and copied into a new
    > > notepad window and saved the new file as test.rdl.
    > >
    > >
    > > Now when I open the test.rdl report from Report Manager, I see that
    > > Iam asked to enter the SQLServer authentication (sa/password). Only
    > > after I do the SQLServer authentication, Iam able to view the report
    > > in the Report Manager. Why does it ask me so.
    > >
    > >
    > > The thing is Iam playing with the rdl because I need to create reports
    > > on the fly (at runtime) in my project requirement. Please share your
    > > experiences if you've done something simialar.
    > >
    > > thanks,
    > > Anand Sagar
    >

    Wednesday, March 7, 2012

    Creating New Views on SQL 2000

    Recently we upgraded our server from SQL 7.0 to SQL 2000. I created a
    new view in Enterprise Manager which pulls data from a linked server's
    database. When I write the view...

    CREATE VIEW dbo.VIEW1
    AS
    SELECT *
    FROM LinkedServerName.DatabaseName.dbo.TableName

    and I click on the run button it changes to:

    CREATE VIEW dbo.VIEW1
    AS
    SELECT *
    From LinkedServerName.DatabaseName.dbo.TableName TableName_1

    I can still see the correct results, but the users can't- Once I
    remove the TableName_1 they can see the results.

    When I tried creating a view and did not use a linked server,
    everything worked fine. Anyone have any answers?RJMAL (rjmal@.connecticare.com) writes:
    > Recently we upgraded our server from SQL 7.0 to SQL 2000. I created a
    > new view in Enterprise Manager which pulls data from a linked server's
    > database. When I write the view...
    > CREATE VIEW dbo.VIEW1
    > AS
    > SELECT *
    > FROM LinkedServerName.DatabaseName.dbo.TableName
    > and I click on the run button it changes to:
    > CREATE VIEW dbo.VIEW1
    > AS
    > SELECT *
    > From LinkedServerName.DatabaseName.dbo.TableName TableName_1
    > I can still see the correct results, but the users can't- Once I
    > remove the TableName_1 they can see the results.
    > When I tried creating a view and did not use a linked server,
    > everything worked fine. Anyone have any answers?

    I was not able to reproduces this, because I was not even able to create
    a view that accesses a linked server through Enterprise Manager. I came
    as far that I saw the added alias, though.

    Really why Enterprise Manager adds the alias, I don't know, but neither
    do I understand why the alias would affect the common users. You say
    they don't see the correct results - but what do they see? An error
    message? No rows at all? Too few rows? Garbled data? From what sort of
    application, to the users access the view?

    Anyway, try using Query Analyzer to create the view instead. In my
    opinion, Enterprise Manager plays too much behind your back to be
    trustworthy.

    --
    Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

    Books Online for SQL Server SP3 at
    http://www.microsoft.com/sql/techin.../2000/books.asp

    Saturday, February 25, 2012

    creating new tables on diff file group using EM

    Hi,
    How do i acutally create a new table that i can specify to a different
    file group using Enterprise Manager ?
    this is how i done in TSQL :
    create table test
    ( myname char(20)
    )
    on MYOWNFILEGROUP
    appreciate any advice
    tks & rdgs
    In Enterprise Manager, Right Click on "Tables" node and select "New Table"
    from the context menu. Click on "Table and Index Properties" button (Second
    button from left to right) and use "Table Filegroup" dropdown list to select
    "MYOWNFILEGROUP".
    Cristian Lefter, SQL Server MVP
    "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
    news:D90E63AB-F3AC-426F-875D-E8CB71B6189C@.microsoft.com...
    > Hi,
    > How do i acutally create a new table that i can specify to a different
    > file group using Enterprise Manager ?
    > this is how i done in TSQL :
    > create table test
    > ( myname char(20)
    > )
    > on MYOWNFILEGROUP
    > appreciate any advice
    > tks & rdgs
    |||tks Cristian , i got it
    "Cristian Lefter" wrote:

    > In Enterprise Manager, Right Click on "Tables" node and select "New Table"
    > from the context menu. Click on "Table and Index Properties" button (Second
    > button from left to right) and use "Table Filegroup" dropdown list to select
    > "MYOWNFILEGROUP".
    > Cristian Lefter, SQL Server MVP
    > "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
    > news:D90E63AB-F3AC-426F-875D-E8CB71B6189C@.microsoft.com...
    >
    >

    creating new tables on diff file group using EM

    Hi,
    How do i acutally create a new table that i can specify to a different
    file group using Enterprise Manager ?
    this is how i done in TSQL :
    create table test
    ( myname char(20)
    )
    on MYOWNFILEGROUP
    appreciate any advice
    tks & rdgsIn Enterprise Manager, Right Click on "Tables" node and select "New Table"
    from the context menu. Click on "Table and Index Properties" button (Second
    button from left to right) and use "Table Filegroup" dropdown list to select
    "MYOWNFILEGROUP".
    Cristian Lefter, SQL Server MVP
    "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
    news:D90E63AB-F3AC-426F-875D-E8CB71B6189C@.microsoft.com...
    > Hi,
    > How do i acutally create a new table that i can specify to a different
    > file group using Enterprise Manager ?
    > this is how i done in TSQL :
    > create table test
    > ( myname char(20)
    > )
    > on MYOWNFILEGROUP
    > appreciate any advice
    > tks & rdgs|||tks Cristian , i got it
    "Cristian Lefter" wrote:
    > In Enterprise Manager, Right Click on "Tables" node and select "New Table"
    > from the context menu. Click on "Table and Index Properties" button (Second
    > button from left to right) and use "Table Filegroup" dropdown list to select
    > "MYOWNFILEGROUP".
    > Cristian Lefter, SQL Server MVP
    > "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
    > news:D90E63AB-F3AC-426F-875D-E8CB71B6189C@.microsoft.com...
    > > Hi,
    > >
    > > How do i acutally create a new table that i can specify to a different
    > > file group using Enterprise Manager ?
    > >
    > > this is how i done in TSQL :
    > >
    > > create table test
    > > ( myname char(20)
    > > )
    > > on MYOWNFILEGROUP
    > >
    > > appreciate any advice
    > >
    > > tks & rdgs
    >
    >

    creating new tables on diff file group using EM

    Hi,
    How do i acutally create a new table that i can specify to a different
    file group using Enterprise Manager ?
    this is how i done in TSQL :
    create table test
    ( myname char(20)
    )
    on MYOWNFILEGROUP
    appreciate any advice
    tks & rdgsIn Enterprise Manager, Right Click on "Tables" node and select "New Table"
    from the context menu. Click on "Table and Index Properties" button (Second
    button from left to right) and use "Table Filegroup" dropdown list to select
    "MYOWNFILEGROUP".
    Cristian Lefter, SQL Server MVP
    "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
    news:D90E63AB-F3AC-426F-875D-E8CB71B6189C@.microsoft.com...
    > Hi,
    > How do i acutally create a new table that i can specify to a different
    > file group using Enterprise Manager ?
    > this is how i done in TSQL :
    > create table test
    > ( myname char(20)
    > )
    > on MYOWNFILEGROUP
    > appreciate any advice
    > tks & rdgs|||tks Cristian , i got it
    "Cristian Lefter" wrote:

    > In Enterprise Manager, Right Click on "Tables" node and select "New Table"
    > from the context menu. Click on "Table and Index Properties" button (Secon
    d
    > button from left to right) and use "Table Filegroup" dropdown list to sele
    ct
    > "MYOWNFILEGROUP".
    > Cristian Lefter, SQL Server MVP
    > "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
    > news:D90E63AB-F3AC-426F-875D-E8CB71B6189C@.microsoft.com...
    >
    >

    Creating new connection manager types

    Hi,
    Wanted to know how one can write new connection manager types, and, additionally, if there exist any code samples that show how this can be done. I searched through BOL but could not locate any.
    I basically work with C++ and was curiuos if code samples exist in it? I have worked with a couple of ETL tools (or 'platforms' should I say) before, but never with SSIS.
    Would really appreciate it if someone could help me out here.We're working on providing some samples for custom connection managers. Writing them in native code isn't supported this release, but in managed it is. The pattern is the same as for custom tasks. Derive from the base connection manager type in the Microsoft.SQLServer.ManagedRuntime assembly and override AcquireConnection.
    This will get you the super simple connection manager.|||is there any update on this one? a sample would be rather nice?

    Creating new connection manager types

    Hi,
    Wanted to know how one can write new connection manager types, and, additionally, if there exist any code samples that show how this can be done. I searched through BOL but could not locate any.
    I basically work with C++ and was curiuos if code samples exist in it? I have worked with a couple of ETL tools (or 'platforms' should I say) before, but never with SSIS.
    Would really appreciate it if someone could help me out here.We're working on providing some samples for custom connection managers. Writing them in native code isn't supported this release, but in managed it is. The pattern is the same as for custom tasks. Derive from the base connection manager type in the Microsoft.SQLServer.ManagedRuntime assembly and override AcquireConnection.
    This will get you the super simple connection manager.|||is there any update on this one? a sample would be rather nice?

    Friday, February 24, 2012

    Creating Linked Server

    Hello there
    On my enterprise manager there are many Servers who are registered
    I would like to transfare data between these two servers
    When i'm conneted to one server on the query analyser and i'm trying to see
    table from other server i get an error: Could not find server 'ROY-XP' in
    sysservers. Execute sp_addlinkedserver to add the server to sysservers.
    What i need to do in order to connect between these two servers?Roy
    You can use EM to create linked server. Just provide a login and password
    that can access the database.
    "Roy Goldhammer" <roy@.hotmail.com> wrote in message
    news:eaj6jZa9FHA.3660@.TK2MSFTNGP09.phx.gbl...
    > Hello there
    > On my enterprise manager there are many Servers who are registered
    > I would like to transfare data between these two servers
    > When i'm conneted to one server on the query analyser and i'm trying to
    > see table from other server i get an error: Could not find server 'ROY-XP'
    > in sysservers. Execute sp_addlinkedserver to add the server to sysservers.
    > What i need to do in order to connect between these two servers?
    >
    >|||Hi,
    sp_addlinkedserver -- map server with this
    and
    sp_addlinkedsrvlogin -- map user account with this
    :-)
    Regards
    --
    Andy Davis
    Activecrypt Team
    ---
    SQL Server Encryption Software
    http://www.activecrypt.com
    "Roy Goldhammer" wrote:

    > Hello there
    > On my enterprise manager there are many Servers who are registered
    > I would like to transfare data between these two servers
    > When i'm conneted to one server on the query analyser and i'm trying to se
    e
    > table from other server i get an error: Could not find server 'ROY-XP' in
    > sysservers. Execute sp_addlinkedserver to add the server to sysservers.
    > What i need to do in order to connect between these two servers?
    >
    >