BIDS - report file permissions issue on master, yet im a sysadmin when running the RDL from SSMS

Im building a report file and when I preview the report, it fails because my account cant access the master database.
My dataset is just calling xp_readerrorlog, which is in master.
I can call it just fine in a query window, but not from BIDS, using a connection with windows security.
I can however, preview the dataset ok, but when I open the RDL file from SSMS under custom reports, I get an login error.
However, if I preview the report...it fails and says the login failed, login failed for user mydomain\myuser ....

Hi,
It seems a permissions related issue, try the following methods to troubleshoot the issue:
1. Use this form of giving the user exec rights on extended stored procedure.
create user usename for login login
go
grant exec on xp_readerrorlog to username
Refer to:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ffd3a32b-7e17-4f15-9fb7-fa744611ac7e/minimum-persssion-required-to-execute-spreaderrorlog-system-stored-procedure
2. Run BIDS as administrator and see how it works.
3. Also, check the SQL event log (SQL Server Management Studio > Management > SQL Server Logs) and post the full error message for the failed login.
Thanks.
Tracy Cai
TechNet Community Support

Similar Messages

  • Calling report from forms while running the application from thin clients

    I am using thin client technology with 64MB RAM for running developer 6i application.
    The server has windows 2000 advanced server with 256 MB RAM.
    When I run the apllication from a single client, it works fine even for multiple windows.
    But the moment I switch on more thin clients, the client which fired the printing job first works fine, while the others allow data entry using forms but any call to report for direct printing throws an illegal condition error. I have tried both run_product and host option for running reports. The error returned is the same.
    Howver if the report is run from command prompt simultaneously from both the clients it works fine.
    Immediate help required in this case
    chandandeep

    Hi,
    you better off using Run_Report_Object() instead of Run_Product(). There is a Whitepaper available on otn.oracle.com/products/forms that details this. The problem that you run into is that Forms Services(thin clients) are multi user environments while Reports called via Run_Product() is a single user environment. This means that the Reports Runtime does not handle Reports requests in parallel but sequential one at a time. The first user blocks the runtime engines and all other hang for this time.
    Fran

  • Noticed a pretty obvious bug in 5.0 ctrl+shift+d will bookmark all sites open but there is NO reference in any of the file menus, where is it located if you didn't know the shortcut from a previous version?

    Noticed a pretty obvious bug in 5.0 ctrl+shift+d will bookmark all sites open but there is NO reference in any of the file menus, where is it located if you didn't know the shortcut from a previous version?

    Right-click '''on''' tab to see that menu item.

  • SAP B1 Closes when Running the Crystal Report

    Hi SAP Expert,
    I have a problem during running the customized report i've created in Crystal. I created a stored procedure please see my code below. The Crystal Report is running during development but when i exported to SAP B1 and run the report. The SAP Business One will terminated. Any help please...
    CREATE PROCEDURE [dbo].[SP_ACTUALPURCHASESV3]
         -- Add the parameters for the stored procedure here
         @FROM DATETIME,
         @TO DATETIME
    AS
    BEGIN
         SET NOCOUNT ON;
         SET @FROM = CAST(CAST(MONTH(@FROM) AS NVARCHAR) + '/' +
                        CAST(DAY(@FROM) AS NVARCHAR) + '/' +
                        CAST(YEAR(@FROM) AS NVARCHAR) + ' 00:00:00:000' AS DATETIME)
         SET @TO = CAST(CAST(MONTH(@TO) AS NVARCHAR) + '/' +
                        CAST(DAY(@TO) AS NVARCHAR) + '/' +
                        CAST(YEAR(@TO) AS NVARCHAR) + ' 23:59:59:000' AS DATETIME)
         SELECT
              (SELECT DocEntry FROM OPOR WHERE OPOR.DocNum = PDN1.BaseRef) as  PODocentry,
              PDN1.BaseRef AS PONum,
              OPDN.DocEntry,
              OPDN.DocNum,
              OPDN.DocType,
              (select ocrd.lictradnum from ocrd where ocrd.cardcode = opdn.CardCode) as LicTradNum,
              OPDN.CardCode,
              OPDN.CardName,
              OPDN.DocDate,
              CASE WHEN PDN1.WhsCode IS NULL THEN PDN1.AcctCode ELSE PDN1.WhsCode END AS WhsCode,
              CASE WHEN PDN1.WhsCode IS NULL THEN (SELECT OACT.AcctName FROM OACT WHERE OACT.AcctCode = PDN1.AcctCode) ELSE (select OWHS.WhsName from OWHS where OWHS.WhsCode = PDN1.WhsCode) END AS WhsName,
              CASE WHEN PDN1.ItemCode IS NULL THEN 'N/A' ELSE PDN1.ItemCode END AS ITEMCODE,
              PDN1.Dscription,
              PDN1.Quantity,
              PDN1.unitMsr,
              PDN1.Price,
              PDN1.PriceBefDi,
              PDN1.PriceAfVAT,
              CRD4.WTCode,
              OWHT.RATE,
              (case when pdn1.quantity > 0 then (pdn1.Price * pdn1.Quantity) else PDN1.Price end ) * (OWHT.rate/100) as EWTVALUE
         FROM OPDN JOIN PDN1 ON OPDN.DOCENTRY = PDN1.DOCENTRY left join CRD4 on OPDN.CardCode = CRD4.CardCode left join OWHT on OWHT.WTCode = CRD4.WTCode
         WHERE OPDN.DocDate BETWEEN @FROM AND @TO  and OPDN.CANCELED = 'N'
         --WHERE OPDN.DocNum = 2542
         ORDER BY OPDN.DocDate
    END

    Hi,
    Does it means we are allowed to create stored Procedure inside the Company Database. We only use selecting and joining tables and somehow some complex sql procedures to meet our requirements.
    Thanks, but my question is if there's nothing wrong with it why my SAP B1 Closes when previewing the Crystal Report. Im running on Windows 7 64-bit, i will not imagine that the capacity of memory of my Terminal Unit is not enough because my memory is 8GB. I run crystal report but it shows the record, but when running the Cystal Viewer inside SAP B1 it illegally terminated.
    Thanks for clarifying the creation of Stored Procedure.
    Ben

  • Can't Customize, Change Settings, or Move Files -- Permissions Issue?

    Hey all:
    Just got a new MBP w/ 10.5.2. Successfully migrated most of my user settings and applications from the old Tiger HDD (old laptop died a horrible death).
    The problem is that aside from everything appearing to be the same, I'm finding that I don't have the access to do a whole lot with my own files. Several different problems that "seem" like they're stemming from the same accessiblity/permissions issue include:
    Intermittent trouble downloading files with Firefox's default download tool.
    Complete inability to change desktop background.
    Programs fail to remember setting changes after quit and re-launch.
    System Preferences do not remember changes to settings.
    Certain files can not be moved, renamed, opened, or deleted w/o admin authorization, or in some cases, at all.
    The problems started after I migrated the old system over after having an interim user account running for a few days prior. After migrating, I attempted to reconcile the two together and that's when things got hairy.
    In the past couple days, I have tried:
    1.) Archive and Install (preserving User settings - now down to just one admin).
    2.) Changing permissions to system read/write, admin read/write, everyone read only for the entire /User directory, applied to all enclosed items.
    3.) Repairing Permissions (which took about 10 minutes!)
    I'm at the end of my rope here. I'm stuck with my OS acting the way it wants to, which is the exact way it was after being archived and reinstalled, no matter what changes I try to apply in the Finder, Preferences, or in any programs.
    I'm thinking maybe a clean install and then migrating over the backup I just made on my external HD will get me my stuff without whatever troublesome thing is freezing me out, but I'm not really sure, and I don't really understand much about command lines in Terminal.
    Does anyone have any ideas? Many thanks.

    Oddly enough I just had a spastic moment with a mouse click and put my Drop Box in the Trash (I keep the Delete thing in my window toolbar, which is handy, but can lead to accidents)... Since I was playing with it I noticed its absence immediately. Realized what I had done after a moment's reflection, and put it back. Which just goes to confirm something I ALWAYS do before I empty the Trash: open it and see what's in there first, then click empty.
    As to whether removing ACLs is for advanced users only: well, up until Leopard that's the way it always was, there were, until now, NO ACLs on the users folders. So should everyone have been an advanced user until now? Did you ever delete a folder in Jaquar or Panther or Tiger and empty your Trash without checking? Indeed, if you use Time Machine, available in Leopard but not before, you are already protected from such goofs, since you can recover things accidently deleted using Time Machine, so actually you are in better shape with Leopard than ever before, WITHOUT the ACLs if you use Time Machine. Until Leopard there was neither belt nor suspenders to automatically protect you from losing data. Leopard supplies both.
    The situation reminds me of the continuing debate about virus protection on the Mac. Personally, I have seen various anti-virus programs cause all sorts of problems, and it has yet to protect any Mac system from anything (since as yet there are no Mac system viruses). Anti-virus software may have saved some users of Microsoft Office who share files with Windows users from getting a macro virus in their Word docs, and it might have kept a Mac user from passing on some email virus to some Windows users by forwarding stuff from the Internet. But still.... if you don't use MS Office or forward email junk, you get no benefit and may get some problems.
    Same seems to me to be true of ACLs: it is possible to get a benefit (you can't accidently toss your Movies folder and lose data, assuming you mindlessly empty your Trash and don't have a backup), but an awful lot of people are having an awful lot of problems.
    Francine
    Francine
    Schwieder

  • Error creating custom reports. Permissions issue with custom reports

    I am having permission issues with reports. I am building a new Configuration Manager  2012 infrastructure and I have configured the Site server on Server1 and the DB is on Server2. Server2 also hosts the Reporting Point and SSRS roles/features. If
    I look in Monitoring at the Site Status and Component Status are all green no issues with the setup.
    Running SQL 2008 SP2 (no CUs). I have a service account that I used to install Configuration Manager and SQL. This service account is running the SQL service on Server2 and i am using the same account as the Reporting Services Point Account.
    I log into the SCCM console with a different user account, lets call it Admin1. This account is a member of the Full Administrator role. I can run any built in report.
    When I open the SSRS website and try to create a custom report I connect the DataSource using Windows Authentication. So the Datasource is connecting using the logged in users account. In this case Admin1. I test the connection and it connects fine.
    I test this query. (Select * from v_R_System) I only have about 10 workstations discovered so the report shouldn’t be very big. I get an error “The Select permission was denied on the object ‘v_R_System’, Database ‘CM_XXX’, schema ‘dbo’. (Microsoft sql server,
    Error: 229)”
    I have fixed the SELECT permission error by going into the database (using SQL Management studio) and granting Admin1 Select rights to the Configuration Manager database. I can now run the above query and make custom reports.
    My 2<sup>nd</sup> problem is that other members of the Full Administrator role cannot run these custom reports unless I go into the database and grant them the SELECT permission.
    Question:
    Should I have to manually go into the database to add SELECT permissions(i could use a group)? shouldnt Configuration Manager take care of this for me?
    Maybe the built in reports use the SQL service account rights and the custom ones do not? Am I doing something wrong with the Datasource when I create these custom reports?
    What is the correct process for creating custom reports?

    I think i am getting closer to a solution. After the Custom report is created. i can go back into the report. Delete the DataSource. Then browse for a dataSource. there is a datasource located in http://server2/reportserver/ConfigMgr_XXX/
    That datasource is used by all builtin reports. if you view the properties on the Credentials tab it is set to "do not use credentials" and the option is greyed out / cannot be changed.
    it looks like i still need the SELECT permissions on the database to create the report initially but at least i have solved the problem with viewing these reports.
    Can anyone confirm that what i did is correct?

  • Complex file permissions issues

    I'm working on trying to setup file permissions on a share for a client and have been unable to figure out a way to do what they have asked for. They have a predefined structure of directories inside each client directory and have shared the parent folder
    that holds all the individual client directories. In each client directory it has the same structure as the other clients' and is supposed to have varying permissions regarding files and folders throughout, however, the initial structure of directories should
    never be allowed to be changed by the client accounts in the group granted permission to their structure.
    Throughout the structure those in that client group in AD should have read and execute everywhere, which is easy to set and I've had no issues with. In some of the subdirectories they should have modify/delete for it's contents, sometimes restricting this
    to just files vs files and directories. If the directory that should allow that is not followed by any further directories defined by the structure I can configure that as well. It's when a directory is supposed to allow the client modify/delete on it's subdirectories
    and files BUT it has a child that the client should NOT have modify/delete on because it's part of the pre-defined structure that I run into a problem.
    Example folder structure:
    Client_Name -> Data -> DataSub
    They have read, transverse, list, execute on Client_Name and can't change the Data directory itself. Then they need to be able to create, modify and delete files and directories inside Data BUT they can't be allowed to do that to the prexisting DataSub directory.
    They also must be able to create, modify, and delete files and directories inside DataSub.
    I've tried using a deny rule applying to "This folder only" on DataSub and selecting (create files/write data, create folders/append data, write attributes, write extended attributes, delete subfolders and files, and delete) while having an allow
    rule for the same + read applying to "This folder, subfolders, and files" but DataSub is still modifiable and then nothing inside it is.
    I've also tried allowing (traverse folder/execute file, list folder/read data, read attributes, read extended attributes, read permissions) on DataSub applying to "This folder only" and then another allow rule applying to "Subfolders and files
    only" allowing (create files/write data, create folders/append data, write attributes, write extended attributes, delete subfolders and files, and delete). DataSub is still modifiable and nothing inside it is again.
    I can't figure out how to do this and I'm not 100% sure it's even possible. If anyone could provide any insight or help I'd greatly appreciate it.

    Hi, If I see it correctly, that's how I would do it;
    - I would desactivate inheritance on all 3 folders & remove all security.
    - I would create 3 groups to apply to each folder.
    - I would make the group member of each folder with the general read flag.
    - I would click in the advanced security to make them able to modify, erase for
    file and subfolder only
    I would not use deny as it make the ACL harder to read.
    Regards, Philippe
    Don't forget to mark as answer or vote as helpful to help identify good information. ( linkedin endorsement never hurt too :o) )
    Answer an interesting question ? Create a
    wiki article about it!

  • File permissions issue when putting a file into another person's Drop Box

    I frequently drop files from my Mac into a co-worker's Drop Box on her Mac. When I do so, however, the files are inaccessible to her until she does a Get Info and changes the owner to herself.
    I've done file sharing of this sort between many different Macs before, but this is the first time I've ever seen someone have to alter file permissions on a file I gave to them--every single time. How can I avoid this problem?
    We're both running 10.4.9.
    Thanks very much.
    MacBook 1.83GHz   Mac OS X (10.4.9)  

    I too have noticed this behaviour with the drop box and find it irritating. I don't use it much so I haven't investigated a solution, but your colleague could try opening Terminal from her admin account and entering these commands:
    sudo fsaclctl -p / -e [this enables ACLs on her boot drive]
    The below two lines can be pasted in at the same time (replacing "mary" with her short user name):
    sudo chmod +a "mary allow delete,chown,list,search,add_file, \
    addsubdirectory,delete_child,file_inherit,directoryinherit" ~mary/Public/Drop\ Box
    That should allow her to have full access to any files put into her drop box. Rebooting might be necessary for the ACL settings to take effect.
    Disclaimer: AFAIK this should work because I have gotten similar things working before. But I have not tested this specific solution.
    FWIW, it might be easier to just e-mail her the file instead.

  • FR Studio moving Cells Issue when running the report in Workspace

    I've created a complex, multi-grid FR report. There are 8 grids and 2 database connections in the report. When I run the report in Workspace for a smaller entity/unit, the report looks fine in PDF. When I run the report for a larger entity/unit, one of the cells in the grid duplicates itself and is shifted down into a second page on its own. The cell is an account cell with a label of "Salaries and Wages." The Salaries and Wages cell shows up in the correct location, but without a number. Then, there is a second page with the "Salaries and Wages" cell and the number that is at that intersection. I believe this only happens when the report is run on larger entities/units and when I view it in PDF, which is the format the users will be viewing this report.
    Also, something to note is that there is a gride to the right of this grid with the Salaries and Wages account, and I tried moving that out of the way and changing the row height and column width but none of those changes fixed the issue.
    Has anyone ever encountered something like this? Any ideas or comments would be greatly appreciated!!!
    Thanks,
    Tiffany

    Yes - consolidating 8 grids into 4 grids fixed the issue. I think having too many grids with multiple DB connections in each grid is too much for FR to handle. My current report has 4 grids with 2 of the grids having 2 database connections in them. The report is now working correctly.
    Thanks for your efforts Celvin!
    Thanks Again,
    Tiffany

  • Error when running the reports?

    Hi ALL
    I instl business content reports for my client req, but now some repots are working and some reports gives
    error below,
    The requested query 0CSAL_C07/0CSAL_C07_Q0101 does not exist on the current server
    Error when generating dataProvider 0CRM_PRLI_Q0101_V01
    i can not able to run the reports , did any body face this error plz help me

    Are you running OBIEE on Windows? Your UNC path is probably set on the instanceconfig.xml Presentation Services config file. It would seem that your network share, your network or something in between fails intermentely causing OBIEE to be unable to write to the catalog. I would suggest trying to move your Catalog to another network share more reliable to have your network administrators confirm there are no network issues affecting your box.

  • Issue when Calling the RFC from external system

    Hi,
    I have created one RFC, in which I am using one function module to get the material customer status.
    Functional Module name is "QC01_BATCH_VALUES_READ".
    When I run this in SAP, it is giving a value for Cusotmer Status. But when this RFC is called from .Net system it is not returning any value for this field.
    Even I used a different function module 'CLAF_CLASSIFICATION_OF_OBJECTS' for the same, in this also in SAP it is doing good, but when it is called from .Net, the program is giving dump.
    Please help me to resolve this issue
    Thanks
    Ravi

    Hi Ravi,
    Issue can be either in the .NET program or in the RFC destination creation.
    1)
    Check whether data types of .NET program which is calling the SAP function module are correct. 
    If there are issues with data types,  program dont report if you dont so explicitly.
    2) Check whether RFC destination you are giving in your .NET program is correctly configured in
        SAP , verify by testing the same.
    Apart from above two reasons, I dont see any other major reasons for not getting correct results.
    Regards
    Krishna

  • Downloading the file in our PC , when running the job in Background

    Hi,
    We have an enquiry for below requirment.
    Our client runs some jobs in front end , but as the time taken to execute the JOB is more than 15 minutes  , he is getting timeout problem, so we want to run the same program in background.
    Generally the output of the report is to download the file into his desktop,  so even when he is running
    the same job in background he want it to be downloaded into his PC, instead of application servor.
      We created a test program similar to the requirment, and ran the job in foreground and the file could easily be downloaded to desktop. Then we ran the program in backgound - The job failed with an error message  Codepage could not be determined  - Message no. FES025.
    My Question is - is it possible to download the file into the desktop while running in background.
    Please help me .
    Thanks in advance.
    Vengal Rao.

    Please search the forum. This question has been asked and answered many times before.
    Rob

  • Error when running the Crystal Report 9.1 (visual studio 2003) in the deployed server

    Hello,
    1) I am suddenly getting an error message ‘Load Report failed’ in a production server (where the VS2003 application is deployed) when the Crystal Report is executed. This has happened maybe because of the Windows/Crystal Report Updates!
    I am able to see the same report perfectly fine in the development computer using VS 2003.
    I am using the 9.1 version which is part of the Visual Studio 2003.
    The event logs show 'Either the keycode library is not registered or it cannot be loaded ...EventID=10029'. See attached screen shot.
    Please help?
    2) Since I was getting a registration suggestion window  for using Crystal Reports, I registered twice using different email address and it said that it will send me the KeyCode for the Crystal report but after successful registration I never got any keycode but just an email acknowledging the Registration.
    I believe the KeyCode is required to use it in the server to execute/run a report.
    Can SAP representative email the keycode to my gmail account?
    My product key is: 
    Please help to resolve both my problems
    Thanks in advance,
    Sanjay Chudasama

    If I memory servers, you have to open the Crystal_Regwiz2003.msm in the .NET deployment project. One of the properties of the msm was Keycode (or similar). You entered the keycode here. To find your keycode; in VS2003 IDE, go to the Help | About screen. You will see one of the installed components as Crystal Reports and the keycode will be on the right of that. Copy the keycode from here, paste in the above.
    For more details see the article Crystal Reports and Visual Studio .NET - Application Deployment.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Error when running the report

    hello,
    i am running a report, which has three parameters begin date, end date and dept full name.
    for example when i am running the report with following parameter's works fine they are 01/01/2002, 02/02/2002 and dept name is Animal Control.
    but when i am running the report with the following parameters its giving problem i.e.
    01/01/2002, 02/02/2002 and dept name is Mayor's office its not running the report says command line syntax error rep-0159.
    in the database the dept name is Like Mayor's office.
    i dont know how to convert the apostrophe to a string or what ever, to get the report.
    this is production problem.
    please do help me out.
    thanks.

    Hello!
    I guess you are running your report using rwrun60.exe, probably in batch mode.
    In such cases string parameter with single quote inside of it should be passed in a such way: rwrun60 ... paramname3='Mayor''s office' ...
    In Reports 6.0.8.11.3 it works fine.
    No problems at all if you are calling report from the Forms using run_product built-in and passing prameter list into the report.
    Regards,
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000
    http://www.brainbench.com

  • How to avoid the split problem when uploading the data from csv file

    Dear Friends,
                  I have to upload data from the .csv file to my custom table , i have found a problem when uploading the data .
    i am using the code as below , please suggest me what i have to do in this regard
          SPLIT wa_raw_csv  AT ',' INTO
                    wa_empdata_csv-status
                     wa_empdata_csv-userid
                     wa_empdata_csv-username
                     wa_empdata_csv-Title
                     wa_empdata_csv-department.
    APPEND wa_empdata_csv TO  itab.
    in the flat file i can see for one of the record for the field Title  as
    Director, Finance - NAR............there by through my code the  wa_empdata_csv-Title is getting splited data as "Director, and  Department field is getting Finance - NAR" , i can see that even though  " Director, Finance - NAR"  is one word it is getting split .
    .......which is the problem iam facing.Please could any body let me know how in this case i should handle in my code that this word
    "Director,Finance - NAR"   wil not be split into two words.
    Thanks & Records
    Madhuri

    Hi Madhuri,
    Best way to avoid such problem is to use TAB delimited file instead of comma separated data. Generally TAB does not appear in data.
    If you are generating the file, use tab instead of comma.
    If you cannot modify the format of file and data length in file is fixed character, you will need to define the structure and then move data in fixed length structure.
    Regards,
    Mohaiyuddin

Maybe you are looking for