all groups > sql server reporting services > august 2006 >
You're in the

sql server reporting services

group:

Connection String Length error


Connection String Length error <Jon Meyer>
8/16/2006 11:36:59 AM
sql server reporting services:
Does anyone know if there is a limit to the length a connection string can
be? Or if there is a configuration setting that I am missing. We have a
XML doc which contains the connection strings for multiple database which we
pass to our custom data extension which then figures out which database to
connect to based on other parameters which are passed in. The error we are
getting is that the connection string cannot be > than 1024 characters. Any
help would be appreciated.

-Jon

Re: Connection String Length error <Jon Meyer>
8/16/2006 1:41:33 PM
I have tried passing in a connection string which is less than 1024
characters and the problem is resolved. There is another thing I have
learned. We have an application which programatically adds a subscription
to the server. When a subscription is added in this manner the reports work
as expected. However, if I try to run the report from the report manager
via the intranet the report fails as described below. I not sure if this
information is of any help. As a further check I'll run some diff tools
against what I'm passing in. Maybe there is a difference I cannot see by
looking at the text.

-Jon


[quoted text, click to view]

Re: Connection String Length error Patrice
8/16/2006 6:14:45 PM
Don't know but you could stuff a simple connection string with spaces to see
if it wokrs at 1023 and fails at 1025 for example...

Is such as length expected ? Heve you checked what the connection string
actually contains (especially white spaces ?) Looks really huge...
--

Patrice

<Jon Meyer> a écrit dans le message de news:
eqWjRnUwGHA.4700@TK2MSFTNGP03.phx.gbl...
[quoted text, click to view]

Re: Connection String Length error Patrice
8/17/2006 12:00:00 AM
Really strange. 1024 is more than 10 lines of 80 characters which look like
really huge for a connection string... My guess would be that you have
indenting or something similar in your XML file that causes white spaces to
be added...

--
Patrice

<Jon Meyer> a écrit dans le message de news:
e2sL%23sVwGHA.5044@TK2MSFTNGP05.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button