Showing posts with label reports. Show all posts
Showing posts with label reports. Show all posts

Thursday, March 29, 2012

Filter Error

I have No Filters in Place but I Keep getting this error on a couple reports.

  • An error has occurred during report processing.
  • The processing of SortExpression for the table ‘table2’ cannot be performed. The comparison failed. Please check the data type returned by the SortExpression.

    What is table2

    Have you configured interactive sorting to text field

    sql
  • Filter duplicate records

    Hi

    Have been given the task of trying to write reports in Crystal after someone found out I new one of Access from the other.

    The report is taking data from SAGE database with custom written tables. The problem I have is that one of the custom table has not been well written allowing multiple identical entries.

    The table in question holds data for each delivery note posted on SAGE. In this table are field I need relating to Product Number, Quantity and Nett Weight. Due to the way data has been stored I can have up to 16 records (effectively duplicates - same part number, quantity, nett weight) when I only want one record displayed.

    Is it possible to write a filter that basically says that if for a given delivery number there is more than 1 record with the same Product Number, Quantity then filter the number of records down to one? If this is not possible, would it be possible to do the same but specifying to pick the record with the highest nett weight? assuming that if there were two identical records for all of the aforementioned fields that it could still bring this down to one?You can do it in your Query:

    SELECT ProductNumber, Quantity, 'NettWeight' = MAX(NettWeight)
    FROM TableName
    GROUP BY ProductNumber, Quantity

    (I use SQL Server 7, so you may need to adjust the syntax a bit to work in your database.)

    - or -

    You can do it in Crystal Reports. There should be a property called SuppressDuplicates (or something similar, I don't have CR in front of me). If you set it to True, Crystal should display only unique records. I think that property is available for fields as well as sections, but I'm not sure. Also, I use CR 8.5, so if you're using a different version, SuppressDuplicates may not exist at all or it may be called something different.

    filter by UserID

    I have many reports that are filtered by the userID of the person running
    the report. Aside from rolling my own security is there a way for me to use
    RS to pass this ID. Since the user is logging in via Windows Authentication
    I have their login name. I was thinking of using this to query the UserID
    from a custom table and then use that as a hidden parameter for all the
    sp's. The problem I have though is how to get that UserId prior to anything
    on the report happening.
    Thanks,
    ShawnThe user!userid global variable can be used as a input to your query. Do the
    following, create a query parameter. Click on the ..., go to parameters and
    then map the query parameter to the global variable (it has domain so you
    might want to strip off the domain). To map it choose expressions and that
    brings up the expression builder. Next go to layout, report parameters and
    remove the parameter that was automatically created for you by RS when you
    created the query parameter.
    Bruce Loehle-Conger
    MVP SQL Server Reporting Services
    "Shawn Mason" <shawn@.issda.com> wrote in message
    news:%23YFHG1L$EHA.3416@.TK2MSFTNGP09.phx.gbl...
    > I have many reports that are filtered by the userID of the person running
    > the report. Aside from rolling my own security is there a way for me to
    use
    > RS to pass this ID. Since the user is logging in via Windows
    Authentication
    > I have their login name. I was thinking of using this to query the UserID
    > from a custom table and then use that as a hidden parameter for all the
    > sp's. The problem I have though is how to get that UserId prior to
    anything
    > on the report happening.
    > Thanks,
    > Shawn
    >|||Here's something I did, to strip off the domain, as Bruce says:
    SELECT e.EMPLID, e.NAME
    FROM EMPLTABLE e
    WHERE (e.ID = RIGHT(@.UserID, LEN(@.UserID) - CHARINDEX('\', @.UserID)))
    It will use whatever you write after the \ in a domain\username scenario.
    Kaisa M. Lindahl
    "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
    news:OiMDkHM$EHA.3908@.TK2MSFTNGP12.phx.gbl...
    > The user!userid global variable can be used as a input to your query. Do
    the
    > following, create a query parameter. Click on the ..., go to parameters
    and
    > then map the query parameter to the global variable (it has domain so you
    > might want to strip off the domain). To map it choose expressions and that
    > brings up the expression builder. Next go to layout, report parameters and
    > remove the parameter that was automatically created for you by RS when you
    > created the query parameter.
    >
    > --
    > Bruce Loehle-Conger
    > MVP SQL Server Reporting Services
    > "Shawn Mason" <shawn@.issda.com> wrote in message
    > news:%23YFHG1L$EHA.3416@.TK2MSFTNGP09.phx.gbl...
    > > I have many reports that are filtered by the userID of the person
    running
    > > the report. Aside from rolling my own security is there a way for me to
    > use
    > > RS to pass this ID. Since the user is logging in via Windows
    > Authentication
    > > I have their login name. I was thinking of using this to query the
    UserID
    > > from a custom table and then use that as a hidden parameter for all the
    > > sp's. The problem I have though is how to get that UserId prior to
    > anything
    > > on the report happening.
    > >
    > > Thanks,
    > >
    > > Shawn
    > >
    > >
    >

    Tuesday, March 27, 2012

    Filter a Model Table?

    I am using RS 2005. I am setting up a Model for use within Report Builder so our clients can write their own reports.

    A 2 part question, simple question first:

    1. How can I filter the records in a Model Entity? I thought this would be possible from a Perspective but it is not.

    2. How can I filter the records in a Model Entity based on the locale of the person who is logged on? And also based on their permissions?

    TIA

    You are correct that this is not possible with Perspectives. Note that Perspectives do not secure your data in any way.

    You can use Model Item Security and Security Filters to expose different records to different users. A security filter could include a formula filter condition that uses the GETUSERCULTURE function. However, this seems a little odd, since culture is trivial to “spoof”, so it doesn’t really secure anything.

    --Bob

    |||Thanks for the reply Bob.

    So I am in SQL Server Management Studio, I have double clicked on the model and gone to Model Item Security. But, I cannot see where to set up a Security Filter? Also, when I seach on SQL Server 2005 BOL for "Security Filter" it finds nothing.

    |||Hi, can someone please help me with this ... please. People keep talking about Security Filter Scripts but I cannot find them anywhere ...|||Ummm, well can someone then please just tell me if this is a difficult question? I have seen a few other posts on the same question and the answer is never posted. Can someone at MSFT please just put me out of my misery and tell me either how to use this facility or, even better, refer me to the associated documentation or, not so good, that the feature is a figment of our collective imaginations. :)|||SecurityFilters is a collection property of a model entity. You "turn on" security filters by adding at least one filter attribute to this collection (i.e. if this collection is empty, security filters are "off" and all users with permission to the entity will be able to see all rows). Each filter in the collection defines a set of rows to which a user or group may be granted access. You can grant access to a specific user or group by giving them permission to see the filter attribute using Model Item Security. Users will have access to the UNION of all rows exposed by the security filters for which they have permission. Note 1: Filter attributes are typically used only for security filters, so the Hidden property is usually set to true. Note 2: Model entities also have a DefaultSecurityFilter property which can be used to grant access to some set of rows for users that do not have access to any of the filter attributes in the SecurityFilters collection.|||I am afraid this is getting very frustrating for me. Your answer here sounds very nice Bob - but it does not tell me how to do it. Also if I search google and microsoft for SecurityFilters or look for books I find no further help. I have a book on Report Services 2000, but obviously it does not cover of Report Models (a 2005 feature).

    I am using v8.0.50215.44 of Visual Studio 2005. And I am using v9.00.1187.00 of Microsoft SQL Server Management Studio. Maybe these versions are too old?

    If I open up the model designer and click on a model entity to see it's properties, then where do I add in collection properties for the model entity? Especially, how can I say it is a filter attribute? I can see no such properties.

    TIA|||I'm sorry this has been frustrating. Let me try to fill in some of the gaps here.
    SQL 2005 documentation ("SQL Books Online") is not available on the web yet. It sounds like you have the July CTP build installed; I'm not sure what state the documentation was in back then. Even if you can find the SecurityFilters property, it may have just been stub docs at that point.
    If you want, you can download the September CTP docs here . RTM bits (including docs) are now available to MSDN subscribers, and will be publicly available after the launch next week.
    SecurityFilters is a property on a model entity. You should see it near the end of the list in the property grid in Model Designer. Like several other model entity properties (e.g. IdentifyingAttributes, DefaultDetailAttributes, SortAttributes), it contains a set of references to model attributes you have previously defined. The only constraint on this particular collection is that all attributes referenced by it must have DataType=Boolean and IsFilter=True. The easiest way to create such an attribute is to select the entity on which it will be defined, right-click on an empty area of the attribute list, and choose New->Filter.
    Hopefully this is enough to help you get started.|||Many thanks Bob! Yes, the problem has been that I have had the July CTP build. That info looks perfect to get me started - I appreciate your help.

    I'll go get the Septmeber CTP build and doco now and work from there.

    I'm looking forward to the release date - I am registered for the one day launch here in NZ - should be grand! :)|||Current books online still has very few things to say about secufity filters on report models. Does anyone know of any sites or articles that would greatly explain how to do this?|||

    Hi Bob,

    Your article on http://msdn2.microsoft.com/en-us/library/ms365343.aspx is very helpful, but when I use SQL Server Management Studio to set Model Item Security for differnt security filters, it seems "Permissions" property surpass "Model Item Security" property.

    For example, in "Permissions" property of the model, if I checked "Use these roles for each group or user account" without setting any user or group, no matter what users I added to "Model Item Security" with "Secure individual model items independently for this model" checked, NO one user can see the model on report manager and report builder;

    in above situation, if I added "user1" and gave role such as "Browser" role to "user1" in "Permissions" property, if I checked "Secure individual model items independently for this model" in "Model Item Security" property, even I did NOT grant "user1" to root model and any entities under the model, the "user1" is able to access the model and all entities in report builder.

    My question is on the same report model, how to set "AdminFilter" (empty security filter) for administrator permissions and set "GeneralFilter" (filtered on UserID) for general user based on their UserID?

    I posted my issue on http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1905805&SiteID=17, I attach my post here:

    "

    I read the following on article http://msdn2.microsoft.com/en-us/library/ms365343.aspx:

    "Security filters are always applied, even for users who have Content Manager or Administrator permissions to the model. To allow administrators or other users to see all rows of an entity on which row-level security is defined, you can create an empty security filter (which always returns True) and then use the filter to grant those users access to all the rows."

    So I defined 2 filters "GeneralFilter" and "AdminFilter" for "Staff" entity for my report model "SSRSModel", I expect after I deployed the report model, the administrator users use report builder to build reports with all rows available, and the non-admin users can only see rows based on their UserID.

    I can only get one result at a time but not both:

    either the rows are filtered or not filtered at all, no matter how I set the "SecurityFilter" for the entity: I tried setting both "AdminFilter" and "GeneralFilter" for SecurityFilter at the same time, combination of "DefaultSecurityFilter" and "SecurityFilter", or one at a time.

    Anybody please please help me? Thank you!

    "

    Report server is using Custom Authentication.

    Thank you for your help.

    Temple1

    Filter a Model Table?

    I am using RS 2005. I am setting up a Model for use within Report Builder so our clients can write their own reports.

    A 2 part question, simple question first:

    1. How can I filter the records in a Model Entity? I thought this would be possible from a Perspective but it is not.

    2. How can I filter the records in a Model Entity based on the locale of the person who is logged on? And also based on their permissions?

    TIA

    You are correct that this is not possible with Perspectives. Note that Perspectives do not secure your data in any way.

    You can use Model Item Security and Security Filters to expose different records to different users. A security filter could include a formula filter condition that uses the GETUSERCULTURE function. However, this seems a little odd, since culture is trivial to “spoof”, so it doesn’t really secure anything.

    --Bob

    |||Thanks for the reply Bob.

    So I am in SQL Server Management Studio, I have double clicked on the model and gone to Model Item Security. But, I cannot see where to set up a Security Filter? Also, when I seach on SQL Server 2005 BOL for "Security Filter" it finds nothing.|||Hi, can someone please help me with this ... please. People keep talking about Security Filter Scripts but I cannot find them anywhere ...|||Ummm, well can someone then please just tell me if this is a difficult question? I have seen a few other posts on the same question and the answer is never posted. Can someone at MSFT please just put me out of my misery and tell me either how to use this facility or, even better, refer me to the associated documentation or, not so good, that the feature is a figment of our collective imaginations. :)|||SecurityFilters is a collection property of a model entity. You "turn on" security filters by adding at least one filter attribute to this collection (i.e. if this collection is empty, security filters are "off" and all users with permission to the entity will be able to see all rows). Each filter in the collection defines a set of rows to which a user or group may be granted access. You can grant access to a specific user or group by giving them permission to see the filter attribute using Model Item Security. Users will have access to the UNION of all rows exposed by the security filters for which they have permission. Note 1: Filter attributes are typically used only for security filters, so the Hidden property is usually set to true. Note 2: Model entities also have a DefaultSecurityFilter property which can be used to grant access to some set of rows for users that do not have access to any of the filter attributes in the SecurityFilters collection.|||I am afraid this is getting very frustrating for me. Your answer here sounds very nice Bob - but it does not tell me how to do it. Also if I search google and microsoft for SecurityFilters or look for books I find no further help. I have a book on Report Services 2000, but obviously it does not cover of Report Models (a 2005 feature).

    I am using v8.0.50215.44 of Visual Studio 2005. And I am using v9.00.1187.00 of Microsoft SQL Server Management Studio. Maybe these versions are too old?

    If I open up the model designer and click on a model entity to see it's properties, then where do I add in collection properties for the model entity? Especially, how can I say it is a filter attribute? I can see no such properties.

    TIA|||I'm sorry this has been frustrating. Let me try to fill in some of the gaps here.
    SQL 2005 documentation ("SQL Books Online") is not available on the web yet. It sounds like you have the July CTP build installed; I'm not sure what state the documentation was in back then. Even if you can find the SecurityFilters property, it may have just been stub docs at that point.
    If you want, you can download the September CTP docs here . RTM bits (including docs) are now available to MSDN subscribers, and will be publicly available after the launch next week.
    SecurityFilters is a property on a model entity. You should see it near the end of the list in the property grid in Model Designer. Like several other model entity properties (e.g. IdentifyingAttributes, DefaultDetailAttributes, SortAttributes), it contains a set of references to model attributes you have previously defined. The only constraint on this particular collection is that all attributes referenced by it must have DataType=Boolean and IsFilter=True. The easiest way to create such an attribute is to select the entity on which it will be defined, right-click on an empty area of the attribute list, and choose New->Filter.
    Hopefully this is enough to help you get started.|||Many thanks Bob! Yes, the problem has been that I have had the July CTP build. That info looks perfect to get me started - I appreciate your help.

    I'll go get the Septmeber CTP build and doco now and work from there.

    I'm looking forward to the release date - I am registered for the one day launch here in NZ - should be grand! :)|||Current books online still has very few things to say about secufity filters on report models. Does anyone know of any sites or articles that would greatly explain how to do this?|||

    Hi Bob,

    Your article on http://msdn2.microsoft.com/en-us/library/ms365343.aspx is very helpful, but when I use SQL Server Management Studio to set Model Item Security for differnt security filters, it seems "Permissions" property surpass "Model Item Security" property.

    For example, in "Permissions" property of the model, if I checked "Use these roles for each group or user account" without setting any user or group, no matter what users I added to "Model Item Security" with "Secure individual model items independently for this model" checked, NO one user can see the model on report manager and report builder;

    in above situation, if I added "user1" and gave role such as "Browser" role to "user1" in "Permissions" property, if I checked "Secure individual model items independently for this model" in "Model Item Security" property, even I did NOT grant "user1" to root model and any entities under the model, the "user1" is able to access the model and all entities in report builder.

    My question is on the same report model, how to set "AdminFilter" (empty security filter) for administrator permissions and set "GeneralFilter" (filtered on UserID) for general user based on their UserID?

    I posted my issue on http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1905805&SiteID=17, I attach my post here:

    "

    I read the following on article http://msdn2.microsoft.com/en-us/library/ms365343.aspx:

    "Security filters are always applied, even for users who have Content Manager or Administrator permissions to the model. To allow administrators or other users to see all rows of an entity on which row-level security is defined, you can create an empty security filter (which always returns True) and then use the filter to grant those users access to all the rows."

    So I defined 2 filters "GeneralFilter" and "AdminFilter" for "Staff" entity for my report model "SSRSModel", I expect after I deployed the report model, the administrator users use report builder to build reports with all rows available, and the non-admin users can only see rows based on their UserID.

    I can only get one result at a time but not both:

    either the rows are filtered or not filtered at all, no matter how I set the "SecurityFilter" for the entity: I tried setting both "AdminFilter" and "GeneralFilter" for SecurityFilter at the same time, combination of "DefaultSecurityFilter" and "SecurityFilter", or one at a time.

    Anybody please please help me? Thank you!

    "

    Report server is using Custom Authentication.

    Thank you for your help.

    Temple1

    Monday, March 26, 2012

    Fill in page

    Hello,

    My current reports are too large for printing but good for viewing. Can I set some parameters to fill reports in single page by width?

    Thanks

    Are you asking if you can have a report dynamically shrink so it always fits on a single page? If so, the answer is no.

    You can set the page height or width in the Report Properties dialog box.

    Friday, March 23, 2012

    Fileshare Data Driven subscription - Setting up report manager fil

    I am trying set up a data driven subscription that will render reports as
    PDFs to specific folders in Report Manager. I have setup a fileshare to which
    I am pushing reports, but I am having trouble relating specific Report
    Manager folders to the fileshares and there is little documentation about
    this. Is there a simple way to push PDFs to Report Manager folders via
    fileshare subscriptions?
    Also, on a data driven subscription, I am setting up the table that will
    read the specifications for the data driven subscription. How do a refer to
    the PDF rendering method in the table - as "PDF" or " Adobe (PDF) file" or
    something else? Also, what is the bit I should use to increment the file if
    it already exists? The documentation on data driven subsciptions is really
    not adequate to answer these questions.Incidentally, this question relates to Reporting Services 2005
    "Mark" wrote:
    > I am trying set up a data driven subscription that will render reports as
    > PDFs to specific folders in Report Manager. I have setup a fileshare to which
    > I am pushing reports, but I am having trouble relating specific Report
    > Manager folders to the fileshares and there is little documentation about
    > this. Is there a simple way to push PDFs to Report Manager folders via
    > fileshare subscriptions?
    > Also, on a data driven subscription, I am setting up the table that will
    > read the specifications for the data driven subscription. How do a refer to
    > the PDF rendering method in the table - as "PDF" or " Adobe (PDF) file" or
    > something else? Also, what is the bit I should use to increment the file if
    > it already exists? The documentation on data driven subsciptions is really
    > not adequate to answer these questions.
    >|||Hi Mark,
    Not sure I understand third question, but you must provide a different
    FileName paramter to the DDS for each report. Whatever logic you want.
    Answer to second question is: PDF
    As to the first question - I don't think that is possible. DDS can
    output to fileshares, but the folders and files in those folders in RM
    are controlledby the RS catalog and not accessible outside RM.
    As a quick test, I uploaded a PDF file using RM and then searched the
    RS Server for the pdf and it was not found. (So RS must be storing it
    away somewhere on the server in a secured spot).
    Are you sure you really want to do that anyway? The folders may get a
    little crowded if you start storing PDF's there. You can, as another
    option, store data with the report by using Snapshots.
    If you do find a solution for stroing PDF's though, please post it!!
    As a workaround, maybe|||Matt - Regarding your last comment, can I arrange the snapshots for the
    reports into different folders? My understanding is that you can create a new
    snapshot under the history tab for each report, but you cannot move the
    history "snapshots" to other folders. Or can you?
    "Matt" wrote:
    > Hi Mark,
    > Not sure I understand third question, but you must provide a different
    > FileName paramter to the DDS for each report. Whatever logic you want.
    >
    > Answer to second question is: PDF
    > As to the first question - I don't think that is possible. DDS can
    > output to fileshares, but the folders and files in those folders in RM
    > are controlledby the RS catalog and not accessible outside RM.
    > As a quick test, I uploaded a PDF file using RM and then searched the
    > RS Server for the pdf and it was not found. (So RS must be storing it
    > away somewhere on the server in a secured spot).
    > Are you sure you really want to do that anyway? The folders may get a
    > little crowded if you start storing PDF's there. You can, as another
    > option, store data with the report by using Snapshots.
    > If you do find a solution for stroing PDF's though, please post it!!
    > As a workaround, maybe
    >

    Friday, March 9, 2012

    filegroup auto-growth - know when it happens?

    Hey guys,

    I'm running SQLServer 2000. I am in the process of looking over our current filegroups and providing reports based on file size increases.

    One thing I'd like to know is when (date and time) a filegroup last "auto-grew". Is there a way to know when this occurs?

    thanks,

    Jason

    SQL Profiler, Events, Database...

    Data File Auto Grow

    Data File Auto Shrink

    Log File Auto Grow

    Log File Auto Shrink

    |||

    Derek,

    Thanks for the info. I should have re-worded my question I think:

    Is there a way to know when the date/time a filegroup last auto-resized? Let's say it auto-resized last friday, is this timestamp stored somewhere? Profiler would tell me only if I was running it at the time of the resize.

    I'm trying to correlate the time of an error with the last time a large filegroup resized.

    thanks

    Jason

    |||No. In general if you do not trace database activity it is lost. SQL Server has a builtin error log but it collects exceptions.|||

    Thanks for the info. Appreciate the help.

    Jason

    Sunday, February 26, 2012

    File share delivery

    Hi All,
    I am new to SQL 2005 Reporting Services. I have done the reports and now I
    want to publish them to a folder in then local machine. I even tried that. I
    created a subscription and when it is to rum gives an error "Unable to write
    file <abc>, Report Server Configuration error, see log files for more
    details". I am not able to understand the problem. Can any one of you please
    help me what to do in this and get my problem sorted.
    ThanksRajeev,
    1. What does the log say? Did you look?
    2. Did you specify a UNC path to the folder?
    3. Did the user you set up for the subscription have rights to the folder?
    --
    Andy Potter
    blog: http://sqlreportingservices.spaces.live.com/
    "Rajeev" wrote:
    > Hi All,
    > I am new to SQL 2005 Reporting Services. I have done the reports and now I
    > want to publish them to a folder in then local machine. I even tried that. I
    > created a subscription and when it is to rum gives an error "Unable to write
    > file <abc>, Report Server Configuration error, see log files for more
    > details". I am not able to understand the problem. Can any one of you please
    > help me what to do in this and get my problem sorted.
    > Thanks|||Hi,
    I think Your folder which contains report files having Readonly. Check it
    out by opening Properties of folder and uncheck read only box
    "Rajeev" wrote:
    > Hi All,
    > I am new to SQL 2005 Reporting Services. I have done the reports and now I
    > want to publish them to a folder in then local machine. I even tried that. I
    > created a subscription and when it is to rum gives an error "Unable to write
    > file <abc>, Report Server Configuration error, see log files for more
    > details". I am not able to understand the problem. Can any one of you please
    > help me what to do in this and get my problem sorted.
    > Thanks

    file share

    hi
    i do not get any errors, but i do not see my reports in the shared folder.
    here is my configuraiton table
    title ext folder render username pwd write
    param1 param2
    19051, pdf, \\sqlrpt2\krbi ,NULL ,kr_net\pfuller, rewt, NULL, 19051 ,
    12/31/2005
    18629 ,pdf ,\\sqlrpt2\krbi ,NULL, kr_net\pfuller ,rewt , NULL , 18629 ,
    12/31/2005
    writemode is static at overwrite
    render is static at acrobati have some more informatino.
    here is the log message...
    "eportingServicesService!crypto!178c!02/01/2006-16:09:04:: e ERROR:
    DBUnProtectData failed: System.FormatException: Invalid character in a
    Base-64 string.
    at System.Convert.FromBase64String(String s)
    at
    Microsoft.ReportingServices.Diagnostics.DataProtection.DBUnprotectData(String
    data)
    ReportingServicesService!crypto!178c!02/01/2006-16:09:04:: i INFO: Current
    user: NT AUTHORITY\NETWORK SERVICE
    ReportingServicesService!notification!178c!02/01/2006-16:09:04:: e ERROR:
    Error occured processing notification. Invalid character in a Base-64
    string.
    ReportingServicesService!library!178c!02/01/2006-16:09:04:: Data Driven
    Notification for activation id ddbec942-54ac-4709-b7f9-3bc73952f662 was
    saved.
    ReportingServicesService!library!178c!02/01/2006-16:09:04:: Status: Invalid
    character in a Base-64 string.
    "
    "Pete Fuller" <pfuller@.kirbyrisk.com> wrote in message
    news:ekaFpY0JGHA.3144@.TK2MSFTNGP11.phx.gbl...
    > hi
    > i do not get any errors, but i do not see my reports in the shared folder.
    > here is my configuraiton table
    > title ext folder render username pwd write
    > param1 param2
    > 19051, pdf, \\sqlrpt2\krbi ,NULL ,kr_net\pfuller, rewt, NULL, 19051 ,
    > 12/31/2005
    > 18629 ,pdf ,\\sqlrpt2\krbi ,NULL, kr_net\pfuller ,rewt , NULL , 18629 ,
    > 12/31/2005
    > writemode is static at overwrite
    > render is static at acrobat
    >

    Friday, February 24, 2012

    File not found error when exporting

    I'm hoping someone else has had this problem and can help me.
    For some unknown reason all of a sudden the exporting of reports (to
    PDF, Excel) cause a "File cannot be found error". This started to
    happen last week after 12 months of error-free operation.
    I've tried deleting the reports and re-deploying them - no success.
    I would be most grateful someone could offer some insight.
    Many thanks in advance,
    SteveB.Does it happens from every workstation trying to retrieve the files ? Does
    it happens thru the web interface or thru webservices access ?
    Did you change IIS permissions or settings ?
    "stevebuy@.eircom.net" wrote:
    > I'm hoping someone else has had this problem and can help me.
    > For some unknown reason all of a sudden the exporting of reports (to
    > PDF, Excel) cause a "File cannot be found error". This started to
    > happen last week after 12 months of error-free operation.
    > I've tried deleting the reports and re-deploying them - no success.
    > I would be most grateful someone could offer some insight.
    > Many thanks in advance,
    > SteveB.
    >|||I've just cleared the temporary internet folder and the problem has
    gone away on the local machine. There is still a problem with PDF
    rendering subscriptions but I need to investigate it some more. Thanks
    for taking the time to reply.

    file is damaged and could not be repaired

    Hi
    I am exporting the r.s. reports to pdf fomat.I am viewing the report in
    Adobe Reader 7.0.I get the error as "file is damaged and could not be
    repaired" I am dumping the report bytes in browser like this
    Response.ContentType = "application/pdf"
    Response.BinaryWrite(objResults)
    Response.Flush()
    Any body has clue to this query.I was receiving this error, and after researching it, I found out I needed to
    load the latest Service Pack for Report Server. I believe the latest SP for
    Report Server is SP 2.
    "Aniruddha" wrote:
    > Hi
    > I am exporting the r.s. reports to pdf fomat.I am viewing the report in
    > Adobe Reader 7.0.I get the error as "file is damaged and could not be
    > repaired" I am dumping the report bytes in browser like this
    > Response.ContentType = "application/pdf"
    > Response.BinaryWrite(objResults)
    > Response.Flush()
    > Any body has clue to this query.