Click here to Skip to main content
14,392,645 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 20:13
professionalJörgen Andersson4-Dec-19 20:13 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
Jacquers4-Dec-19 19:02
MemberJacquers4-Dec-19 19:02 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
GuyThiebaut4-Dec-19 22:24
professionalGuyThiebaut4-Dec-19 22:24 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
ZurdoDev5-Dec-19 3:27
professionalZurdoDev5-Dec-19 3:27 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
0x01AA5-Dec-19 3:30
professional0x01AA5-Dec-19 3:30 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
ZurdoDev5-Dec-19 3:31
professionalZurdoDev5-Dec-19 3:31 
GeneralRe: The lounge rules " (political, climate, religious or whatever) will result in your account being removed." Pin
BillWoodruff5-Dec-19 18:13
mveBillWoodruff5-Dec-19 18:13 
GeneralFun little not-problem... Pin
Sander Rossel4-Dec-19 6:48
professionalSander Rossel4-Dec-19 6: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 6:56
mveF-ES Sitecore4-Dec-19 6:56 
GeneralRe: Fun little not-problem... Pin
Sander Rossel4-Dec-19 23:04
professionalSander Rossel4-Dec-19 23:04 
GeneralRe: Fun little not-problem... Pin
RickZeeland4-Dec-19 7:14
communityengineerRickZeeland4-Dec-19 7:14 
GeneralI was sent this, and... Pin
OriginalGriff4-Dec-19 5:52
mveOriginalGriff4-Dec-19 5:52 
PraiseRe: I was sent this, and... Pin
lopatir4-Dec-19 5:55
Memberlopatir4-Dec-19 5:55 
GeneralRe: I was sent this, and... Pin
Mike Hankey4-Dec-19 6:39
professionalMike Hankey4-Dec-19 6:39 
GeneralRe: I was sent this, and... Pin
Rajesh R Subramanian4-Dec-19 15:38
professionalRajesh R Subramanian4-Dec-19 15:38 
GeneralRe: I was sent this, and... Pin
Daniel Pfeffer4-Dec-19 21:59
professionalDaniel Pfeffer4-Dec-19 21:59 
GeneralRe: I was sent this, and... Pin
Rajesh R Subramanian4-Dec-19 22:32
professionalRajesh R Subramanian4-Dec-19 22:32 
GeneralRe: I was sent this, and... Pin
Nelek5-Dec-19 13:11
protectorNelek5-Dec-19 13:11 
GeneralRe: I was sent this, and... Pin
Rajesh R Subramanian5-Dec-19 13:16
professionalRajesh R Subramanian5-Dec-19 13:16 
GeneralRe: I was sent this, and... Pin
Nelek5-Dec-19 23:34
protectorNelek5-Dec-19 23:34 
GeneralRe: I was sent this, and... Pin
Rajesh R Subramanian8-Dec-19 3:10
professionalRajesh R Subramanian8-Dec-19 3:10 
GeneralRe: I was sent this, and... Pin
Member 79891224-Dec-19 23:23
MemberMember 79891224-Dec-19 23:23 
GeneralRe: I was sent this, and... Pin
ZurdoDev5-Dec-19 3:29
professionalZurdoDev5-Dec-19 3:29 
GeneralThought of the Day Pin
OriginalGriff4-Dec-19 5:44
mveOriginalGriff4-Dec-19 5:44 
GeneralRe: Thought of the Day Pin
DRHuff4-Dec-19 5:53
MemberDRHuff4-Dec-19 5: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.