Skip to content


Subversion checkout URL

You can clone with
Download ZIP


StoredProcedures.cs not being generated as Sps are too big. #14

BexAnn opened this Issue · 0 comments

1 participant


I have a very large legacy database I am using and I wanted to use subsonic against the stored procedures.
Everytime I generated, my StoredProcedures.cs remained empty.
A colleague of mine has come across this problem before and found it is because the stored procedures are too big.

If you go to this page of the souce

and line 1745, if I run this query in my database I get the following error:

Msg 1540, Level 16, State 1, Line 1
Cannot sort a row of size 8098, which is greater than the allowable maximum of 8094.

If I remove the orderby from the statement it works.
Is it possible to remove the orderby or is this needed?
Or is there another way round it?


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.