XML parsing failed on row 1, column 9: DTD not allowed

I configured HTTP access for the SQL Analysis server, as indicated in the following article, https://technet.microsoft.com/en-us/library/gg492140(v=sql.105).aspx

Finally, I configured msmdpump.dll for my SQL Analysis service, and I try to load the connection string in Excel, I got an XML parsing exception when row 1 was excluded, column 9 of the DTD is prohibited.

web.config from 'C: \ inetpub \ wwwroot \ OLAP' is,

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.web>
        <identity impersonate="true" />
        <authentication mode="Forms" />
    </system.web>
    <system.webServer>
    <httpProtocol>
     <customHeaders>

        <add name="Access-Control-Allow-Origin" value="*" />
        <add name="Access-Control-Allow-Methods" value="GET, POST"/>
        <add name="Allow" value="OPTIONS, TRACE, GET, HEAD, POST, PUT"/>
        <add name="Access-Control-Allow-Headers" value="Origin, Content-Type, Accept"/>       
     </customHeaders>
   </httpProtocol>
        <handlers>
            <add name="OLAP" path="*.dll" verb="*" modules="IsapiModule" scriptProcessor="C:\inetpub\wwwroot\OLAP\msmdpump.dll" resourceType="File" preCondition="bitness64" />
        </handlers>
    </system.webServer>
</configuration>

The security authentication application pool is NetworkService. Are any administrator rights a connection restriction or missing parameters?

+4
3

, ,

SQL Management Studio . "". , , HTTPA HTTP Access.

0

, , :

-, "accessPolicy" "Web.Config", "" , :

<handlers accessPolicy="Read, Script">
    ...
</handlers>

( ) - OLAP . OLAP . OLAP .

500 DLL ():

https://.../olap/msmdpump.dll

excel .

0

, "500 - ", IIS. , .

Excels (MSOLAP) , XHTML 1.0 Strict:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
      <title>500 - Internal server error.</title>
    ...
0

Source: https://habr.com/ru/post/1611233/


All Articles