Solved

maximum request length error when deploying model

Posted on 2007-11-19
2
1,792 Views
Last Modified: 2012-05-05
Please bear with me as I am new to SQL reporting services.
I am testing SQL reporting to see if it meets our neads. I am trying to deploy a model and I receive the error I attached. I have increased the maximum request length in the machine.config file but i still receive the same error. Is that the correct place to change that parameter? Any help would be greatly appreciated. Thanks!
Larry
Error	1	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)	c:\documents and settings\administrator.pyrotek-cor\my documents\visual studio 2005\projects\labmex model\labmex model\Lab Mex.smdl	0	0

Open in new window

0
Comment
Question by:lschroeder
  • 2
2 Comments
 
LVL 31

Accepted Solution

by:
James Murrell earned 500 total points
Comment Utility
Hi,

CAUSE
This problem occurs because the default value for the maxRequestLength
parameter in the <httpRuntimesection of the Machine.config file is 4096 (4
megabytes). As a result, files that are larger than this value are not
uploaded by default.

RESOLUTION
To resolve this problem, use one of the following methods: • In the
Machine.config file, change the maxRequestLength attribute of the
<httpRuntimeconfiguration section to a larger value. This change affects
the whole computer.
• In the Web.config file, override the value of maxRequestLength for the
application. For example, the following entry in Web.config allows files that
are less than or equal to 8 megabytes (MB) to be uploaded:<httpRuntime
maxRequestLength="8192" />

References : http://support.microsoft.com/defaul...kb;EN-US;295626
0
 
LVL 31

Expert Comment

by:James Murrell
Comment Utility
thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now