印仔 发布的文章

修改 C:\AOSService\webroot 以下文件节点(如域不变仅更改1),然后重启IIS,不要编译/同步数据库,
记得备份原配置文件!!!!.

  1. web.config

    • DataAccess.Database
    • DataAccess.DbServer
    • DataAccess.SqlUser
    • DataAccess.SqlPwd
  2. wif.config

    • audienceUris.add ,值修改为 spn:环境ID;
  3. wif.serveices.config

    wsFederation节点属性

    catch(Exception::CLRError)
    {
        System.Exception    interopException = CLRInterop::getLastException();

        obj.Add("Code", 1);
        obj.Add("Message", interopException.Message.ToString());

    }
    catch
    {
        SysInfoLogEnumerator    infoLogEnum;
        str                     Message;

        infoLogEnum = SysInfoLogEnumerator::newData(infolog.copy(1, infologLine()));

        while(infoLogEnum.moveNext())
        {
            Message += infoLogEnum.currentMessage();
        }

        obj.Add("Code", 1);
        obj.Add("Message", Message);
    }