Click here to Skip to main content
15,888,351 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: anybody please help in asp.net Pin
Sandeep Mewara11-Jun-12 23:20
mveSandeep Mewara11-Jun-12 23:20 
GeneralRe: anybody please help in asp.net Pin
Rahul Rajat Singh12-Jun-12 2:15
professionalRahul Rajat Singh12-Jun-12 2:15 
AnswerRe: anybody please help in asp.net Pin
Rahul Rajat Singh12-Jun-12 19:10
professionalRahul Rajat Singh12-Jun-12 19:10 
GeneralRe: anybody please help in asp.net Pin
AshishChaudha30-Jun-12 8:10
AshishChaudha30-Jun-12 8:10 
QuestionThe namespace attribute cannot have empty string(WebService) Pin
vinayh11-Jun-12 22:59
vinayh11-Jun-12 22:59 
AnswerRe: The namespace attribute cannot have empty string(WebService) Pin
Abhinav S11-Jun-12 23:21
Abhinav S11-Jun-12 23:21 
GeneralRe: The namespace attribute cannot have empty string(WebService) Pin
vinayh12-Jun-12 0:10
vinayh12-Jun-12 0:10 
Questionintermittent issues with visual studio 2010 when calling a web service Pin
zied_jouini11-Jun-12 12:45
zied_jouini11-Jun-12 12:45 
SALAM all. im doing a RESTful web service with ASP.net, and i have a problem when invoking few of web service that i've created. here is the architechture of my solution: BLL ==> i put in it my functions like this:
C#
public static List<transaction> getTransaction(string ID)
 {
     var query = from v in SMARTDBEntities.Instance.transactions
                 where v.compteID == ID
                 select v;
     if (query.Count() == 0)
       {
         return null;
       }
     else
       {
         return query.ToList();
       }

 }

DAL ==> I used generation item to create model.edmx Entity ==> i used POCO generation code to generate entitys from data base.

and in my service.cs classe i put on it my web services like this:
C#
  [OperationContract]
[WebInvoke(Method = "GET",
       ResponseFormat = WebMessageFormat.Json,
       UriTemplate = "Service/transactions/{cptID}")]
public List<transaction> getTransactions(string cptID)
{
    return detailCompte.getTransaction(cptID);
}

and to make the response object serializable i add in the poco.context.cs Constructors
C#
this.ContextOptions.ProxyCreationEnabled = false;


Now when i want to call my web service from my browser, an intermittent error appear. sometimes it work and displays for me the list of transaction and sometimes (most of time) it doesn't work, and displays to my an error:
VB
Error 324 (net :: ERR_EMPTY_RESPONSE): The server terminated the connection without sending data.


I'm working with vista pack1
have you any idea for the way to fix this problem. thank youuuuu
zied JOUINI

QuestionReaching a button outside an updatepanel. Pin
Mark Vloerjans11-Jun-12 6:38
Mark Vloerjans11-Jun-12 6:38 
AnswerRe: Reaching a button outside an updatepanel. Pin
Sandeep Mewara11-Jun-12 8:50
mveSandeep Mewara11-Jun-12 8:50 
QuestionHow to change the checked attribute of dynamically created html radio button in jquery? Pin
javedhakim11-Jun-12 1:23
javedhakim11-Jun-12 1:23 
AnswerRe: How to change the checked attribute of dynamically created html radio button in jquery? Pin
ashjassi17-Aug-12 3:10
ashjassi17-Aug-12 3:10 
GeneralHow to call java script function after getting result from the server Pin
progahmed10-Jun-12 23:54
progahmed10-Jun-12 23:54 
AnswerRe: How to call java script function after getting result from the server Pin
Sandeep Mewara11-Jun-12 0:01
mveSandeep Mewara11-Jun-12 0:01 
GeneralRe: How to call java script function after getting result from the server Pin
progahmed11-Jun-12 2:00
progahmed11-Jun-12 2:00 
GeneralRe: How to call java script function after getting result from the server Pin
Joshua Omundson11-Jun-12 5:49
Joshua Omundson11-Jun-12 5:49 
QuestionASP.NET Report Viewer Doesn't preview Any Thing Although It work Locally ! Pin
ma.amer10-Jun-12 22:51
ma.amer10-Jun-12 22:51 
GeneralRe: ASP.NET Report Viewer Doesn't preview Any Thing Although It work Locally ! Pin
k.Prathap12-Jun-12 1:34
professionalk.Prathap12-Jun-12 1:34 
Questionasp.net Pin
cdinz10-Jun-12 21:49
cdinz10-Jun-12 21:49 
AnswerRe: asp.net Pin
Richard MacCutchan10-Jun-12 22:13
mveRichard MacCutchan10-Jun-12 22:13 
AnswerRe: asp.net Pin
Rahul Rajat Singh12-Jun-12 2:16
professionalRahul Rajat Singh12-Jun-12 2:16 
Questionweb form with linq to sql Pin
sc steinhayse10-Jun-12 14:03
sc steinhayse10-Jun-12 14:03 
QuestionSearch/filtering generic control using ASP.Net MVC, which feature will help me to pass dynamically entity objects. Pin
RahulAJoshi10-Jun-12 5:53
RahulAJoshi10-Jun-12 5:53 
SuggestionBuilding Virtual Data Warehouse With One Extra Line Of Code Pin
Tonyglen8-Jun-12 6:59
Tonyglen8-Jun-12 6:59 
AnswerRe: Building Virtual Data Warehouse With One Extra Line Of Code Pin
Sandeep Mewara8-Jun-12 8:19
mveSandeep Mewara8-Jun-12 8:19 

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.