Using LocalDB with Full IIS
来源:互联网 发布:centos重启vnc服务 编辑:程序博客网 时间:2024/05/29 07:34
使用了LocalDB的ASP.NET程序在部署到IIS时会报错。修改步骤如下:
1)setProfileEnvironment需设置为true
This requires editing applicationHost.config file which is usually located in C:\Windows\System32\inetsrv\config.
Following the instructions from KB 2547655 we should enable both flags for Application Pool ASP.NET v4.0, like this:
<add name="ASP.NET v4.0" autoStart="true" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated">
<processModel identityType="ApplicationPoolIdentity" loadUserProfile="true" setProfileEnvironment="true" />
</add>
2)Run IIS as our Windows user
详细信息请参考:
1)http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-1-user-profile.aspx
2)http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-2-instance-ownership.aspx
- Using LocalDB with Full IIS
- aaa using radius, localdb, with group mapping and default group.
- MVC5+LocalDb发布到IIS
- localdb
- Using Active Directory with IIS 7.0 webfarms by Steve Schofield(配置IIS 7.0 WebFarms)
- Using Immersive Full-Screen Mode
- Robust and High Performance PHP with IIS: Using FastCGI | PHP Everywhere
- Using WebDAV with IIS -- http://www.windowsnetworking.com/ - Easy Company 的 .Net 开发博客 - 博客园
- Full Text Indexing using Oracle Text
- 解决方案——Connect to an old database using LocalDB in VS
- Using OpenGL with MFC
- Using C++ With PHP
- Using Lucene with OJB
- Using SVN With Ant
- Using FCKeditor with JavaScript
- Using PHP with PostgreSQL
- Using OpenGL with MFC
- Using Flex with Spring
- 基础连接已经关闭: 服务器关闭了本应保持活动状态的连接。(附带截图)
- C# ASP.NET CSV文件导入数据库
- 虚拟机的备份(快照、复制、克隆)
- code3
- 如何处理Activity横竖屏切换时 fragment会添加一个被又new一次的现象
- Using LocalDB with Full IIS
- 顶级风投First Round Capital对创业者的30个建议
- Oracle Study之案例--数据恢复神器Flashback(3)
- 一维Burgers方程数值解法
- 安卓中,eclipse中无法执行,adb.exe' and can be executed.
- hdu 1561 The more, The Better DP
- UIAlertController 自定义输入框及KVO监听
- linux/module.h 中的一些MODULE宏定义
- Android图片上传(头像裁切+原图原样)