Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:214732
More Search Options
RSS Available
Matching Posts
A generic error occurred in GDI+
Uploading and resizing an image... works great on local dev box. Fails on host with the exception: A generic error occurred in GDI+. In my ftp client, Filezilla, I set the directory permissions to "777" for the directory the image is being uploaded to. Which should be enough to allow .NET to save files to the directory right? Here's the code: 1 // save file 2 var posted = Request.Files[ "Photo" ]; 3 if (posted.ContentLength > 0) 4 { 5 // check if it is a jpg 6 if (Path
Posted to
System.Drawing/GDI+
(Forum)
by
ChadThiele
on 2/4/2009
Re: validateRequest appears to be kicking in in MVC RC1 despite settings
In case the answer wasn't clear... I had the same issue, resolved here: http://forums.asp.net/t/1377500.aspx
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 1/30/2009
Re: A potentially dangerous request...
I haven't had a chance to update my code yet, but I didn't know about that action filter. I have no doubts that will fix my issue. In fact, I believe this is a better way than I was attempting anyway... as it's very granular down to the specific action I want to allow the html to pass for. Thank you very much.
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 1/29/2009
A potentially dangerous request...
This cropped up for me after upgrading to RC. I get the following error when trying to submit a form that has a textarea converted to a WYSIWYG edit with TinyMCE. "Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 1/29/2009
Re: Strongly Typed Views - IPagedList?
Nope... the problem was I'mma dumbarse and didn't update the web.config in that views folder of this project... derp. Thanks
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 1/29/2009
Re: Strongly Typed Views - IPagedList?
I think I tried that... I'll give it another go when I get back to my dev computer. It worked fine, exactly as written, when used in the code-behind. Perhaps it's something to do with the timing of the import statement? Perhaps the import doesn't happen before the inherits portion runs, thus not being able to find the IPagedList (which is not standard in ASP.NET MVC). Thanks for the response.
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 1/28/2009
Strongly Typed Views - IPagedList?
Trying to strongly type my view like so: <%@ Page Language= "C#" masterpagefile= "~/Views/Shared/Site.Master" Inherits= "System.Web.Mvc.ViewPage<IPagedList<ProjNameSpace.Models.Ad>>" %> Notice the IPagedList... I import the namespace like so: <%@ import namespace = "MvcPaging" %> But it throws this error: Parser Error Message: Could not load type 'System.Web.Mvc.ViewPage<IPagedList<ProjNameSpace.Models.Ad>>' . Source
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 1/28/2009
URL Routing - Zones?
Don't know how to word this, so I'll describe what I'm trying to accomplish. I'm building a local classifieds sort of site. Very specific to my locale. A url may look like this: www.localClassifieds.com/Ad/Show/1. The route: "{controller}/{action}/{id}" handles this well. Now, I want to expand the site to handle other locales. I was thinking about ways to route this. What would you recommend? 1) www.localclassifieds.com/LOCALE/Ad/Show/1 I'm not sure how to access the
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 12/15/2008
Re: Problems with Strongly Typed ViewData in Preview 3
Oh one more... Is there a limit on how many parameters can be passed to a Html.ActionLink<Controller> method? Here's what I'm trying, (x is the ViewData.Model data) <%=Html.ActionLink<Controller>(c => c.ListByParameters(x.P1, x.P2, x.P3, x.P4), x.P1) %> There is a route defined as: routes.MapRoute( "ListByParamters", "List/{p1}/{p2}/{p3}/{p4}", new { controller="Controller", action="ListByParameters", p1="", p2=""
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 6/2/2008
Re: Problems with Strongly Typed ViewData in Preview 3
Derp... I didn't catch that part about the .Model. Thanks.
Posted to
ASP.NET MVC
(Forum)
by
ChadThiele
on 6/2/2008
Page 1 of 28 (274 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online