We were trying to import Publications using Content Porter 2009. Even if we try to import one single component. We are getting below error

unable to upload package.Access to server could be restricted or package is too large

We also tried with one component also still facing above error.

Can someone suggest a solution or what could be the reason for this error. We also tried modifying web.config of content porter to accept larger files. Still its failing.

This is happening only with our One Environment only. We even tried to import empty file also still the error message.

  • As it happens with only one component, it has probably nothing to do with size, check diskspace on server,access to folder etc. logs and eventviewer might give you more clues – Gertjan Assies Mar 13 '13 at 9:39
  • 1
    Depending on how you set up your dependency filters, even a single component could result in a large export (for example all components that the component links to couple be exported, and then all components they link to, and so on and so on). The same applies to import, if you have exported with dependencies... How big is your zip file? – Will Price Mar 13 '13 at 9:44
  • We tried Importing from primary level with no components. We got the same error. – Ajo Mathew Mar 13 '13 at 9:56
  • Did you restart IIS after making the change? – Jonathan Williams Mar 13 '13 at 10:25
  • Yes we have restarted IIS as well as Tridion Services. We tried to import a blank folder from Parent Publication that too failed – Ajo Mathew Mar 13 '13 at 10:34

There are some guidelines for configuring Content Porter for first time use in the SDL Tridion Live Content document here (login required).

If you are using IIS 6 then you will need to change the metabase property called AspMaxRequestEntityAllowed

If you are using IIS 7 then you need to add the 'maxAllowedContentLength' attribute:

    <requestLimits maxAllowedContentLength="209752100" />
  • Yes we have tried that already but got the same error. – Ajo Mathew Mar 13 '13 at 9:57
  • 1
    Please note that the value above is only 200MB. Have you tried to add a couple of zeroes? And you changed this in <TridionRoot>\Content Porter\ImportExportService\web.config right? – Raimond Mar 13 '13 at 10:11
  • - C:\Program Files (x86)\Tridion\Content Porter\ImportExportService we updated web.config mentioned above and Tridion's web.conf and tried still it is failing. – Ajo Mathew Mar 13 '13 at 10:35
  • Can you connect to the Content Porter webservice after connecting via Remote Desktop to the Tridion server (http://localhost/ImportExportService/ImportExportService.asmx)? Can you connect to this remotely from where you're running the Content Porter client (http://<tridion-server-url>/ImportExportService/ImportExportService.asmx)? Have you checked the IIS logs to see if the connection is being made? – Jonathan Williams Mar 13 '13 at 16:15

Is there free space on the server? CP is first uploading packages into it's own location. Can you check if there're files created? It's under \Tridion\Content Porter\temp

Also, if there are any files - please delete it. I once saw a problem when there were too many files and windows couldn't provide unique filename anymore.

Also, please explore the Tridion event log and Content Porter logs. It would also help if you could post a full exception, including stack trace

  • The folder mentioned above is clean. – Ajo Mathew Mar 13 '13 at 9:57
  • Was it working before, or have you just installed it? – Andrey Marchuk Mar 13 '13 at 9:59
  • We have working content porter in other environments. This is only failing. We imported content from one environment and tried to import to this environment but importing is failing – Ajo Mathew Mar 13 '13 at 10:36
  • Can you cehck all the logs and post exception, including stacktrace? – Andrey Marchuk Mar 13 '13 at 10:40

In my environment I have this set up for [Tridion]\Content Porter\ImportExportService\Web.config:

Right after </WebServices>

  <httpRuntime executionTimeout="1200" maxRequestLength="1024000" 
               useFullyQualifiedRedirectUrl="false" minFreeThreads="8"
               minLocalRequestFreeThreads="4" appRequestQueueLimit="100"/>
      <requestLimits maxAllowedContentLength="209752100" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.