惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
SegmentFault 最新的问题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Attack and Defense Labs
Attack and Defense Labs
F
Full Disclosure
Vercel News
Vercel News
N
News | PayPal Newsroom
The GitHub Blog
The GitHub Blog
H
Hacker News: Front Page
H
Heimdal Security Blog
P
Privacy International News Feed
博客园 - 司徒正美
Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cisco Blogs
L
Lohrmann on Cybersecurity
D
Docker
Recent Announcements
Recent Announcements
Security Archives - TechRepublic
Security Archives - TechRepublic
人人都是产品经理
人人都是产品经理
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Proofpoint News Feed
T
Tailwind CSS Blog
C
Check Point Blog
博客园 - 叶小钗
Google Online Security Blog
Google Online Security Blog
Martin Fowler
Martin Fowler
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
S
Secure Thoughts
博客园 - Franky
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
P
Palo Alto Networks Blog
Latest news
Latest news
量子位
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
The Cloudflare Blog
Last Week in AI
Last Week in AI
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Cyberwarzone
Cyberwarzone
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
Hacker News: Ask HN
Hacker News: Ask HN
T
Threatpost
T
Tenable Blog
P
Privacy & Cybersecurity Law Blog
WordPress大学
WordPress大学

博客园 - KID

Core 1.0中publishOptions Include的bug EF Core 1.0 和 SQLServer 2008 分页的问题 net core 控制台中文乱码的解决方案 Evolution项目(1) asp.net5 Area的处理 asp.net5 操作Cookie 敏捷项目开源管理软件ScrumBasic(2)- 多项目支持 敏捷项目开源管理软件ScrumBasic(1) sharepoint 签入iframe出错的问题 wcf rest security 关于html5缓存部分比较详细的说明 sps2013安装错误 sp2013版本区别 httpmodule sharepoint sharepoint session form timeout office2010 x64 Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 800 iphone 流媒体 ad 发光动画
sharepoint2013 错误2
KID · 2013-01-07 · via 博客园 - KID

Whe I'm following this article  http://msdn.microsoft.com/en-us/library/office/apps/fp179923%28v=office.15%29

I met some issue, I wrote it here, wish it is helpful for some one who want to set up an on-premises development environment for apps for SharePoint 2013 Preview.

You can download the SP 2013 preview version from http://technet.microsoft.com/en-us/evalcenter/hh973397.aspx

1. When runing the "SharePoint 2013 Products Configuration Wizard", there will be a error when creating configuration database

 Failed to connect to the configuration database.
An exception of type System.Management.Automation.CmdletInvocationException was thrown. Additional exception information: ErrorCode<NonDomainNWService>:SubStatus<ES0001>:Service running under Network Service account in workgroup environment is not supported.

The solution is :

   a. Start the cmd as administrator

   b. Cd to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN

   c. Execute command: psconfig.exe -cmd Configdb create SkipRegisterAsDistributedCacheHost

   d. Run the "SharePoint 2013 Products Configuration Wizard" again.

2. After  runing "SharePoint 2013 Products Configuration Wizard" again, you will see another error:

The SDDL string contains an invalid sid or a sid that cannot be translated. Parameter name:sddlForm

The solution is: Just ignore this error, it is not fatal error

3. When run the powershell script to "Create an isolated app domain on your development computer", in the step 6, be careful, don't just copy the powershell, need to format it and replace with your own account name(MossTestBox\Administrator):

  1. $account= Get-SPManagedAccount "MossTestBox\Administrator"   
  2. $appPoolSubSvc= New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account  
  3. $appPoolAppSvc= New-SPServiceApplicationPool -Name AppServiceAppPool -Account $account  
  4. $appSubSvc= New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp –DatabaseName SettingsServiceDB   
  5. $proxySubSvc= New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc  
  6. $appAppSvc= New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppServiceApp1 -DatabaseName AppServiceDB  
  7. $proxyAppSvc= New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc  
$account= Get-SPManagedAccount "MossTestBox\Administrator" 
$appPoolSubSvc= New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account
$appPoolAppSvc= New-SPServiceApplicationPool -Name AppServiceAppPool -Account $account
$appSubSvc= New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp –DatabaseName SettingsServiceDB 
$proxySubSvc= New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc
$appAppSvc= New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppServiceApp1 -DatabaseName AppServiceDB
$proxyAppSvc= New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc


After resolve these above issues, you can start VS2012 to create your first SharePoint host App.

 

 After deploying the app, you can find it in site contents: