网奇论坛

首页 » 网奇产品区 » 网奇IOS智能在线订单系统 » 真的不明白大家是怎么把ISO放到二级目录的!
aalonko - 2008-6-26 15:20:00
照着版主的方法去做把Web.config和bin文件夹放到根目录去~可根目录也有这两个文件啊~难道覆盖掉吗?覆盖了不就影响网页运行吗?
sumily - 2008-6-26 15:21:00
http://bbs.wangqi.com/showtopic-11662.html
aspnet - 2008-6-26 17:20:00
不是覆盖!要进行简单的修改!
aalonko - 2008-6-27 9:28:00
版主~~~~我弄了半天都出错啊~~麻烦您放一个文件出来给我下载好吗?~~谢啦
巡航 - 2008-6-27 10:30:00
你的二级文件夹名是什么?

webconfig的代码帖进来 看看
aalonko - 2008-6-27 10:37:00
二级文件名是iso
代码:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
    <section name="RewriterConfig"

type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
    </configSections>
    <appSettings>
    <add key="URLXmlDoc" value="~/iso/SetInfo/URLRewriter.xml"></add>
    <add key="FCKeditor:BasePath" value="~/iso/fckeditor/"/>
    <add key="FCKeditor:UserFilesPath" value="~/iso/Upload/"/>
    <add key ="UploadDir" value ="Upload"/>
    <add key="sqlConn"

value="server=.;uid=sa;pwd=123;database=wqics;Provider=SQLOLEDB" />
    <add key="accessConn" value="Provider=Microsoft.Jet.OLEDB.4.0;Data

Source=" />
    <add key="accessPath" value="~/iso/database/data.mdb" />
    <add key="DataBaseType" value="acc" />
    <add key="errorLogPath" value="~/iso/error.txt" />
   
    <!-- Add your Host Name here Add Machine name,domain name and your site

name. -->
    <!-- <add key="hostName" value="http://Machine.YourDomain.com/YourSite"

/> -->
   
       
    <!-- Add PayPal host URL for Express Checkout here. The user will be

redirected to this url
             in a secure session for express checkout.
            
             Live PayPal Server for Express Checkout: -->
    <!-- <add key="PayPalHost" value="https://www.paypal.com/cgi-

bin/webscr?cmd=_express-checkout&token="/> -->
       
    <!-- Pilot (test) Gateway Server for Express Checkout: -->
    <!-- <add key="PayPalHost" value="https://test-

expresscheckout.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token="/> -

->
       
    <!-- Using the PayPal SandBox for Express Checkout:
            
        Before you can use the PayPal Sandbox with a Gateway account

you'll need to do the following:
        To setup a PayPal Sandbox account to work with a Payflow Pro

account you will need to go to
        https://developer.paypal.com and create an account.  Once you

have access to the Sandbox then
        you will be able to set up test business accounts, premier

accounts and personal accounts.  Please
        set up a test business account and personal account so you can

test Express Checkout.
            
        Once you have a test business account created, create a ticket

at http://www.paypal.com/mts
        under Contact Support and request to have your Payflow Pro (US,

AU) or Websites Payments Pro
        Payflow Edition (UK) account modified to use the PayPal Sandbox.

Provide the e-mail ID you
        used when you created your account on the Sandbox.
            
        Once you are notified that your account has been updated you

will then need to modify the host
        URLs of the Payflow Pro Express Checkout test servers to the

URLs used by the Sandbox. 
        For example, https://www.sandbox.paypal.com/cgi-bin/webscr?

cmd=_express-checkout&token=<token>.
    -->
    <add key="PayPalHost" value=" https://www.sandbox.paypal.com/cgi-

bin/webscr?cmd=_express-checkout&token="/>
           
    <!-- Change TRACE value to "ON" to display any stack trace errors in the

response message.-->
    <add key="TRACE" value="OFF" />
    <!-- This is a LOG level tag.To switch on logging change the logger

level from "OFF" to any of the following:
        a. DEBUG
        b. INFO
        c. WARN
        d. ERROR
        e. FATAL
     -->
    <add key="LOG_LEVEL" value="OFF" />
    <!-- Absolute path for LOG file. -->
    <!-- Default of "logs\PayflowSDK.log" will create the file in

AppDomain.CurrentDomain.BaseDirectory + "log"
        which would probably be bin\.  However, it is suggested your

create an absolute path for the log file.
        If the web application folder does not have enough permissions

to create a folder within it, then application
        logging may be disabled. Verify access rights on web application

folder. -->
    <add key="LOG_FILE" value="logs\PayflowSDK.log" />
    <!-- Log file filesize constant. -->
    <add key="LOGFILE_SIZE" value="102300" />
    </appSettings>
  <system.web>
  <httpModules>
      <add type="URLRewriter.ModuleRewriter, URLRewriter"

name="ModuleRewriter"/>
    </httpModules>
    <!--  动态调试编译
          设置 compilation debug="true" 以启用 ASPX 调试。否则,将此值设置为
          false 将提高此应用程序的运行时性能。
          设置 compilation debug="true" 以将调试符号(.pdb 信息)
          插入到编译页中。因为这将创建执行起来
          较慢的大文件,所以应该只在调试时将此值设置为 true,而在所有其他时候都

设置为
          false。有关更多信息,请参考有关
          调试 ASP.NET 文件的文档。
    -->
    <compilation
        defaultLanguage="c#"
        debug="true"
    />

    <!--  自定义错误信息
          设置 customErrors mode="On" 或 "RemoteOnly" 以启用自定义错误信息,或设

置为 "Off" 以禁用自定义错误信息。
          为每个要处理的错误添加 <error> 标记。

          "On" 始终显示自定义(友好的)信息。
          "Off" 始终显示详细的 ASP.NET 错误信息。
          "RemoteOnly" 只对不在本地 Web 服务器上运行的
          用户显示自定义(友好的)信息。出于安全目的,建议使用此设置,以便
          不向远程客户端显示应用程序的详细信息。
    -->
    <customErrors mode="Off" />

    <!--  身份验证
          此节设置应用程序的身份验证策略。可能的模式是 "Windows"、
          "Forms"、 "Passport" 和 "None"

          "None" 不执行身份验证。
          "Windows" IIS 根据应用程序的设置执行身份验证
            (基本、简要或集成 Windows)。在 IIS 中必须禁用匿名访问。
          "Forms" 您为用户提供一个输入凭据的自定义窗体(Web 页),然后
          在您的应用程序中验证他们的身份。用户凭据标记存储在 Cookie 中。
          "Passport" 身份验证是通过 Microsoft 的集中身份验证服务执行的,
          它为成员站点提供单独登录和核心配置文件服务。
    -->
    <authentication mode="Windows" />

    <!--  授权
          此节设置应用程序的授权策略。可以允许或拒绝不同的用户或角色访问
          应用程序资源。通配符: "*" 表示任何人,"?" 表示匿名
          (未经身份验证的)用户。
    -->

    <authorization>
        <allow users="*" /> <!-- 允许所有用户 -->
            <!--  <allow    users="[逗号分隔的用户列表]"
                            roles="[逗号分隔的角色列表]"/>
                  <deny      users="[逗号分隔的用户列表]"
                            roles="[逗号分隔的角色列表]"/>
            -->
    </authorization>

    <!--  应用程序级别跟踪记录
          应用程序级别跟踪为应用程序中的每一页启用跟踪日志输出。
          设置 trace enabled="true" 可以启用应用程序跟踪记录。如果

pageOutput="true",则
          在每一页的底部显示跟踪信息。否则,可以通过浏览 Web 应用程序
          根目录中的 "trace.axd" 页来查看
          应用程序跟踪日志。
    -->
    <trace
        enabled="false"
        requestLimit="10"
        pageOutput="false"
        traceMode="SortByTime"
        localOnly="true"
    />

    <!--  会话状态设置
          默认情况下,ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。
          如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。
        若要禁用 Cookie,请设置 sessionState cookieless="true"。
    -->
    <sessionState
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
            cookieless="false"
            timeout="20"
    />

    <!--  全球化
          此节设置应用程序的全球化设置。<globalization requestEncoding="utf-8"

responseEncoding="utf-8" />
    -->
    <globalization requestEncoding="gb2312" responseEncoding="gb2312"

culture="zh-CN" fileEncoding="gb2312" />
  <httpHandlers>
            <add verb="GET" path="FtbWebResource.axd"

type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox"/>
  </httpHandlers>
 
</system.web>

</configuration>
aalonko - 2008-6-27 10:39:00
根目录下还有个.NET系统~是覆盖掉根目录WEB.CONFIG还是修改呢?
aspnet - 2008-6-27 11:44:00
您下的是最新的IOS系统吗?您的程序Web.config里缺点东西,我想知道您下载的是不是最新的,您来这里:
http://www.wqios.com/html/2008-04/108.html
下载最新的IOS吧!最新的简化了配置过程!
aspnet - 2008-6-27 12:00:00
您下的是最新的IOS系统吗?您的程序Web.config里缺点东西,我想知道您下载的是不是最新的,您来这里:

http://www.wqios.com/html/2008-04/108.html

下载最新的IOS吧!最新的简化了配置过程!

我给你传上安装说明!

如果还是有问题,能把您测试的网址给我们吗?我们来帮助您!

附件: 安装二级目录说明.rar
aalonko - 2008-6-27 12:05:00
好的~谢谢你啦~~
1
查看完整版本: 真的不明白大家是怎么把ISO放到二级目录的!