Jump to content
Xtreme .Net Talk

sagey

Members
  • Posts

    3
  • Joined

  • Last visited

Personal Information

  • Occupation
    systems developer
  • .NET Preferred Language
    c#

sagey's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I'm writing an image conversion web service. the idea is that the client can either: A) send up an image to be converted to a different format and then sent back B) request an image held on the webservies server, which is then sent down to the client in the requested format. Both of these functionality work, but not for big files. If i try A) with a 16.5mb tif then i get the following exception code:-------------------------------------------------------------------------------- 'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded. 'BBWSC': Loaded 'C:\DEV\BBWSC\BBWSC\bin\Debug\BBWSC.exe', Symbols loaded. 'BBWSC.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded. 'BBWSC.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No symbols loaded. 'BBWSC.exe': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded. 'BBWSC.exe': Loaded 'c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll', No symbols loaded. 'BBWSC.exe': Loaded 'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll', No symbols loaded. 'BBWSC.exe': Loaded 'c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll', No symbols loaded. 'BBWSC.exe': Loaded 'p85zc4aj', No symbols loaded. An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll Additional information: System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. ---> System.Web.HttpException: Maximum request length exceeded. at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.get_InputStream() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) The program '[3128] BBWSC.exe' has exited with code 0 (0x0). -------------------------------------------------------------------------------- I've done a quick google and one suggestion i've seen is to alter the request limit in the web service. but i'm not sure what to change it to?
  2. does anyone know of any good managed directx audio tutorials for c#. I thought it would be an interesting excercise to try and write a simple 8 track recording program that would allow simultaneous playback and record
  3. i'm trying to draw crosshairs that follow the mouse around the screen. The following code works. but not quite, it draws a new crosshair for every mouse move, but doesn't remove the old one, so i end up with a screen full of vertical and horizontal lines. how do i remove the last lines drawn on every mouse move? public void MyMouseMove( Object sender, MouseEventArgs e ) { Pen blackPen = new Pen(Color.FromArgb(128,0,0,255), 1); Graphics g = SelectionRectangle.ActiveForm.CreateGraphics(); // Create coordinates of points that define line. float formLeft = this.Left; float formTop = this.Top ; float formRight = this.Right ; float formBottom = this.Bottom ; mouseX = e.X ; mouseY = e.Y ; // Draw line to screen. g.DrawLine(blackPen,0,mouseY,mouseX,mouseY ); g.DrawLine(blackPen, mouseX, 0, mouseX,mouseY); g.DrawLine(blackPen, formRight, mouseY, mouseX, mouseY); g.DrawLine(blackPen, mouseX, formBottom,mouseX, mouseY);
×
×
  • Create New...