bad request error sending data

Mar 23, 2012 at 6:08 AM

hi,

i just installed the module iweb.codeplex.com to use webservice inside dotnetnuke, and i sould like to use this to send data from a win forms client.

seems to works fine, but if in a web service method call i send more than 38 kbytes in a parameter i obtain a error bad request error from the server.

how can fix this problem?

luca

Coordinator
Mar 23, 2012 at 6:14 AM

I do not know a way around that problem.

Mar 23, 2012 at 12:01 PM

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 23/03/2012 11.54.58

Event time (UTC): 23/03/2012 10.54.58

Event ID: f2c26351176c427abb68c7b6e51c23f3

Event sequence: 44

Event occurrence: 1

Event detail code: 0

 

Application information:

Application domain: /LM/W3SVC/1380535227/Root-39-129769736560458750

Trust level: Full

Application Virtual Path: /

Application Path: E:\Siti\[...]\

Machine name: SOLE

 

Process information:

Process ID: 5100

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE

 

Exception information:

Exception type: InvalidOperationException

Exception message: Request format is unrecognized for URL unexpectedly ending in '/$metadata'.

 

Request information:

Request URL: http://[...]/DesktopModules/IWeb/webservice.asmx/$metadata

Request path: /DesktopModules/IWeb/webservice.asmx/$metadata

User host address: 87.29.115.68

User:

Is authenticated: False

Authentication Type:

Thread account name: NT AUTHORITY\NETWORK SERVICE

 

Thread information:

Thread ID: 1

Thread account name: NT AUTHORITY\NETWORK SERVICE

Is impersonating: False

Stack trace: at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)

at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)

at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)

at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)

at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

 

Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.