因为出错代码比较长,就放在后面了。

出现"The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist."报错的情况很多

  • 只要是安装过程中出现异常终止,然后我们又试图访问没有安装好的网站(因为是装了一半终止的,所以DNN不会再触发安装的过程);
  • 或者其它的设置导致DNN不能正常运行就有可能出现这个报错。

所以我们不要尝试去还原dbo.GetPortalAliasByPortalID,而应该去排查那个地方引起这个报错。比如:连接字符串是不是设置正确,Startkit的安装是不是选择了"Auto"模式,SQL 是不是正常启动,等等。

Server Error in '/DotNetNuke4.8.2' Application.

The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.]System.Data.SqlClient.SqlCommand.DeriveParameters() +2973System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) +72Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) +213Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) +304Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) +154Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) +36Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) +200DotNetNuke.Data.SqlDataProvider.GetPortalAliasByPortalID(Int32 PortalID) +87DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32 PortalID) +35DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() +74DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String PortalAlias) +14DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3346DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1193System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +138System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65

转载于:https://www.cnblogs.com/DotNetNuke/archive/2008/04/16/1115448.html

DNN安装报错-The stored procedure 'dbo.GetPortalAliasByPortalID' doesn't exist.如何解决相关推荐

  1. Python使用pip安装报错ModuleNotFoundError: No module named ‘pip._internal.cli.main‘的解决方法

    Python使用pip安装报错ModuleNotFoundError: No module named 'pip._internal.cli.main'的解决方法   大家好,我叫亓官劼(qí guā ...

  2. Kettle安装报错:Debug Exception in thread “main“ java.lang.NoClassDefFoundError解决方式

    标题:Kettle安装报错:Debug  Exception in thread "main" java.lang.NoClassDefFoundError: org/eclips ...

  3. Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法

    安装Oracle 11gR2,报错:[INS-06101] IP address of localhost could not be determined 出现这种错误是因为主机名和/etc/host ...

  4. Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法[转]

    --安装Oracle 11gR2,报错:[INS-06101] IP address of localhost could not be determined--------------------- ...

  5. 网络安全学习篇35_第二阶段_lnmp、Nginx简单配置+安装报错:C compiler cc is not found缺少环境解决、安装php5.3.28

    上一篇博客:网络安全学习篇34_第二阶段_apache.mysql等配置+ centOS设置中文输入法 目录 Nginx的简单介绍 Nginx的安装 安装的时候报了一个错:C compiler cc ...

  6. Redis 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法

    错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmall ...

  7. Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法

    http://www.phperz.com/article/14/1219/42002.html --------------------------------------------------

  8. Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No s

    2019独角兽企业重金招聘Python工程师标准>>> 本文为大家讲解的是Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such ...

  9. Dnn中常见的一个错误及可能原因:Could not find stored procedure 'dbo.GetPortals'

    Could not find stored procedure 'dbo.GetPortals' 错误的 {objectqualifier}. 数据库的版本保存在dnn.config 中,assemb ...

最新文章

  1. Linux操作系统(一:基本操作)
  2. 重学《动手学深度学习》转
  3. IOS开发基础知识--碎片45
  4. JavaScript代码(一)
  5. WebKit 内核源码分析 (一) Frame
  6. 在 IntelliJ IDEA 中,如何快速将选中文件用资源管理器打开
  7. java string逆序_java经典入门算法题,java初学者必备
  8. 你应该知道的Python3.6、3.7、3.8新特性 ,赶紧收藏!!
  9. 全靠阿里十年软测工程师的软测面试笔记,成功拿下12家大厂offer
  10. href=“javascript:void(0);”和href=void(change_code(this));
  11. 深度 ghost xp3 装IIS 方法
  12. 电力系统matlab仿真论文,基于MATLABSimulink的电力系统仿真 实验论文.doc
  13. Arccatalog连接到postgresql失败问题
  14. python3 sorted()的用法
  15. Goby - 新一代安全工具
  16. 耐得住寂寞,守得住繁华
  17. AI读书笔记:《剑桥五重奏—机器能思考吗?》
  18. 计算机绘图员证有无取消,计算机辅助设计
  19. linux gpu 风扇速度,如何在无头节点上调整NVIDIA GPU风扇速度?
  20. matlab对一组数据傅里叶变换,如何对一组数据进行离散傅里叶变换

热门文章

  1. java性能优化方案4——不要调用高开销方法
  2. 实现word在线预览 有php的写法 也有插件似
  3. mv命令(移动和重命名)
  4. XDU 翼讯账号算法
  5. noi 2728 摘花生
  6. RHEL6.3 DNS高级技术二 通过DNS主从区域复制实现DNS View负载均衡和冗余备份
  7. ASP.NET MVC 2 模型验证
  8. 微软:97%电子邮件属于垃圾邮件
  9. 【BZOJ4259】残缺的字符串
  10. 标注图+部分举例聊聊Vue生命周期