Click here to Skip to main content
15,904,817 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
Jörgen Andersson4-Dec-19 19:13
professionalJörgen Andersson4-Dec-19 19:13 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
Jacquers4-Dec-19 18:02
Jacquers4-Dec-19 18:02 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
GuyThiebaut4-Dec-19 21:24
professionalGuyThiebaut4-Dec-19 21:24 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
ZurdoDev5-Dec-19 2:27
professionalZurdoDev5-Dec-19 2:27 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
User 110609795-Dec-19 2:30
User 110609795-Dec-19 2:30 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
ZurdoDev5-Dec-19 2:31
professionalZurdoDev5-Dec-19 2:31 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
BillWoodruff5-Dec-19 17:13
professionalBillWoodruff5-Dec-19 17:13 
GeneralFun little not-problem... Pin
Sander Rossel4-Dec-19 5:48
professionalSander Rossel4-Dec-19 5:48 
So I was just testing some software with a client.
First actual test we did and it should work.
Except, it didn't...
We have this file definition and the file should end with EN EZ or something like that (it's not an actual file, but people keep calling it that).
The client imports the file and everything seems fine, except that it doesn't process the contents.
Check out if we're missing something in the database.
Copy the file contents and paste them in Notepad++ and notice that it's cut halfway (because EN EZ was missing).
The total length of the contents was 65,535 or 2^16 - 1, which is no coincidence.
Check the max length of a .NET string, no problem there.
It's constructed using a StringBuilder, also no problem there.
It's converted to JSON, also no problem there.
It's send to an external service using HTTP, but also no problem there.
The database field of NVARCHAR(MAX) should also be able to have more characters, so also no problem there...

The problem was the SQL Server editor, which apparently can't show (and thus copy) more than 65,535 characters D'Oh! | :doh:
No problems there, move along... Blush | :O

The actual problem was that we had to check some checkbox in the importing application Laugh | :laugh:

GeneralRe: Fun little not-problem... Pin
F-ES Sitecore4-Dec-19 5:56
professionalF-ES Sitecore4-Dec-19 5:56 
GeneralRe: Fun little not-problem... Pin
Sander Rossel4-Dec-19 22:04
professionalSander Rossel4-Dec-19 22:04 
GeneralRe: Fun little not-problem... Pin
RickZeeland4-Dec-19 6:14
mveRickZeeland4-Dec-19 6:14 
GeneralI was sent this, and... Pin
OriginalGriff4-Dec-19 4:52
mveOriginalGriff4-Dec-19 4:52 
PraiseRe: I was sent this, and... Pin
lopatir4-Dec-19 4:55
lopatir4-Dec-19 4:55 
GeneralRe: I was sent this, and... Pin
Mike Hankey4-Dec-19 5:39
mveMike Hankey4-Dec-19 5:39 
GeneralRe: I was sent this, and... Pin
Rajesh R Subramanian4-Dec-19 14:38
professionalRajesh R Subramanian4-Dec-19 14:38 
GeneralRe: I was sent this, and... Pin
Daniel Pfeffer4-Dec-19 20:59
professionalDaniel Pfeffer4-Dec-19 20:59 
GeneralRe: I was sent this, and... Pin
Rajesh R Subramanian4-Dec-19 21:32
professionalRajesh R Subramanian4-Dec-19 21:32 
GeneralRe: I was sent this, and... Pin
Nelek5-Dec-19 12:11
protectorNelek5-Dec-19 12:11 
GeneralRe: I was sent this, and... Pin
Rajesh R Subramanian5-Dec-19 12:16
professionalRajesh R Subramanian5-Dec-19 12:16 
GeneralRe: I was sent this, and... Pin
Nelek5-Dec-19 22:34
protectorNelek5-Dec-19 22:34 
GeneralRe: I was sent this, and... Pin
Rajesh R Subramanian8-Dec-19 2:10
professionalRajesh R Subramanian8-Dec-19 2:10 
GeneralRe: I was sent this, and... Pin
kalberts4-Dec-19 22:23
kalberts4-Dec-19 22:23 
GeneralRe: I was sent this, and... Pin
ZurdoDev5-Dec-19 2:29
professionalZurdoDev5-Dec-19 2:29 
GeneralThought of the Day Pin
OriginalGriff4-Dec-19 4:44
mveOriginalGriff4-Dec-19 4:44 
GeneralRe: Thought of the Day Pin
DRHuff4-Dec-19 4:53
DRHuff4-Dec-19 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.