473,786 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SSRS error

18 New Member
i have a stored procedure with a cursor in it...and in the result set its going to produce two o/p tables


result:

col1 col2 col3 col4 col5
Edit false false 5555555555 NULL
New Record false NULL NULL NULL


column1 column2 column3 column4 column5
New Record 6B3 03 31 S01ECC60UNI
New Record 6B4 03 31 S01ECC60UNI
New Record 6B5 04 31 n S01ECC60UNI


when i used this Procedure in SSRS........... ..its producing an error like

Invalid length parameter passed to the SUBSTRING function.


but i was able to get result set in management studio with out errors............... .


n i used in my SP like


elect @WhereClause5 = @WhereClause5 + ' n.' +
(Reverse(substr ing(Reverse(Obj ectname), 0, charindex('.', Reverse(Objectn ame))) ) + ' , ') + ' b.' +
(Reverse(substr ing(Reverse(Obj ectname), 0, charindex('.', Reverse(Objectn ame))) )+ ' , ')
from dbo.basetable
where RuleID = @baseObject
Apr 16 '08 #1
3 1354
ck9663
2,878 Recognized Expert Specialist
I think it's because you're starting position on substring is zero.

-- CK
Apr 16 '08 #2
chinni0719
18 New Member
eveni tried from 1 i got same error
Apr 17 '08 #3
ck9663
2,878 Recognized Expert Specialist
Try putting your entire query in a string and display or output it in a text file. The objective is to get the actual query and run it.

-- CK
Apr 17 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2806
by: Max2006 | last post by:
Hi, I am developing a web application on windows XP. A page within my application needs to access to SSRS running on the same machine. Once the web application tries to consume the SSRS web services, I receive the following error: System.Web.Services.Protocols.SoapException: The permissions granted to user DEV1\ASPNET' are insufficient for performing this operation. --->...
0
1701
by: Wes Groleau | last post by:
Is there a reasonably simple way to dump an SSRS report into Excel format automatically at a scheduled time without using Report Manager/Report Server? Creating the report was easy, but we seem to be having security trouble with the server. SSIS is also working OK -- it loads all the data this report comes from.
0
1246
by: jobs | last post by:
Hi. I've got an asp.net website with ssrs reportviewer. The site works great. If I compile the site as follows: aspnet_compiler -f -u -v the reportviewer stops does not work and gives me this error:
0
6096
by: jobs | last post by:
Re: SSRS report viewer Execution ' ' cannot be found (rsExecutionNotFound) Reserved.ReportViewerWebControl.axd Every now and then, my users get this error while in the Reportviewer. Usually, they have to close the window where the report was rendered and pull it open again. Attempting to open the report again does not work. What is this?
1
5124
by: Jason1983 | last post by:
I have SSRS deployed on a machine. My problem is whenever I create a new SSRS report project in Visual Studio .NET, I have to change the "TargetServerURL" name in the project properties to reflect the new URL. So I was wondering if there is a setting in the Visual Studio .NET environment that would allow me to do that change once and for all, so that any new project will automatically have the TargetServerURL that is...
0
1883
by: Aswanth | last post by:
I'm Working with Asp.Net with C#.. & I'm Generating Reports in SSRS-2005.. Till Now I'm Generating Reports in SSRS-2005 with Stored Procedure.. in Which I'm Generating Reports for One Particular User Details(ie I wrote Stored Procedure for Getting One Users Details).. Now I Want to Generate the Reports for Different Users DYNAMICALLY (Here, I wrote another Stored Procedure which contains UsersID's as Input...
0
1323
by: Aswanth | last post by:
I'm Using Asp.Net with C# & SSRS 2005 for Generating Reports.. I'm Having HUGE Data in Text Log File.. I want to Get this Data from this Log File & to Generate REPORTS in SSRS 2005.. Please give me the Suugestions for Doing this.. Thank You..
0
1902
by: abidthayyil | last post by:
Hello, I was working on SSRS 2005 as part of SQL Server 2005 Express Edition with Advanced Services Sp1. I successfully developed a custom reporting application. It was working fine. Then I installed SQL Server 2008 on the machine. Corresponding changes in the database connection string, data source specification etc have been made. Now the application fails to display the report, showing "An error occurred during rendering of...
0
2114
by: mbewers1 | last post by:
Is there a way in which I can re-direct an unauthorised user who tries to view a report in SQL Server Reporting Services to show a custom error message rather than show the unfriendly SSRS error message that appears? If I created a report and set a 'Jump To Report' variable, then this would always jump to the error message if the user clicked on a link to jump to another page, which wouldn't be what we want, would it? Any help/ideas...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.