FineUI 官方论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

本论坛已关闭(禁止注册、发帖和回复)
请移步 三石和他的朋友们

FineUI首页 WebForms - MVC & Core - JavaScript 常见问题 - QQ群 - 十周年征文活动

FineUI(开源版) 下载源代码 - 下载空项目 - 获取ExtJS - 文档 在线示例 - 版本更新 - 捐赠作者 - 教程

升级到 ASP.NET Core 3.1,快、快、快! 全新ASP.NET Core,比WebForms还简单! 欢迎加入【三石和他的朋友们】(基础版下载)

搜索
查看: 14368|回复: 11
打印 上一主题 下一主题

appbox发布后登录页不跳转

[复制链接]
跳转到指定楼层
楼主
发表于 2014-10-20 09:34:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
appbox发布以后,登录页点击登录按钮以后不跳转到main页,我直接输入main页可以进入系统,进入系统以后点击安全退出按钮不返回登录页!在VS中调试时没有这种问题,请大家和三石老大指点一下!
沙发
发表于 2014-10-20 15:43:44 | 只看该作者
我也遇到同样的问题,appbox上开发的系统,在vs调试没有问题,IIS发布后,登陆不会跳转页面,需要手动刷新页面才能跳转。同求解决方法!三石老大指点一下!
板凳
 楼主| 发表于 2014-10-21 15:29:41 | 只看该作者
三石老大,请帮看看吧!
地板
发表于 2014-12-16 16:53:57 | 只看该作者
IIS应用程序池设置成经典模式吧
5#
发表于 2014-12-16 22:55:17 | 只看该作者
我拿Appbox4在VS下也是一样的。
6#
发表于 2014-12-17 23:58:04 | 只看该作者
高手没人搭理,菜鸟只好自己琢磨,把Web.config改了下,貌似可以了,不止一个人碰到的问题,总归有人解决过吧? 为何没有人能够把改过的发出来,让菜鸟们少走点弯路?是不屑来回答吗?


<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false" />
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
   
  <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
  <appSettings />
  <connectionStrings>
    <clear />
    <add name="Default" connectionString="assword=saersist Security Info=True;User ID=sa;Initial Catalog=AppBox;Data Source=." providerName="System.Data.SqlClient" />
    <add name="MySQL" connectionString="Server=localhost;Database=appbox;Uid=rootwd=root;Charset=utf8" providerName="MySql.Data.MySqlClient" />
  </connectionStrings>
  <FineUI DebugMode="true" />
  <system.web>
    <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
      <controls>
        <add assembly="FineUI" namespace="FineUI" tagPrefix="f" />
      </controls>
    </pages>
    <!--
    <httpModules>
      <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />
    </httpModules>
    <httpHandlers>
      <add verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" validate="false"  />
    </httpHandlers>
    -->
   
      
    <httpRuntime />
    <compilation debug="true" targetFramework="4.0" />
    <customErrors mode="Off" />
    <authentication mode="Forms">
      <forms name=".APPBOX_FORMS_AUTH" loginUrl="~/default.aspx" timeout="120" defaultUrl="~/main.aspx" protection="All" path="/" />
    </authentication>
    <authorization>
      <deny users="?" />
    </authorization>
   
  </system.web>
  
  <system.webServer>
    <modules>
      <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />
    </modules>
    <handlers>
      <add name="MyHandler" path="res.axd" verb="GET" type="FineUI.ResourceHandler, FineUI" preCondition="integratedMode" />
    </handlers>
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
  
  <location path="icon">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="res">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="extjs">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0" />
      </parameters>
    </defaultConnectionFactory>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    </providers>
  </entityFramework>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>
7#
发表于 2015-3-25 15:26:18 | 只看该作者
freddy 发表于 2014-12-17 23:58
高手没人搭理,菜鸟只好自己琢磨,把Web.config改了下,貌似可以了,不止一个人碰到的问题,总归有人解决过 ...

高手,您改的哪部分?现在我这里也遇到这个问题了,就是登陆没反应,不过貌似是浏览器的兼容问题(在IE11下登陆不了,其他版本的IE都可以,其他品牌的浏览器也没问题)
8#
发表于 2015-4-15 10:53:34 | 只看该作者
有可能是按钮的ajax属性导致。
9#
发表于 2015-9-17 14:42:50 | 只看该作者
没看出来改的哪啊!!!!请大神赐教!!!!
10#
发表于 2016-4-4 00:10:38 | 只看该作者
有人知道怎么搞啊,困扰我好几天了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|FineUI 官方论坛 ( 皖ICP备2021006167号-1 )

GMT+8, 2024-4-30 02:59 , Processed in 0.048876 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表