Exchange 2007 attachment limit size

We have Exchange 2007 and I am having some issues regarding attachment limit sizes.  This appears to be only affecting some users and not others.

I have used the Exchange command shell  to modify the following:

get-receiveconnector | fl fqdn, maxmessagesize
get-receiveconnector | set-recieveconnector -maxmessagesize 100MB

Get-Sendconnector | fl fqdn,maxmessagesize
Set this to unlimited

get-transportconfig | fl maxrecievesize,maxsendsize
Set this to unlimited

I then restarted the Transport service and System Attendant service.

There are no size limits on any individual mailbox that I can see.

Are there any other places I have missed making a change?  Wouldn't the changes I have already made have been global?
Cicio1412Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

muzzi_inCommented:
you cannot set different level of size limit, it has to be same everywhere,

get-receiveconnector | fl fqdn, maxmessagesize
get-receiveconnector | set-recieveconnector -maxmessagesize 100MB

Get-Sendconnector | fl fqdn,maxmessagesize
Set this to 100MB

get-transportconfig | fl maxrecievesize,maxsendsize
Set this to 100MB

then restart information store service & transport service, it should work.
0
shauncroucherCommented:
Global setting:
---------------
   The systemwide default is held in Active Directory and is set to 10MB by default (this is 10240 K, the setting is just a number but is in K)

   Using ADSIedit, navigate to:
CN=Message Delivery,CN=Global Settings,
CN=Assocaited Network Solutions PLC,
CN=Microsoft Exchange,CN=Services,CN=Configuration,
DC=xansplc,DC=com

the arguments you want are:
msExchRecipLimit     (default 5000)
submissionContLength (default 10240)
delivContLength      (default 10240)

Transport Setting
-----------------
Site Default is set in powershell; use Get-TransportConfig to get current settings, then:

Set-TransportConfig -MaxRecipientEnvelopeLimit <nn> -MaxReceiveSize <nn>MB -MaxSendSize <nn>MB

current setting:

Set-TransportConfig -MaxRecipientEnvelopeLimit 5000 -MaxReceiveSize 20MB -MaxSendSize 20MB
0
Cicio1412Author Commented:
These are my Transport Settings:

ClearCategories                : True
DSNConversionMode              : UseExchangeDSNs
GenerateCopyOfDSNFor           : {5.4.8, 5.4.6, 5.4.4, 5.2.4, 5.2.0, 5.1.4}
InternalSMTPServers            : {}
JournalingReportNdrTo          : <>
MaxDumpsterSizePerStorageGroup : 18MB
MaxDumpsterTime                : 7.00:00:00
MaxReceiveSize                 : unlimited
MaxRecipientEnvelopeLimit      : 5000
MaxSendSize                    : unlimited
TLSReceiveDomainSecureList     : {}
TLSSendDomainSecureList        : {}
VerifySecureSubmitEnabled      : False
VoicemailJournalingEnabled     : True
WritingBrandingInDSNEnabled    : True
Xexch50Enabled                 : True

Restarted the store and transport service and folks are still receiving the attachment limitation error.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

shauncroucherCommented:
What is the attachment limitation error? Can you post the whole thing here (removing any domain specifics)

Did you review the Global limits in AD? If they are empty, set them to 100MB as well. I've seen a previous post where this was the fix.

Shaun
0
Cicio1412Author Commented:
The error some are receiving is"

The file was not attached because the file exceeded the max limitation of 5MB.

0
ryt2asimCommented:
Check the global limit in active directory whats the limit set too.
0
Cicio1412Author Commented:
I have looked at my Exchange console | Organization Configuration | Hub Transport | Global Settings tab | Transport Settings | properties.

The Global tab has no limits.  They are blank.  And yet I am still receiving the limitation error.
0
shauncroucherCommented:
There are three places where Message size is set in Exchange 2007 RTM
There are two places where Message size is set in Exchange 2007 SP1
Global Setting (RTM Only. Transport setting will change this automatically in SP1)
--------------
Global Settings stored in Active Directory (access using ADSIEdit)
Configuration --> Services --> Microsoft Exchange --> [DOMAINNAME] --> Global Settings --> right client
Message Delivery -->
Check the settings below. They are in KB
submissionContLength (default 10240) (MaxSendSize)
delivContLength      (default 10240) (MaxReceiveSize)

Transport Setting
-----------------
To show current settings:
Get-TransportConfig | fl Max*Size
To Alter:
Set-TransportConfig -MaxReceiveSize <nn>MB -MaxSendSize <nn>MB

Receive and Send Connectors
---------------------------
To Get current settings:
Get-ReceiveConnector | ft Name, Max*Size
Get-SendConnector | ft Name, Max*Size
To Alter:
Set-ReceiveConnector "<connector name>" -MaxMessageSize <nn>MB
Set-SendConnector "<connector name>" -MaxMessageSize <nn>MB

http://technet.microsoft.com/en-us/library/bb124345.aspx

This is how to set Transport level message limits, but you should also ensure that there are no 'more
restrictive' limits set on Mail enabled objects such as mailbox users, distribution groups, public
folders etc that are causing a fail.
0
Cicio1412Author Commented:
Here are my new settings:
ClearCategories                : True
DSNConversionMode              : UseExchangeDSNs
GenerateCopyOfDSNFor           : {5.4.8, 5.4.6, 5.4.4, 5.2.4, 5.2.0, 5.1.4}
InternalSMTPServers            : {}
JournalingReportNdrTo          : <>
MaxDumpsterSizePerStorageGroup : 18MB
MaxDumpsterTime                : 7.00:00:00
MaxReceiveSize                 : unlimited
MaxRecipientEnvelopeLimit      : unlimited
MaxSendSize                    : unlimited
TLSReceiveDomainSecureList     : {}
TLSSendDomainSecureList        : {}
VerifySecureSubmitEnabled      : False
VoicemailJournalingEnabled     : True
WritingBrandingInDSNEnabled    : True
Xexch50Enabled                 : True
0
shauncroucherCommented:
Note that if you are using RTM, you need to manually use ADSIEdit to alter the Global settings. Global transport settings will not suffice.

Better still update to SP1.

Shaun
0
Cicio1412Author Commented:
I am running Exchange 2007 SP2
0
Cicio1412Author Commented:
The settings I shared were all set with ADSIEdit.
0
Cicio1412Author Commented:
My new settings after changing the AD global limits to 100MB

ClearCategories                : True
DSNConversionMode              : UseExchangeDSNs
GenerateCopyOfDSNFor           : {5.4.8, 5.4.6, 5.4.4, 5.2.4, 5.2.0, 5.1.4}
InternalSMTPServers            : {}
JournalingReportNdrTo          : <>
MaxDumpsterSizePerStorageGroup : 18MB
MaxDumpsterTime                : 7.00:00:00
MaxReceiveSize                 : 100MB
MaxRecipientEnvelopeLimit      : unlimited
MaxSendSize                    : 100MB
TLSReceiveDomainSecureList     : {}
TLSSendDomainSecureList        : {}
VerifySecureSubmitEnabled      : False
VoicemailJournalingEnabled     : True
WritingBrandingInDSNEnabled    : True
Xexch50Enabled                 : True
0
shauncroucherCommented:
Exchange 2007 SP2 is not publically available yet.

The settings you are showing are from a powershell command. This is not showing values in CN=Message Delivery using ADSIEdit.

Shaun
0
Cicio1412Author Commented:
My apologies when you SP1 I thought you were refering to Service Pack 1.  I am running Service Pack 2.

CN=Message Delivery Properties
delivContLength 102400
msExchRecipLimit <not set>
SubmissionContLength 102400
0
shauncroucherCommented:
I'm a little confused now, are you referring to the Operating System pack level?

It looks as if you are running Exchange 2007 SP1, because when you have set Global Transport settings to 100MB it appears to have correctly edited the Global settings in AD as well as you have attached.

So I think we can safely say it is not a Transport size limit.

Are you using OWA when trying to attach the attachment to an email message or a bounce back when you send a message with a large attachment? If it is when trying to attach the attachment, particularly using OWA (but would probably be same with Outlook) there may be other settings to consider as outlined below:

http://msexchangeteam.com/archive/2006/11/14/431477.aspx

Shaun


0
Cicio1412Author Commented:
Again my apologies, the 2 should have been a 1.  I am running Exchange SP1 :)

I receive the attachment limitation error from within Outlook.  
0
muzzi_inCommented:
Hey let me know are you trying to attach file using OWA, ? if yes
whats the size of the file which your attaching,???
have u tried to attach with OL????

if the issue is only with OWA, please refer

http://msexchangeteam.com/archive/2006/11/14/431477.aspx

Note:
You can not set different values on transport config, send / receive connector , it has to be same as 100 MB.
0
shauncroucherCommented:
It is fine to have different values on the Send/Receive connectors and Global settings, but note that the most restrictive value will take precedence.

It's starting to sound more like a mailbox or user specific limit now. Review User settings in this article http://www.msexchange.org/articles-tutorials/exchange-server-2007/management-administration/exchange-2007-message-size-limits.html as well as the OWA article I attached above but you are using Outlook so perhaps this article first.

Shaun
0
Cicio1412Author Commented:
Does anyone know the original file association foe web.config in the OWA folder on exchange?
0
shauncroucherCommented:
There is no association by default. The file can be viewed / edited using any text editor. Notepad / wordpad / word etc.

Shaun
0
Cicio1412Author Commented:
Well. I made the change to the OWA file web.config.  I made the mistake of associating the file with wordpad.  I finally was able to clear this association, but now when I go to OWA via the web, I am getting a runtime error with error screen.
0
Cicio1412Author Commented:
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

0
shauncroucherCommented:
You must have made a type in your changes to the web.config. Double check all the changes you made.

You might be able to get more info by change customErrors to RemoteOnly so that if you try to access OWA from the server you will get a more customised error page, rather than this non helpful generic error.

Shaun
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
shauncroucherCommented:
What was it in the end?

Shaun
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.