Print Page | Close Window

Sending large files to DB

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3270
Printed Date: 23-Apr-2024 at 4:16am


Topic: Sending large files to DB
Posted By: macgajos
Subject: Sending large files to DB
Date Posted: 16-Feb-2012 at 10:10am
Hi,
when I was trying to save large chunk of data to db from silverlight app (one image > 5M or several smaller, but with total size exceeding that value) I got an exception: The remote server returned an exception: NotFound.
As i understand it's a generic reply. I'm using very default with basic ServiceVirtualPathProvider with no silverlight app config and following web.config:
<objectServer>
      <clientSettings isDistributed="false" />
      <serverSettings allowAnonymousLogin="false" loginManagerRequired="true"/>
    </objectServer>

So here comes the questions:
/1/ is there any full silverlight sample with config other than standard one?
/2/ How can i get more details about this error?

Thx in advance




Replies:
Posted By: DenisK
Date Posted: 16-Feb-2012 at 8:02pm
Hi macgajos,

1. Yes we do. Here's a section where you can learn about different configuration as well as download some samples.  http://drc.ideablade.com/xwiki/bin/view/Documentation/code-samples-configure-deploy - http://drc.ideablade.com/xwiki/bin/view/Documentation/code-samples-configure-deploy .

And here's a sample where the config is modified to support Push Notification.  http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-push-notification - http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-push-notification

Here,  http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-configuration-files - http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-configuration-files , you can download various samples of config files (Note: full code sample is not available in this section).

2. Try drilling into the InnerException and see if you can get more info. The DebugLog.xml generated by DevForce is worth taking a look as well.

Here's a section on how to debug your DevForce app.  http://drc.ideablade.com/xwiki/bin/view/Documentation/debug - http://drc.ideablade.com/xwiki/bin/view/Documentation/debug

Hope this helps.


Posted By: macgajos
Date Posted: 17-Feb-2012 at 7:45am
Hi, thx 4 help.
It turned out the only thing to be done was to insert that into web.config:

<system.web>
    <compilation debug="true" targetFramework="4.0" />
      <httpRuntime maxRequestLength="2147483647"/>
  </system.web>





Print Page | Close Window