C
C#2y ago
morry329#

❔ response body is empty

I have this C# code https://pastebin.com/UEB4g6ip I wanted to read SQL table via this program, but it only gave me the following error:
http://localhost:8080

HTTP/1.0 404 not found
Connection: close

<Response body is empty>
http://localhost:8080

HTTP/1.0 404 not found
Connection: close

<Response body is empty>
` I know my SQL table is on port 3306 whilst my C# code points to port 8080. Does this trigger the 404 error? If not, could anyone kindly point me out some directions?
Pastebin
BigDatabaseServer_8080 - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
3 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
morry329#
morry329#OP2y ago
Hi, thank you so much for your response. I have tried DataReader, but my code is still displaying the same error over and over.
http://localhost:8080

HTTP/1.0 404 not found
Connection: close

<Response body is empty>
http://localhost:8080

HTTP/1.0 404 not found
Connection: close

<Response body is empty>
` I am sure the SQL side (DataReader, connection string and so on) is fine, I think I have problem with the Process method
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server