Last post Aug 22, 2013 10:19 PM by vstorpedo
Aug 21, 2013 04:48 PM|vstorpedo|LINK
I am trying to resize upload picture with both of these links code:
After they were incorporated into the site, the code works with some pictures but not with others. When the code is not working, the server does not give me any message, and not coding error is displayed. However, this is the message that I get with each
of the browsers tested:
1) With Internet Explorer:
Internet Explorer cannot display the webpage
What you can try:
Diagnose Connection Problems
This problem can be caused by a variety of issues, including:
•Internet connectivity has been lost.
•The website is temporarily unavailable.
•The Domain Name Server (DNS) is not reachable.
•The Domain Name Server (DNS) does not have a listing for the website's domain.
•There might be a typing error in the address.
•If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.
For offline users
You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds:
1.Click the Favorites button , click Feeds, and then click the feed you want to view.
To view recently visited webpages (might not work on all pages):
1.Press Alt, click File, and then click Work Offline.
2.Click the Favorites button , click History, and then click the page you want to view.
2) With Firefox
The connection was reset
The connection to the server was reset while the page was loading.
The site could be temporarily unavailable or too busy. Try again in a few
If you are unable to load any pages, check your computer's network
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
3) Google google chrome
This webpage is not available
The connection to localhost was interrupted.
Reload this webpage.
Press the reload button to resubmit the data needed to load the page.
Check your Internet connection.
Check any cables and reboot any routers, modems, or other network devices you may be using.
Allow Chrome to access the network in your firewall or antivirus settings.
If it is already listed as a program allowed to access the network, try removing it from the list and adding it again.
If you use a proxy server...
Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to the Chrome menu > Settings > Show advanced settings... > Change proxy settings... > LAN
Settings and deselect "Use a proxy server for your LAN".
Error code: ERR_CONNECTION_RESET
Do anybody here have an idea of what is going on and how to fix this problem? Have any of you experienced or received this message before? If so, what is going on and what should I do?
Aug 22, 2013 02:41 AM|smirnov|LINK
What is the current code which is not working?
In general, resizing is easy as
Bitmap source = new Bitmap(stream);
Bitmap target = new Bitmap(maxWidth, maxHeight);
Graphics g = Graphics.FromImage(target);
Rectangle r = new Rectangle(0, 0, maxWidth, maxHeight);
Aug 22, 2013 10:19 PM|vstorpedo|LINK
Well, thank you for trying, but unfortunaly is not related to what you are pointing out here, sorry. I solved the problem with the help from this link :
Thanks to all of you that read this post and to smirnov for trying. :=)