I didn't find any enum type that gives me this platform constant.
How could i get it?
I mean the maximum character number which i could use to identify a
View Complete Post
I have found numerous links and articles that all suggest modifying either the Web.config or Machine.config file for the maxRequestLength value which is by default 4MB.
However, I have modified the web.config file several times over in the ReportServer directory as well as the ReportManager directory and nothing seems to resolve this issue on my system.
I am running SSRS 2008 on Windows 2008 64-bit Enterprise with 32GB RAM and a dual 3.33GHz processor. Also running 2 separate instances of Report Server on this system so I'm not certain if I should be looking at some other web.config file but I believe both
instances should be using the same file. Also should mention that the report has 16 parameters.
1 Article suggested to execute iisreset after altering the file but I am running IIS 7.0 which doesn't use iisreset. So instead, I stopped and restarted the Reporting Server instance using the RS Configuration Manager but it doesn't seem to make a difference.
Hopefully someone here can help me out??? Are there any other aspects of the configuration that I should be looking at to resolve the problem?
I need to construct a regular expression for the password textbox, Min:8,Max:16 and must include atleast a number(0-9),alphabets upper and lower case. I am unable to limit the length to 16.Any tips
<asp:RegularExpressionValidator ID="RegEx" runat="server" ControlToValidate="Password"
ErrorMessage="Password must be min:8,max:16 characters and include a number,alphabets upper case and lower case.
"ToolTip="Password format is not correct"
I am running into the Maximum Request length exceeded error on one of my SSRS reports - SQL Server 2005 SP2. I modified my web.config file as described in this and other threads:
I restarted all services (IIS, Reporting services) and while it fixes the problem with the parameter, I am getting other errors that are preventing the report from rendering as expected. For example, I have a document map in the report which no longer displays,
and expand/collapse capability in the report doesn't work. Any other ideas for fixing this issue?
Hi, Im getting the error when I am sending the large message to WCF service, I've seen previous post regarding the same prob and tried all the possibilities but still facing the problem.
Changed the reader quotas values of Client config and service config but no help.
Also tried by adding the below code in client and service
BasicHttpBinding basicBinding = new BasicHttpBinding();
basicBinding.MaxBufferSize = Int32.MaxValue;
basicBinding.MaxReceivedMessageSize = Int32.MaxValue;
basicBinding.MaxBufferPoolSize = Int32.MaxValue;
XmlDictionaryReaderQuotas myReaderQuotas = new XmlDictionaryReaderQuotas();
myReaderQuotas.MaxStringContentLength = Int32.MaxValue;
myReaderQuotas.MaxArrayLength = Int32.MaxValue;
myReaderQuotas.MaxBytesPerRead = Int32.MaxValue;
myReaderQuotas.MaxDepth = Int32.MaxValue;
myReaderQuotas.MaxNameTableCharCount = Int32.MaxValue;
But still facing the issue.
Here is my
When uploading a file over 4mb I receive error: maximum request length exceeded.
This is fine - I don't want users to upload files any larger.
But, anyone know how to handle the error in a clean way?
It appears I can't avoid it with an IF statement or Try/Catch block.
It seems that there is a path lenght limit for VS2008 when loading XAML assemblies.
Using the Microsoft sample Southridge, if the project is stored on "C:\Projects\C# samples\Southridge_Labs\1.Southridge_Fundamentals\Start" the designer does not load the assemblies.
But if I copy my files the project to the root (C:\Southridge_Labs\1.Southridge_Fundamentals\Start) then it works fine.
Basically I have solved my problem, but I want to know if there is an EXPLICIT limit and I cannot find any information related.
Thanks for your help.
I'm getting this message when invoke an operation on the service.
I have the readerQuotas configured inÃÂ the client's config file as follows:
I am getting this error when I try to send a message to my service. I have updated the ReaderQuotas on both the client and the server. Is there something else that I need to do to get the service to accept the message?
A client using our product that uses SQL Express for its database is getting an error during a BCP OUT command. The error is
: user api layer: external error: A data length of 40 exceeds the maximum length allowed for password data
None of our other client installs get this error so we are assuming it is security related.
Does anyone know where to configure this?
Also, if we change the password to something smaller, we then get a different error saying the server cannot be found even though it is there. We are again assuming this is security related.
I have no idea where to look to figure this out. I was hoping for some sort of SQL error number but none was provided in the error message.
I created an asp.net to upload files.My code is written in visual basic.net
When I try to upload a file bigger than mymaxRequestLength setting I get this exception:
(0x80004005): Maximum request length exceeded.
I can not catch the exception even using try-catch-finally
Is there a way to catch this exception?
I get the following error on last line below (working on remote host): 'E:\web\sfcascom\ls_admin/uploads/images/001.JPG' is not a valid virtual path,
Note that the slashes go in different directions
I've tried a number of things but nothing seems to work. Thanks-
Partial Class Protected_imageupload
Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
' Initialize variables
Dim sSavePath As String
Dim sThumbExtension As String
Dim intThumbWidth As Integer
Dim intThumbHeight As Integer
Dim sFilename As String = ""
' Set constant values
'sSavePath = "images/"
sSavePath = Server.MapPath("~/") + "ls_admin/uploads/images/"
sThumbExtension = "_thumb"
intThumbWidth = 160
intThumbHeight = 120
' If file field isn?t empty
If FilUpload.PostedFile IsNot Nothing Then
' Check file size (mustn?t be 0)
Dim myFile As Http