Cannot connect to SharePoint online to create SharePoint App in Visual Studio 2013
I have an Office 365 account and I am trying to create a SharePoint App via Visual Studio 2013 Here are the steps:
1. Open VS 2013 and select Office/SharePoint > App for SharePoint (type the name) then click OK
2. I type in URL of the site (of course https://) and Select SharePoint-Hostedoption, then click Finish
3. I get the Office 365 authentication dialog box.
I type in the username and password and it opens the SharePoint in the same rectangular dialog box and it stays there and nothing happens:
link : i.stack.imgur.com/USYcG.png
link : i.stack.imgur.com/rlUpJ.png
If I click the close icon on the Connect to SharePoint dialog box that still shows my SharePoint online site, I get the following error :
link: i.stack.imgur.com/p1ztW.png
If I click on OK I get the Connect to SharePoint dialog box again
Link : i.stack.imgur.com/ZgyW9.png
Hello,
I'd ask in the
Office 365 Community.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})
Similar Messages
-
Create SharePoint 2013 hosted app using visual studio 2013
i tried to create sharepoint hosted app, i just created a new project and try to deploy it but it failed every time with different error sometimes system account can't run the project, created another administrator and try to re deploy it so i had a new
error that the visual studio project need a administration permissions and i already grant the administration permissions for the new user, any one can provide a complete tutorials on how we can create new hosted sharepoint app using visual studio 2013
Mohamed AbdeenHi,
According to your post, my understanding is that you want to create SharePoint 2013 hosted app using visual studio 2013.
Here are some great blogs for your reference:
How to: Create a basic SharePoint-hosted app
My First Sharepoint-Hosted App in 2013 - CodeProject
Setting up your App domain for SharePoint 2013
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
Can't Create New Excel Project Visual Studio 2013 Office Tools The Project Cannot Be Created
I am having this issue on two computers. If I try to create an Excel 2013 Workbook C# in new projects, and choose create a new workbook, it starts to open Excel, and then I get this error in VS
I have tried:
Uninstall & Reinstall of VSTO from the Visual Studio Installer
Uninstall & Reinstall of Visual Studio 2013 Ultimate, (manually removing anything with visual studio that was left over)
Manually turning on the add-on Visual Studio Tools for Office Design-Time Adapter for Excel
Installing VSTO by hand
Enabling Macros
Running VS as administrator
Uninstalling & Reinstalling Office 2013 Pro Plus OLP
I have made this change to excel:
Like I said, this problem occurs on TWO pc's. I have tried 2013 Visual Studio R1 and R2. Does anyone have any ideas?
Edit 3-1-2015
There is still no answer to this, I have tried target frameworks:
4.0
4.5
4.51
And Running as Administrator. Recently I upgraded to the CTP of Visual Studio 2015 Ultimate and the same problem exists.Thanks for the reply.
The issue is not reproducible for me and I can confirm this not a known issue. We might need to do deeper troubleshooting at the repro machines.
Because of its complexity your question falls into the paid support category which requires a more in-depth level of support. If the support engineer determines that the issue is the result
of a bug the service request will be a no-charge case and you won't be charged. Please visit the below link to see the various paid support options that are available to better meet your needs.
http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
Sangeeth,MSFT -
Create Ajax Page on Visual studio 2013
Hi how are you, i try use ajax in visual studio 2013 i install ajax toolkit and i have tools but can not create aspx page for ajax please help me
thanksHi,
If you want to use AJAX Toolkit for SharePoint 2010 and 2013, here is a solution for your reference:
http://sharepointajax.codeplex.com/releases/view/93640
If the question not relate SharePoint, I suggest you post it to a suitable Forum, you will get more help and confirmed answers from there.
http://forums.asp.net/
Best Regards
Dennis Guo
TechNet Community Support -
Cannot install Selenium Components for Cross Browser Testing extension from Visual Studio 2013
Hello,
I am having some issues with installing Selenium Components for Cross Browser testing. I keep getting this error everytime. Yes, Visual Studio 2013 has been registered with a product key. However, I cannot seem to bypass this error. I tried to install
from http://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d and from Tools->Extensions and Updates from Visual Studio 2013. It just does not work. I have a copy of Visual Studio 2013. Yes, I already have Visual Studio
2012 Ultimate and Visual Studio 2013 Ultimate installed on my machine. What am I missing?Hi Antwan,
Please uninstall the VS, then reinstall it.
On the other hand, this issue is in the extension, I suggest that you should post it in
Selenium components for Coded UI Cross Browser Testing site for efficient response. (Q AND A)
Thanks
Best Regards
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How do i get SharePoint list as a data source in visual studio 2013
In word add-in application,i have added the tree view as a custom pane.Now i wanted to load tree view from share point list.Could you please help to load sharepoint list from Visual Studio.
Refer to the following posts, hope it helps
http://social.technet.microsoft.com/Forums/sharepoint/en-US/b392871a-b504-4679-a724-f85deb602ed2/how-to-bind-sharepoint-list-to-wpf-treeview
http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data
--Cheers -
How to create Event Receivers using Visual Studio 2013
No parsing error came while creation of Event Receiver in Visual Studio 2013
Hi Shaheena
Please search MSDN Articles, TechNet Articles and The Code Project Articles before asking questions.
Answers to the basic as well as professional questions are available there.
Go through the links below for the issue.
Create an Event Receiver
Indul Hassan
Microsoft Community Contributor
http://www.indulhassan.com
You Snooze.. You Lose !! -
Windows 7 with SharePoint 2013 Foundation and Visual Studio 2013
Hi,
I am begginer with Sharepoint 2013 Foundation.
My company installed Sharepoint 2013 Foundation on a virtual Server. I installed
Visual Studio 2013 on my local computer. Also i created a developer site.
Based on http://msdn.microsoft.com/en-us/library/office/jj220047(v=office.15).aspx#RDOverview I installed Office
Developer Tools for Visual Studio 2013 on my local computer.
I am trying to remotely develop apps
with Visual Studio 2013. In the option What SharePoint site do you want to use for debugging your App? i put the url
of developer site.
First of all, i had to choose if the apps will be SharePoint-hosted or Provider-hosted apps. Based on http://msdn.microsoft.com/en-us/library/office/fp142379(v=office.15).aspx and http://msdn.microsoft.com/en-us/library/office/fp142381(v=office.15).aspx,
i decided to followed SharePoint-hosted because is the only type that applies to SharePoint 2013 Foundation.
I followed the steps of http://msdn.microsoft.com/en-us/library/office/fp142379(v=office.15).aspx, which is the quide for How to:Create a basic SharePoint-hosted app. In Step 10 for deploy my app i get the following error:
Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
What is the problem?
Also, the visual studio need to be installed on the server where sharepoint was installed?
Moreover, do I need app catalog for testing and deploy apps?
thanks, AphroditeHi,
According to your post, my understanding is that you have an issue about creating app.
Per my knowledge, the issue is caused that you don’t configure the app catalog URLs from the central administration.
It means that we should create an App site catalog site collection to hold our Apps.
More reference:
http://www.sharepoint-journey.com/app-development-in-sharepoint.html
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Visual Studio 2013 problem during develop basic SharePoint-hosted app
Hi,
i am begginer in developing Sharepoint apps using Visual studio 2013.
I followed this instructions http://msdn.microsoft.com/en-us/library/fp142379.aspx for creating a basic SharePoint-hosted app.
When i tried to build my application (Step 10 in create and deploy your first Sharepoint-hosted app) i got the following error:
Error occurred in deployment step 'Install app for SharePoint': Sideloading of apps is not enabled on this site.
What is the problem?
thanks, Aphroditehttp://blogs.msdn.com/b/josrod/archive/2013/02/04/quot-sideloading-of-apps-is-not-enabled-on-this-site-quot.aspx
In order to publish a SharePoint hosted app to a site collection the site must be based on the developer site template or have the “Developer” Feature enabled on it. The “Developer” Feature is marked as hidden in its definition so you must use PowerShell
to enable the Feature.
Enable-SPFeature e374875e-06b6-11e0-b0fa-57f5dfd72085 –url
http://sp.contoso.com
Also check below:
http://blogs.msdn.com/b/officeapps/archive/2013/12/10/enable-app-sideloading-in-your-non-developer-site-collection.aspx
If this helped you resolve your issue, please mark it Answered -
Visual studio 2013 cannot connect to SharePoint 2013 site
I am developing a SharePoint 2013 provider-hosted app (MVC web application). When I am trying to deploy the application on the SharePoint dev site, I am getting below
error :
Cannot connect to the SharePoint site: . Make sure that this is a valid URL and the SharePoint site is running on the local computer. If you moved this project to
a new computer or if the URL of the SharePoint site has changed since you created the project, update the Site URL property of the project.
I also checked the SharePoint site url is working in the browser on my development machine.
If any one of you have faced or/and resolved a problem like this one, please let me know.
Thanks.
SatishHi,
1. Please check if the Site URL is right in Visual Studio 2013 project.
2. Try to use the administrator account of the developer site to connect.
3. Reinstall Office Developer Tools.
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support -
SharePoint Connection not available with Visual Studio 2013
I've installed Visual Studio 2013 in my SharePoint 2010 environment. When I try to add the existing SharePoint Connections I've used in Visual Studio 2010 there is always the same error: Remote SharePoint site connections are not supported. The SharePoint
site is located at the same server, I'm able to access the Central Administration with Visual Studio 2013, but I can't access my development SharePoint Web Application.
I'm sure I do have access to the configuration database, in Visual Studio 2010 I'm able to delete and add SharePoint Connections without any problems. The URL of the development SharePoint connection (like sp1.sharepoint.contoso.com) is not named like
the URL of the Central Administration (like servername:5000). The port of my development SharePoint is 80, but I can't access with servername:80 too. My account is in the group of the local administrators, Visual Studio is started as Administrator
and my account is a SharePoint farm administrator and additionally a site collection administrator of all site collections in my SharePoint web application.
Any idea what's wrong with this SharePoint connections?
Thanks in advance. GeorgCan you try the following workaround and see if it helps? First try adding host entry for your server name and if that works change it to sp1.sharepoint.contoso.com.
SharePoint
2013 Visual Studio Project Error – “Cannot connect to the targeted site”
I understand your situation is different than the one mentioned in the blog but given you seem to have all the permission so may be you try and see if the error is because of above issue. Actually if above does not work (assuming your are on your development
environment), try adding your account to DB Owner on your site collection database as mentioned here.
http://www.sharemuch.com/2010/03/19/resolving-vs-2010-solution-deployment-issues-for-sharepoint-2010-projects/
Amit -
Sharepoint 2010 Remote Development using Visual Studio 2013 Connection Errors
I have a customer who is using a custom skinned site developed in Sharepoint 2010.
I am trying to debug a webpart that is not loading on a page.
My Environment:
Local Laptop running Win 7 64 Enterprise, Visual Studio 2013, and Sharepoint Designer 2010.
I connect to the customers network via VPN and use RDP to access the server. I have Admin rights to the server.
Everything that I have read indicates that Web Part dev has to be done in VS. When I try to connect using server explorer, VS kicks back a 'Server Can not be found' error.
I have tried using the computer name, the app url listed in SP Central Admin, the IP address of the box, and the actual URL of the site. However, VS can not connect to the server.
I have done some homework on connecting VS to a remote machine:
Adding New Servers in Server Explorer
http://msdn.microsoft.com/en-us/library/edfcxas2%28v=vs.71%29.ASPX
Add Server Dialog Box
http://msdn.microsoft.com/en-us/library/107b72aa%28v=vs.71%29.ASPX
SharePoint -how to connect remotely to production server
http://stackoverflow.com/questions/3188364/sharepoint-how-to-connect-remotely-to-production-server
SharePoint 2010 Development with Visual Studio
http://stackoverflow.com/questions/10529917/sharepoint-2010-development-with-visual-studio
Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008
http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx
Using SharePoint Designer 2010 to Work with Web Parts
http://msdn.microsoft.com/en-us/library/ff630941%28v=office.14%29.aspx#odc_sp14_qn_UsingSharePointDesigner2010WorkwithWebParts_CreateXSLTListView
The last connection article is confusing because one of the SO answers indicates that you do not need to have SP2010 installed.
I have been doing lots of reading on SP structure, and it seems to jump all over the place. (Or at least my research does). I have been reading this Ebook:
SharePoint 2010 Development with Visual Studio 2010
http://books.google.com/books/about/SharePoint_2010_Development_with_Visual.html?id=TVKICs4vHTcC
My questions are:
Why cant I connect to the Server if I connected through VPN which would inherently make the server a local network computer?
Do I need to have VS installed on the actual server? I read that I can install Sharepoint Foundation locally and this will give me access to the server in VS.
Do I need to have the full version of VS installed in order to use Remote Tools?
For the Web Parts:
Why cant I see the web parts in Sharepoint Designer? I take it they are exclusively designed in VS, which brings me back to the questions above.
In Sharepoint Designer, I can see a custom view that was created from a custom list. I want to add that list to the page where the web part isnt working. When I open up the Edit Interface, and try to find that list, it does not display in the 'Lists and Libraries'
menuHello,
As per your description, remote deployment is not possible for server side code in sharepoint so if you are using server object model then you won't be able to debug or deploy your solution from visual studio.
VS is not required to installed on UAT/prod server but you need sharepoint along with visual studio in same development machine to develop any custom webpart.
Once you deploy your custom webpart on site then you will be able to see that webpart in webpart gallery and that gallery is also available in designer so it means you can also add your custom webpart from designer to any page.
Correct me if i misunderstood you
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Scripting in Visual Studio 2013 against Sharepoint online - is it possible?
Hi,
I've been plowing through documentation on developing SharePoint apps but all I really want to do (right now anyways) is getting a more robust environment for coding scripts and HTML on SharePoint online 2013.
Currently I'm using SharePoint Designer 2013 to edit scripts that are in webparts like the Content Editor. It works but SharePoint Designer has terrible syntax highlighting and when things get complex it's a pain.
Question is: How can I point Visual Studio 2013 Community at a SharePoint 2013 online (Office 365) site so that I can open scripts and edit/publish like is done in SharePoint designer? I need to be able to achieve this without all the sharepoint server
malarkey.
Is it possible? Can someone point me at a resource? I've done a lot of digging but can't find anything so maybe not doable but couldn't hurt to ask.
Thanks,
JerryWhile working with app development, especially SharePoint hosted apps you can use SPFastDeploy VS extension to deploy the changes from your app.
https://visualstudiogallery.msdn.microsoft.com/9e03d0f5-f931-4125-a5d1-7c1529554fbd
If you create a SharePoint will create set of script files where App.js is the Key file and for HTML you can use Default.aspx. You can make changes to these files and just deploy only those changes to the App which will save lot of time and you can see the
changes immediately.
Regarding VS 2013 community, i haven't tried yet specific to SharePoint apps development.
Hope this helps.
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
How to create a three state approval workflow in SharePoint 2013 using visual studio 2013
Hi Everyone,
i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
i want develop this workflow using visual studio 2013 only, not using designer..
Thanks in Advance.....
MalleshHello,
you can find multiple sample on the web like those
http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
http://msdn.microsoft.com/en-us/library/ee231606.aspx
I don't think that's very different using VS2013 or VS2012
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer? -
Getting a error while running creating a sample page on sharepoint 2013 and visual studio 2013
hi,
When i trying to create a sample web service for create page dynamically to sharepoint 2013 using visualstudio 2013 getting a error message while consume the web service browser itself. so i have tried to change the target platform but
to 32 but its not possible but only "Any CPu" available on the list
Visual Studio :2013
Sharepoint 2013
Error msg :
Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.
at Microsoft.SharePoint.Utilities.SPUtility.CheckFrameworkAndProcess()
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_RegistryConnectionString()
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Local()
at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm, Boolean& isJoined)
at Microsoft.SharePoint.Administration.SPFarm.get_Local()
at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
code :
<%@ WebService Language="C#" Class="sharepoint_cust_service" %>
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Publishing;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class sharepoint_cust_service : System.Web.Services.WebService {
[WebMethod]
public string HelloWorld() {
return "Hello World";
[WebMethod]
public void Export_To_Sharepoint()
SPSite site = null;
SPWeb web = null;
site = new SPSite("http://sites/pages/");
web = site.OpenWeb();
PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web);
SPContentTypeId contentType = new SPContentTypeId("NewContentTypeID");
PageLayout[] layouts = publishingWeb.GetAvailablePageLayouts(contentType);
PageLayout pageLayout = layouts[0];
string pageName = Server.MapPath("/newpage.aspx");
PublishingPage newPage = publishingWeb.GetPublishingPages().Add(pageName, pageLayout);
newPage.Update();
newPage.ListItem.File.CheckIn("created");
newPage.ListItem.File.Publish("created");
web.Dispose();
site.RootWeb.Dispose();
site.Dispose();
Software developergoto propeties of your project and click on build tab and select 64X or any cpu platformtarget as it should work .
Maybe you are looking for
-
i have recently changed my Apple ID password, but i now cant access my icloud with the new password, i thought the 2 were linked?
-
Nokia 6230i and Mercedes Car. Working.. Just a cou...
Hi I've got a Mercedes C220 '55' reg. Nokia 6230i and Nokia B6 787 5846 The phone works well in the car, but I have a couple of questions: How do I program speed dials for use in the car ? If I press and hold '2' in the car, I get a error similar to
-
I want to delete my account at http://www.getpersonas.com.
-
in the debug level normally we can trace the step by step. but how can we trace the sql statements.
-
Aggregating Cube dimensioned by Compressed Composite
What is the optimum way to aggregate cubes dimensioned by compressed composites using DBMS_AW.EXECUTE? I am not able to figure out why the DBMS_CUBE package performs better then DBMS_AW. Test results from the sample Global Schema: Load 5 records and