Alguém saberia dizer o que tem de errado com este código ?
Tentei várias coisas mas não consegui descobrir o erro..
Pensei que pudesse ser os imports :
Imports System.IO
Imports System.Drawing
Imports System.Drawing.Image
Imports System.Drawing.Drawing2D
Mas não sei..
=====================================================================
Server Error in '/' Application.
--------------------------------------------------------------------------------
A generic error occurred in GDI+.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
Source Error:
Line 20: Img = Image.FromStream(FileUpload1.PostedFile.InputStream)
Line 21: Img = Redimensiona(Img, 1000, 270)
Line 22: Img.Save(Request.MapPath("~/images/produtos/img/") + Request.QueryString("Id") + ".jpeg", Imaging.ImageFormat.Jpeg)
Line 23: Img = Redimensiona(Img, 60, 60)
Line 24: Img.Save(Request.MapPath("~/images/produtos/tbn/") + Request.QueryString("Id") + ".jpeg", Imaging.ImageFormat.Jpeg)
=====================================================================
Erro Em Asp.net
Started By JuhMag, 19/01/2007, 11:56
7 replies to this topic
#1
Posted 19/01/2007, 11:56
#2
Posted 19/01/2007, 15:41
Boa Tarde,
Esse erro é no servidor. Quando aconteceu comigo, minha aplicação estava rodando perfeitamente no meu servidor local, e quando testava de maneira remota (servidor definitivo) apresentava esse erro.
Sugiro a você abrir uma ordem de serviço p/ o servidor de hospedagem p/ que eles possam tomar as medidas necessárias.
Abraços
Esse erro é no servidor. Quando aconteceu comigo, minha aplicação estava rodando perfeitamente no meu servidor local, e quando testava de maneira remota (servidor definitivo) apresentava esse erro.
Sugiro a você abrir uma ordem de serviço p/ o servidor de hospedagem p/ que eles possam tomar as medidas necessárias.
Abraços
Denis Ferrari
Gerente de Projetos
Vixtime Agência Digital
Gerente de Projetos
Vixtime Agência Digital
#3
Posted 05/11/2017, 14:42
Cialis Naranja Discount Nexium Online Order Doxycycline Online Australia viagra Achat Viagra Pfizer France
Cialis Och Alkohol generic viagra Cialis Osterreich Preis
Pediatric Dosage Amoxicillin Susp Bayer Levitra 10mg viagra prescription Comment Se Procurer Du Baclofene
Cialis Och Alkohol generic viagra Cialis Osterreich Preis
Pediatric Dosage Amoxicillin Susp Bayer Levitra 10mg viagra prescription Comment Se Procurer Du Baclofene
#4
Posted 10/11/2017, 15:35
Discounts! best skin care line 2017 Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included). READ MORE TAARE (Full Audio Song) / Guru Randhawa / T-SERIES360 Lace Frontal With Bundles 360 Lace Frontal Band With 3 Bundles Body Wave Brazilian Virgin Hair With 360 Lace Frontal Closure ( 155.00 $)Makeblock Robot LED Matrix Display mBot ( $9.03 )Fashion grid design women skirt elastic faldas ladies midi skirt sexy girls mini pleated skirts saias korea clothes ( 26.59 $)Pharmaceutical cosmetics and medicines at manufacturers ' prices with delivery in Russia in the online store creationLeTV Leeco Le 2 X620 4G Phablet-210.32 $Leagoo M5 3G Smartphone-88.68 $TS - GT01 AmpliTube iRig Guitar Adapter Rig Guitar Link Audio Interface System Pedal Converter Adapter Cable Jack for iPhone / iPad / iPod ( $4.20 )Casual color lace-up and color matching design men's athletic shoes ( 30.59 $)Idti svoim putyomOnline store Mobilfunk. To buy a smartphone, DVR, gaming console,optical sight, and more is now possible from the comfort of home.Teogo quality brand spring autumn women ultra light down 90% white duck down jacket coat ladies' hooded down parkas 18 colors ( 29.98 $)Plus size round neck bear head printed short sleeve men's t-shirt ( 20.29 $)Men's solid color turn-down collar long sleeve shirt ( 15.25 $)Digital USB Power Charger Voltage Current Tester ( $3.42 )
Discounts! best skin care products 2017
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE
McConnell: American's expect Obamacare repeal
Mongolian kinky curly virgin hair 3pcs mongolian afro kinky curly hair bundles curly weave human hair rosa queen hair products ( 94.00 $)
Lumintop Tool AAA CREE XP — G2 R5 Waterproof Mini LED Keychain Flashlight ( 110Lm 1 x AAA Battery ) 19.00$
скачать игру бателфилд 2 вьетнам
listen +and draw +the time
Golden Sterling Silver Mini Eye Necklace ( 115.00 $)
Genuine High Quality 8pcsset For Gilletts Fusion Proglide Power Real Men Face Razor Blades Shaver Beard Removal Shaving Blades ( 313.40 $)
Brazilian loose wave with closure brazilian virgin hair with closure 34bundles with closure loose wave virgin hair kylie jenner ( 46.21 $)
Vernee Mars 4G Phablet-258.34 $
battlefield hardline аккаунт
2016 New Fashion Women Evening Bags Party Clutch Bags Purses Female PU Sequined Hasp Envelop Bags Women Small Clutch Handbags ( 9.50 $)
Vintage crocodile pu leather women bag fashion metal logo small shoulder bag casual messenger bag ( 21.80 $)
резиновые сапоги кеддо женские купить интернет
1Pc Hunting Gun Caliber Rifle Scope Mount Quick Flip Spring Up Open Lens Cover Cap Eye Protect Objective Cap 14 Different Sizes ( 2.66 $)
Mink brazilian virgin hair body wave 3 bundles unprocessed human hair extensions annabelle hair 7a brazilian hair weave bundles ( 60.42 $)
Discounts! best skin care products 2017
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE
McConnell: American's expect Obamacare repeal
Mongolian kinky curly virgin hair 3pcs mongolian afro kinky curly hair bundles curly weave human hair rosa queen hair products ( 94.00 $)
Lumintop Tool AAA CREE XP — G2 R5 Waterproof Mini LED Keychain Flashlight ( 110Lm 1 x AAA Battery ) 19.00$
скачать игру бателфилд 2 вьетнам
listen +and draw +the time
Golden Sterling Silver Mini Eye Necklace ( 115.00 $)
Genuine High Quality 8pcsset For Gilletts Fusion Proglide Power Real Men Face Razor Blades Shaver Beard Removal Shaving Blades ( 313.40 $)
Brazilian loose wave with closure brazilian virgin hair with closure 34bundles with closure loose wave virgin hair kylie jenner ( 46.21 $)
Vernee Mars 4G Phablet-258.34 $
battlefield hardline аккаунт
2016 New Fashion Women Evening Bags Party Clutch Bags Purses Female PU Sequined Hasp Envelop Bags Women Small Clutch Handbags ( 9.50 $)
Vintage crocodile pu leather women bag fashion metal logo small shoulder bag casual messenger bag ( 21.80 $)
резиновые сапоги кеддо женские купить интернет
1Pc Hunting Gun Caliber Rifle Scope Mount Quick Flip Spring Up Open Lens Cover Cap Eye Protect Objective Cap 14 Different Sizes ( 2.66 $)
Mink brazilian virgin hair body wave 3 bundles unprocessed human hair extensions annabelle hair 7a brazilian hair weave bundles ( 60.42 $)
#5
Posted 16/11/2017, 23:50
Cephalexin Online U S Pharmacy Glyburide cheap cialis Propecia Tinnitus Finasteride Cialis Generico Online
A Partir De Amoxil Dove Comprare Viagra online pharmacy Nor Vibrax Comprar Cialis Farmaco Equivalente Bentyl Antispas With Free Shipping
A Partir De Amoxil Dove Comprare Viagra online pharmacy Nor Vibrax Comprar Cialis Farmaco Equivalente Bentyl Antispas With Free Shipping
#6
Posted 28/11/2017, 00:17
Cialis Basso Dosaggio Reviews For Canadian Prescriptipn Plus Buy Viagra Online At Lowest Price cialis Viagra Without Prescription Overnight
Kamagra 50 Mg Oral Jelly viagra Prix Cialis Soft Priligy Pas Cher Amoxicillin Physician Desk Reference
Prednisolone vardenafil cheap 5 mg price Prix Xenical Espagne
Kamagra 50 Mg Oral Jelly viagra Prix Cialis Soft Priligy Pas Cher Amoxicillin Physician Desk Reference
Prednisolone vardenafil cheap 5 mg price Prix Xenical Espagne
#7
Posted 28/11/2017, 13:39
Amoxicillin Cat Propecia Online Pharmacy Xenical cialis price Viagra Plus Online Cialis Viagra Vergleich Was Levitra 20mg
1 user(s) are reading this topic
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)