赛捷软件论坛's Archiver

tansj 发表于 2009-2-26 02:46

X3 Client登陆后无法显示背景页面及分析元金字塔图标的解决办法参考

<P>数据库:Sqlserver</P><P>X3 版本:V151</P><P>现象:</P><P>1、使用Homepage方式登陆,无法显示背景页面;</P><P>2、一般数据&gt;总帐会计表&gt;分析&gt;分析元金字塔&amp;科目本性金字塔中的金字塔图标无法显示。</P><P><STRONG>解决办法:</STRONG></P><P><STRONG>1、开始&gt;运行&gt;cmd,输入netstat -ano查看本机端口监听情况,</STRONG>看有没有类似于以下的监听:</P><P>Proto&nbsp; Local Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Foreign Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; State&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PID<BR><FONT color=#ff0000>TCP&nbsp;&nbsp;&nbsp; 0.0.0.0:80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0:0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LISTENING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1848</FONT></P><P>一般在第一行;</P><P>若没有,请检查apachemonitor里的apache2服务是否已启动;</P><P>若有,继续:</P><P><STRONG>2、继续运行tasklist,</STRONG>查看上述监听中PID的进程是哪一个:</P><P><FONT color=#ff0000>Apache.exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1848 Console&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2,940 K</FONT></P><P>若有类似的一行,则说明:</P><P>本机80端口已被Apache监听,监听端口为80,进程号为1848,若被其他程序监听,请确认监听程序并将其停掉;</P><P>注意:Apache2.2*的服务名为httpd而不是Apache.exe,若被httpd.exe监听了80端口,应该不会引起题中的问题。若正好有此条件的麻烦帮忙测试下。</P><P><STRONG>3、若本机80端口正确被Apache监听,则检查apache的配置文件,</STRONG>路径:</P><P>C:&#92;Program Files&#92;Apache Group&#92;Apache2&#92;conf</P><P>httpd.conf文件可以使用notepad打开。</P><P>打开后请检查httpd.conf文件末尾是否有类似的一段:</P><P><FONT color=#ff0000>#A_D_O_N_I_X_Documentation_Alias_START : X3V5 #<BR>#<BR>Alias /AdxDoc_X3V5 "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5"<BR>#<BR>&nbsp;&nbsp; &lt;Directory "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddDefaultCharset Off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes FollowSymlinks MultiViews<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<BR>&nbsp;&nbsp; &lt;/Directory&gt;<BR>#<BR>#A_D_O_N_I_X_Documentation_Alias_END : X3V5 #</FONT></P><P><FONT color=#ff0000>#A_D_O_N_I_X_Solution_Alias_START : X3V5 #<BR>#<BR>Alias "/Adonix_X3V5" "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5&#92;dossiers&#92;X3_PUB"<BR>#<BR>#<BR>&nbsp;&nbsp; &lt;Directory "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5&#92;dossiers&#92;X3_PUB"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes FollowSymlinks MultiViews<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddType text/x-component .htc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddDefaultCharset Off<BR>&nbsp;&nbsp; &lt;/Directory&gt;<BR>#<BR>#A_D_O_N_I_X_Solution_Alias_END : X3V5 #</FONT></P><P>其中,</P><P>#A_D_O_N_I_X_Documentation_Alias_START : X3V5 #<BR>#<BR>Alias /AdxDoc_X3V5 "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5"<BR>#<BR>&nbsp;&nbsp; &lt;Directory "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddDefaultCharset Off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes FollowSymlinks MultiViews<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<BR>&nbsp;&nbsp; &lt;/Directory&gt;<BR>#<BR>#A_D_O_N_I_X_Documentation_Alias_END : X3V5 #</P><P>这一段的配置是关于documentation server的配置文件,d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5为我的document路径,若这一段没有将可能出现正确完成其他配置后按F1帮助文件打不开的情况;</P><P><BR>#A_D_O_N_I_X_Solution_Alias_START : X3V5 #<BR>#<BR>Alias "/Adonix_X3V5" "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5&#92;dossiers&#92;X3_PUB"<BR>#<BR>#<BR>&nbsp;&nbsp; &lt;Directory "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5&#92;dossiers&#92;X3_PUB"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes FollowSymlinks MultiViews<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddType text/x-component .htc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddDefaultCharset Off<BR>&nbsp;&nbsp; &lt;/Directory&gt;<BR>#<BR>#A_D_O_N_I_X_Solution_Alias_END : X3V5 #</P><P>这一段是关于X3 Solution的web配置,若缺少这一段将导致题中的问题。其中,</P><P><FONT color=#0000ff>d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5&#92;dossiers&#92;</FONT>X3_PUB路径是程序调用的web文件路径,蓝色字体为系统目录路径。</P><P>若非常不幸你的机器正好遇到这种情况,请检查如上设置,把上文中红色字体的一段COPY过去,加在你的apache2的httpd.conf文件的末尾,把路径改成你的相关安装路径即可。</P><P>进阶:</P><P>若后续安装了BO模块,则config文件中关于Solution的一段应该与下面这段类似:</P><P>#A_D_O_N_I_X_Solution_Alias_START : X3V5 #<BR>#<BR>Alias "/Adonix_X3V5" "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5&#92;dossiers&#92;X3_PUB"<BR>#<BR><FONT color=#719966>&lt;IfModule !mod_proxy.c&gt;<BR>&nbsp;&nbsp;&nbsp; LoadModule proxy_module modules/mod_proxy.so<BR>&nbsp;&nbsp;&nbsp; LoadModule proxy_connect_module modules/mod_proxy_connect.so<BR>&nbsp;&nbsp;&nbsp; LoadModule proxy_http_module modules/mod_proxy_http.so<BR>&nbsp;&nbsp;&nbsp; LoadModule proxy_ftp_module modules/mod_proxy_ftp.so<BR>&lt;/IfModule&gt;<BR>&lt;IfModule mod_proxy.c&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;Location /businessobjects/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddDefaultCharset Off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyPass </FONT><A target=_blank href="http://tanshijie:8080/businessobjects/" target=_blank><FONT color=#719966>http://TANSHIJIE:8080/businessobjects/</FONT></A><BR><FONT color=#719966>&nbsp;&nbsp;&nbsp; &lt;/Location&gt;<BR>&lt;/IfModule&gt;</FONT><BR>#<BR>#<BR>&nbsp;&nbsp; &lt;Directory "d:&#92;SAGE&#92;SAGEX3V5&#92;X3V5&#92;dossiers&#92;X3_PUB"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes FollowSymlinks MultiViews<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddType text/x-component .htc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddDefaultCharset Off<BR>&nbsp;&nbsp; &lt;/Directory&gt;<BR>#<BR>#A_D_O_N_I_X_Solution_Alias_END : X3V5 #</P><P>注意灰绿色的这一段。</P><P>配置完成后,在浏览器栏中输入:127.0.0.1/Adonix_<FONT color=#ff0000>X3V5</FONT>/</P><P>其中,X3V5为服务器组件名。</P><P>浏览器返回应如图所示:</P><P><IMG src="attachments/bbsxp/2009-2/2009225213756.png" border=0></P><P>全文完。若还有其他现象,欢迎补充,大家一起研究。</P><p>[此帖子已被 tansj 在 2009-2-25 21:40:55 编辑过]

tansj 发表于 2009-4-8 18:08

Re:X3 Client登陆后无法显示背景页面及分析元金字塔图标的解决办法参考

for jerry

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.