Search:

Type: Posts; User: cengineer

Page 1 of 7 1 2 3 4

Search: Search took 0.05 seconds.

  1. VS 2010 after using httpwebrequest.automaticdecompression, readline timeouts

    I have a connection to a network stream and need to uncompress the data so I do this but the minute it tried to read from the stream, it stalls and eventually timeouts.

    Needless to say when I do...
  2. VS 2010 Re: system.messaging queue frozen while message.receive

    nevermind I just refreshed and saw the message was removed from the queue. Is this done automatically after a message.read/peek and if so is there a way to read the queue and only delete after...
  3. VS 2010 system.messaging queue frozen while message.receive

    This is the first time I have used this messaging library and used some example code to implement it. The first time I ran it it worked perfectly but I abruptly stopped the code since my parsing...
  4. VS 2010 networkstream connection fails & httpwebrequest connection not reading fast enough

    I am connecting to a data stream that pushes data continuously and when I tried to set up a network stream I just could not connect and kept getting the 'not found' error. I used the httpwebrequest...
  5. Replies
    1
    Views
    1,392

    VS 2010 Re: chinese encoding causing invalid xml

    Ok its resolved now. The input content was in ANSI format and it turns out I did not really have to do much, just remove all the attempts at converting.
  6. Replies
    1
    Views
    1,392

    VS 2010 chinese encoding causing invalid xml

    I am creating xml files that contain chinese posts and it seemed to be working but I started getting an error:

    This page contains the following errors:

    error on line 4165 at column 25: Input is...
  7. Replies
    0
    Views
    416

    VS 2010 streaming API saved content

    I have an application that connects to an open continuous stream from an API and captures all the data. What I am trying to do is save the content to xml files and snip it at a certain point based on...
  8. Replies
    0
    Views
    577

    VS 2010 tcpclient connection to stream API

    I am trying to setup a tcpclient networkstream connection to a certain API that will need to remain open while the program consumes (parses) the json data.

    The problem I am having is that at the...
  9. Replies
    6
    Views
    898

    VS 2010 Re: parsing xml posts

    I would have posted a sample but my question was more seeking to find a solution to the parsing issue where using the code above I was getting less than I expected. It has more to do at this point...
  10. Replies
    6
    Views
    898

    VS 2010 Re: parsing xml posts

    I get the xml from a stream and save it to files. The stream itself at times is missing some content or has badly formed xml...I cannot change this and have requested the source provider to rectify...
  11. Replies
    6
    Views
    898

    VS 2010 Re: parsing xml posts

    Yes, sorry if I wasn't clear about that. Yes I am looking for a way to deal with badly formed xml
  12. Replies
    6
    Views
    898

    VS 2010 parsing xml posts

    I am using the xmldocument (loadxml) and xmlPathNavigator to parse xml files I am compiling through a incoming stream. The first point of processing the files is to split the file into the different...
  13. Replies
    0
    Views
    1,864

    VS 2010 workflow examples in vb.net

    I have searched online and found some samples of workflow applications that cover the basic 'hello world' on a webform, but am looking for more advanced samples that cover full web applications using...
  14. Replies
    1
    Views
    589

    VS 2010 remove illegal xml characters

    I am retrieving string values from a table and then encode each term to make a httpwebrequest to an api. It works fine and the terms allow for foreign characters like japanese/arabic/chinese etc and...
  15. Replies
    1
    Views
    3,059

    VS 2010 remove illegal xml characters

    I am retrieving string values from a table and then encode each term to make a httpwebrequest to an api. It works fine and the terms allow for foreign characters like japanese/arabic/chinese etc and...
  16. Replies
    1
    Views
    775

    VS 2010 mapped drive access

    I am trying to run a visual studio 2010 app from a windows 2003 server machine that writes xml files to a folder stored on a remote windows 2008 server. I mapped the server drive and can access the...
  17. Replies
    2
    Views
    660

    VS 2010 Re: TaskFactory and datasets

    Thanks for the clarification. Gonna think of a practical soln and post back
  18. Replies
    2
    Views
    660

    VS 2010 TaskFactory and datasets

    I have a taskfactory application that generates new tasks where a task is running a project exe file that involves a lot of classes. Part of the task process involves declaring a dataset and adding a...
  19. Replies
    0
    Views
    239

    sql server query for report

    I am trying to design a reporting service and some of the queries are not correctly constructed.

    1 - select the top 50 terms that produce the most results for today:

    2 - select the top 50 terms...
  20. Replies
    1
    Views
    2,669

    VS 2010 Implement IReportServerCredentials error

    I took sample code to implement the IReportServerCredentials to send the login information to retrieve a report remotely but for some reason the implementation is error prone.




    Imports...
  21. Replies
    3
    Views
    570

    VS 2010 Re: program logic to speed up processing

    is the taskfactory implementation a safe way of running the program multiple times?
  22. Replies
    3
    Views
    570

    VS 2010 program logic to speed up processing

    I have setup an application to parse about 3000 files a day where each contains around 4000-5000 posts in xml format with like 100 fields. It involves a lot of cleanup and parsing but on average it...
  23. Replies
    3
    Views
    1,031

    VS 2008 Re: streamreader files get cut off

    thanks shaggy ... the data returned in one request varies in size and I have set a buffer with default size to capture this data as chunks. Then write these chunks to a file and when the file reaches...
  24. Replies
    3
    Views
    1,031

    VS 2008 streamreader files get cut off

    I am reading data from an API feed and saving the chunks into files. When the files reach 2 MB I start a new file and write to that file. What happens now is that an entry (<entry></entry>) can get...
  25. xmltextwriter formatting xml indentation

    I am creating xml docs using xmltextwriter ( by the way I was just introduced to xslt which I am now learning to adopt rather) and having problems getting the xml to indent correctly.

    Here is what...
  26. Replies
    0
    Views
    492

    xslt transformation with for each

    I just started to get the xsl to xml matching correct but I am not sure how to loop through each entry in the xml and get the entry values I need. my xsl template code


    ...
  27. Replies
    8
    Views
    2,678

    VS 2010 Re: Encoding and decoding xml

    httputility.htmldecode() and ...encode()
  28. Replies
    2
    Views
    4,314

    VS 2008 Re: Json.net parsing

    Thank you for your response.
  29. VS 2008 multithreading or creating project instances

    I have been trying to create good multithreading programs and it is not working well considering the use of global variables, local variables etc and thread safe controls. I have not found a good way...
  30. Replies
    2
    Views
    4,314

    VS 2008 Json.net parsing

    I am accessing the facebook api and using the json.net library (newtonsoft.json.net) I declare a Jobject to parse the content and look for the specific elements and get their values. Everything works...
  31. Thread: ftp upload

    by cengineer
    Replies
    2
    Views
    670

    VS 2008 Re: ftp upload

    thanks
  32. Thread: ftp upload

    by cengineer
    Replies
    2
    Views
    670

    VS 2008 ftp upload

    I am trying to upload files from a local folder to a ftp server folder which works fine when doing it with filezilla.
    I keep getting this error:







    '....ftppath =...
  33. VS 2008 Re: strip first 75 characters of string and maintain word structure

    Thanks stanav, worked well and stlaural, will add the additional checks
  34. VS 2008 [RESOLVED] strip first 75 characters of string and maintain word structure

    I am trying to strip the first 75 characters from various strings (sentences / phrases) and it seems right but I need to ensure that the no words are truncated in the process. Meaning that if the 75...
  35. VS 2008 Re: Cannot close stream until all bytes are written."

    Thanks for your response, I figured it out and changed my code a little;





    Dim writer As Stream = request.GetRequestStream()
    writer.Write(postBytes,...
  36. VS 2008 Cannot close stream until all bytes are written."

    I am sending a POST request to an API server and I have reused code where I have successfully done this before on other servers and for some reason, which I cannot figure out why, it's not working. I...
  37. VS 2008 httpwebresponse = request.getresponse freezes

    I tried using suggestions from other posts for this and still no resolution. When sending a POST request, at certain times it will just begin to freeze and stall. I set up my code as follows and now...
  38. Replies
    5
    Views
    1,395

    VS 2008 Re: XML cleanup with missing tags

    The data comes from an api response stream and I capture chunks because the data is too large to just readtoend(). Then I append the data to a stringbuilder and write to text files once it reaches a...
  39. Replies
    5
    Views
    1,395

    VS 2008 Re: XML cleanup with missing tags

    reply to techgnome
    The xml data is parsed unformatted from a site to text files, whereafter I take the data to form valid xml entries. When I tried using xmldocument.loadxml()
    and then get the...
  40. Replies
    5
    Views
    1,395

    VS 2008 XML cleanup with missing tags

    I am trying to format xml entries I have so that I can use the xmltextreader without getting errors. I added a default header and footer in the event I notice there is no opening or closing tags. I...
Results 1 to 40 of 260
Page 1 of 7 1 2 3 4



Click Here to Expand Forum to Full Width