Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to solve error related to the PInvoke Stack Imbalance Pin
Richard MacCutchan20-Nov-14 2:32
mveRichard MacCutchan20-Nov-14 2:32 
QuestionC sharp design principle Pin
Sarita S19-Nov-14 19:08
Sarita S19-Nov-14 19:08 
AnswerRe: C sharp design principle Pin
Pete O'Hanlon19-Nov-14 21:09
mvePete O'Hanlon19-Nov-14 21:09 
GeneralRe: C sharp design principle Pin
Sarita S20-Nov-14 0:05
Sarita S20-Nov-14 0:05 
GeneralRe: C sharp design principle Pin
Pete O'Hanlon20-Nov-14 0:34
mvePete O'Hanlon20-Nov-14 0:34 
AnswerRe: C sharp design principle Pin
V.20-Nov-14 3:43
professionalV.20-Nov-14 3:43 
AnswerRe: C sharp design principle Pin
BillWoodruff20-Nov-14 4:21
professionalBillWoodruff20-Nov-14 4:21 
QuestionData at the root level is invalid. Line 1, position 1. Pin
ASPnoob19-Nov-14 4:05
ASPnoob19-Nov-14 4:05 
Hi all, I have a web service that used to work but stopped working when I migrated to a new computer. The new computer comes with Windows 8.1 and IIS Express. I made sure that I got everything I need by selecting every option under IIS.

I installed the same version of Visual studio (VS 2012) on the new machine and tried to run the same web app I had in the old machine. When I click a button which makes a call to my web service, nothing happens. I found out through Fidler2 that the problem was
"Data at the root level is invalid. Line 1, position 1."


I have searched online but none matched my situation. Basically all I'm trying to do is send text from a regular html page in the form of JSON to the web service. Then the web service will modify a text file on the server using the text it received. I know the code in the web service works because I called it directly in Visual Studio and it worked fine.

Please suggest a way to fix this problem, thanks in advance

modified 19-Nov-14 10:15am.

AnswerRe: Data at the root level is invalid. Line 1, position 1. Pin
PIEBALDconsult19-Nov-14 4:40
mvePIEBALDconsult19-Nov-14 4:40 
GeneralRe: Data at the root level is invalid. Line 1, position 1. Pin
ASPnoob19-Nov-14 5:17
ASPnoob19-Nov-14 5:17 
GeneralRe: Data at the root level is invalid. Line 1, position 1. Pin
Dave Kreskowiak19-Nov-14 5:55
mveDave Kreskowiak19-Nov-14 5:55 
GeneralRe: Data at the root level is invalid. Line 1, position 1. Pin
ASPnoob19-Nov-14 6:45
ASPnoob19-Nov-14 6:45 
GeneralRe: Data at the root level is invalid. Line 1, position 1. Pin
PIEBALDconsult19-Nov-14 5:56
mvePIEBALDconsult19-Nov-14 5:56 
GeneralRe: Data at the root level is invalid. Line 1, position 1. Pin
ASPnoob19-Nov-14 6:54
ASPnoob19-Nov-14 6:54 
GeneralMessage Closed Pin
19-Nov-14 2:27
Kalyan Chandrasekharan19-Nov-14 2:27 
GeneralRe: Please take up this survey for .Net BDD tools Pin
BillWoodruff19-Nov-14 3:31
professionalBillWoodruff19-Nov-14 3:31 
GeneralRe: Please take up this survey for .Net BDD tools Pin
Gerry Schmitz19-Nov-14 3:49
mveGerry Schmitz19-Nov-14 3:49 
QuestionWifi scan, SSID, Signalstrength Pin
Nikolaj jensen19-Nov-14 0:45
Nikolaj jensen19-Nov-14 0:45 
AnswerRe: Wifi scan, SSID, Signalstrength Pin
Nagy Vilmos19-Nov-14 3:36
professionalNagy Vilmos19-Nov-14 3:36 
Questionasp.net certification Pin
Member 1124574618-Nov-14 20:35
Member 1124574618-Nov-14 20:35 
AnswerRe: asp.net certification Pin
Richard MacCutchan18-Nov-14 21:20
mveRichard MacCutchan18-Nov-14 21:20 
AnswerRe: asp.net certification Pin
ZurdoDev19-Nov-14 5:26
professionalZurdoDev19-Nov-14 5:26 
Questionserial communication Pin
Henri Aghaei18-Nov-14 7:29
Henri Aghaei18-Nov-14 7:29 
AnswerRe: serial communication Pin
OriginalGriff18-Nov-14 8:01
mveOriginalGriff18-Nov-14 8:01 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 6:44
Henri Aghaei19-Nov-14 6:44 

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.