Difference between revisions of "Publishing Troubleshooting"
Line 85: | Line 85: | ||
<transport clientCredentialType="Basic"/> | <transport clientCredentialType="Basic"/> | ||
</security> | </security> | ||
+ | |||
+ | == Anonymous Authentication == | ||
+ | |||
+ | === IIS Settings === | ||
+ | |||
+ | Depending on your IIS version, take the following steps: | ||
+ | |||
+ | ==== IIS 5 ==== | ||
+ | |||
+ | Right click the XLCubedWeb directory and select "Properties" | ||
+ | Select the "Directory Security" tab | ||
+ | Ensure that "Enable anonymous access" is checked and all others are not. | ||
+ | |||
+ | [[File:XLCubedWebConfigIIS5AuthenticationAnon.png|200px|center]] | ||
+ | |||
+ | ==== IIS 6 ==== | ||
+ | |||
+ | Select the XLCubedWeb directory and open the "Authentication" section. | ||
+ | |||
+ | [[File:XLCubedWebConfigIIS6Authentication.png|200px|center]] | ||
+ | |||
+ | Ensure "ASP.NET Impersonation" and "Anonymous Authentication" are enabled, and others are disabled. | ||
+ | |||
+ | [[File:XLCubedWebConfigIIS6AuthenticationAnonpng|200px|center]] | ||
+ | |||
+ | If you do not have these options you must add them from | ||
+ | Control Panel -> Programs -> Turn Windows features on or off | ||
+ | |||
+ | |||
+ | === web.config Settings === | ||
+ | |||
+ | In the bindings section the security should be as follows for ''all'' bindings. | ||
+ | |||
+ | <security mode="TransportCredentialOnly"> | ||
+ | <transport clientCredentialType="None"/> | ||
+ | </security> | ||
+ | |||
+ | |||
= Publishing failure = | = Publishing failure = |
Revision as of 12:13, 28 February 2011
Contents
[hide]Connection failure
When you click "Connect" in the publishing dialog XLCubed will try to contact your web server.
If you can't connect to the web server, you can try the following
Client configuration
If you use a proxy server to access the internet this can prevent XLCubed connecting correctly
To allow the connection turn on the option to bypass the proxy for local addresses.
Note that you only need to do this is you use a proxy, otherwise there is no need to make this change.
If this fails an administrator can check the following to try to resolve the problem.
Windows Authentication
IIS Settings
Depending on your IIS version, take the following steps:
IIS 5
Right click the XLCubedWeb directory and select "Properties" Select the "Directory Security" tab Ensure that "Integrated Windows authentication" is checked and all others are not.
IIS 6
Select the XLCubedWeb directory and open the "Authentication" section.
Ensure "ASP.NET Impersonation" and "Windows Authentication" are enabled, and others are disabled.
If you do not have these options you must add them from Control Panel -> Programs -> Turn Windows features on or off
web.config Settings
In the bindings section the security should be as follows for all bindings.
<security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"/> </security>
Basic Authentication
IIS Settings
Depending on your IIS version, take the following steps:
IIS 5
Right click the XLCubedWeb directory and select "Properties" Select the "Directory Security" tab Ensure that "Basic authentication" is checked and all others are not.
IIS 6
Select the XLCubedWeb directory and open the "Authentication" section.
Ensure "ASP.NET Impersonation" and "BasicAuthentication" are enabled, and others are disabled.
web.config Settings
In the bindings section the security should be as follows for all bindings.
<security mode="TransportCredentialOnly"> <transport clientCredentialType="Basic"/> </security>
Anonymous Authentication
IIS Settings
Depending on your IIS version, take the following steps:
IIS 5
Right click the XLCubedWeb directory and select "Properties" Select the "Directory Security" tab Ensure that "Enable anonymous access" is checked and all others are not.
IIS 6
Select the XLCubedWeb directory and open the "Authentication" section.
Ensure "ASP.NET Impersonation" and "Anonymous Authentication" are enabled, and others are disabled.
If you do not have these options you must add them from Control Panel -> Programs -> Turn Windows features on or off
web.config Settings
In the bindings section the security should be as follows for all bindings.
<security mode="TransportCredentialOnly"> <transport clientCredentialType="None"/> </security>
Publishing failure
If you can connect to the web server, but can not publish a file, you can try the following
Permissions
Users need write permission to the repository directory in order to be able to publish files.
If this permission is missing often users can connect to the web server, but don't see a "My Reports" folder, and get an error when attempting to publish a file.
To check if this is the problem you can grant Read and Write Access to the Repository directory in the XLCubedWeb site to everyone and retry publishing.
If the publish then succeeds then permissions was the issue, and you can restrict access to the users you wish to be able to publish.