Database connection error in Visual Studio 2013
I am using Visual Studio 2013 and have installed MS SQL Server 2014. I am trying to generate my database from a model (edmx) but I get the following error: Cannot
connect to <Database>. An incompatible SQL Server version was detected (Microsoft.VisualStudio.Data.Tool.Sqleditor)
In the edmx.sql file, is written:
-- Entity Designer DDL Script for SQL Server 2005, 2008, 2012 and Azure
I can see that 2014 version is missing from this generated file, and seems that the program tries to connect to the 2012 version .. how can I avoid this and manage visual studio tu use the 2014 version of MS SQL Server? Thanks in advance
I already updated the SQL Server Data Tools to the newest version.
Hello,
Please read the following article:
http://support.microsoft.com/kb/2858352/en-us
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com
Similar Messages
-
Error during visual studio 2013 intallation on windows 8.1
After installing windows sdk 8.1, I've decided to install visual studio 2013,when it reached 70% of the installation process it stopped and told me that I have vGraphic data error(data redundancy) what is that??? and how can I fix it,this is the logs file:
vslogsI found numerous instances of "Error 0x80070017: Failed attempt to copy payload" in your install log.
For the error code “-2147024873” which is 0x80070017, it means “Data error (cyclic redundancy check)”. I recommend you run the Chkdsk.exe tool to check
the disk for errors:
Click
Start, and then click Run.
Type
cmd in the Open box, and then click OK.
At the command prompt, type
Chkdsk /f, and then press ENTER.
Press Y when you are prompted to check the disk next time that the system restarts.
Close all applications and restart the computer.
Note: During the restart process, Windows checks the disk for errors and then starts. -
Library not registered error in Visual Studio 2013.
Whenever I attempt to build a solution, build multiple projects, or even run a program (with debugging) in visual studio 2013, I receive the error below.
"Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))"
I have attempted to fix this by repairing my Visual Studio installation, but without success.
I believe the issue to be with Visual Studio itself, though, because this happens with every solution I have tried it with.
Any assistance in resolving this issue would be most appreciated.Hi ndowney,
Based on your issue, could you please tell me if you install some other tools on your machine before you get the ""Library not registered" error?
(1) If yes, please you disable or un-install these tools and then build solution/project check this issue again.
(2)If no, to check if the issue is related to the VS IDE, please refer the following steps to check this error message.
(2.1) I suggest you could try the following commands to check if it is helpful.
a. Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
b. Run devenv /Resetsettings to eliminate the cause of corrupted settings.
c. Run devenv /ResetSkipPkgs in Command Prompt.
If above still cannot work, try use this command again: devenv /resetsuerdata
(2.2) If the above suggestion still could not help you, maybe you will need to re-install the VS2013 and then check this issue again.
If you have any latest message about your issue, please tell me.
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. -
Invalid Markup error in visual studio 2013
Hi,
I am using Visual Studio 2013 Ultimate on Windows 8.1 for WPF project. I added two .dll libraries as reference: dataGrid2d and GraphSharp, however my XAML design editor don't recognize any XAML markup from this libraries (Invalid Markup error). Project compiles
and works fine and I can't figure out what is wrong with visual editor.
Thank you in advance.Here are libraries http://1drv.ms/153lGSe
I can normally use them in XAML and in c# code behind, everything is working fine in my app after compilation, I just can't see it in design editor. Errors are:
Error 1 The name "DataGrid2D" does not exist in the namespace "clr-namespace:DataGrid2DLibrary;assembly=DataGrid2DLibrary". C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\TransitionFunctionWindow.xaml
12
Error 2 The name "ZoomControl" does not exist in the namespace "clr-namespace:WPFExtensions.Controls;assembly=WPFextensions". C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\MainWindow.xaml
53
Error 3 The name "GraphLayout" does not exist in the namespace "clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls". C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\MainWindow.xaml
54 -
Error Opening Visual Studio 2013 Please Help?
Hi, I just installed the program "Microsoft Visual Studio Ultimate 2013", I installed it using the on screen instructions successfully, it asked
me to restart the computer, I did and was very excited to use the software but when i opened it said that "An error occurred while starting for the first time. Please restart Microsoft Visual Studio." , I restarted the program and still the same
error occurs, I restarted the computer still did not work, I re installed the software like 10 times (no extradition), I tried to press the repair button still did not work after repair, I installed the update patch and still did not fix, I restarted my internet
and still did not work, i called Microsoft support team and no response (too expensive to call again) and still nothing worked.
I know that there is other versions available for this software such as professional but I am willing to purchase this product after it installs correctly
as this has all the features I really need... Please help
My computer specifications:
Operating system; Windows 7 SP1 x64 Bit
RAM: 4GB
HDD: 70GB (Allocated Partition)
Processor: Intel Core I5 3.40 GHz
I tired to be detailed as i can please i really need help urgently ASAP.
Thanks
Full Error Log can be found here;
(Image)
http://s23.postimg.org/vdt7hcw1n/fulldebugerror.png
MilanHi,
And from the log message you offered, you get the following error message:
Unable to cast COM object of type 'System._ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsProfileDataManager'
The
IVsProfileDataManager provides access to the profile manager and to programmatic control of settings. The error message turns out that you get a broken registration for IVsProfileDataManager.
Do you get any error message during the Visual Studio installation? You can use the
collect.exe tool to collect VS installation logs and upload the vslogs.cab file in the %temp% folder to the SkyDrive, then post back the link.
Thanks.
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. -
Deployment Error from Visual Studio 2013
I have been publishing my Azure web role and worker roles once or twice per week for the last year. 3 days ago I began getting this when publishing from VS:
8:44:19 AM - Checking for Remote Desktop certificate...
8:44:21 AM - Applying Diagnostics extension.
8:45:13 AM - The server encountered an internal error. Please retry the request.
Always the same three lines. I have tried 20x over the last 3 days. The only posts I can find that sound related deal with intermittent network issues. Since this has been going on for 3 days and I see no service issues listed on
http://azure.microsoft.com/en-us/status/, I do not think my problem is related to a network issue.
I am able to successfully package from VS, then publish via the Azure web portal.
Does anyone know how I can troubleshoot problems publishing? Thanks.Sowmya,
I opened a support ticket but was told since it did not have to due with billing that they cannot help since I have not paid for technical support. Is there any way I can troubleshoot the problem that I am having? I generally solve things myself,
but since I am not getting any indication of what the problem is, I do not know where to look. Again I can manually package the solution, upload to BLOB storage, and update my cloud services through the control panel. So it is a fine workaround for now,
but it takes much longer than simply publishing from VS2013 which is what I had always done in the past. But now I get this "an internal error has occurred". It is hard to believe someone coded the system to even give such a useless message.
Any other options?
Thanks,
Denis -
Cannot Connect to Azure SQL Database in Visual Studio 2013
Beyond Frustrated here.
I am trying to connect to an Azure SQL database - it has been created, has tables etc. I am trying to create a new Data Connection from within Visual Studio 2013, latest release for VS and Azure. I continue to receive the following error:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
I have ensured that TCP is allowed and above Named Pipes in the Configuration Manager. The associated IP address is allowed on Azure Firewall. Certificate has been added to VS etc. But still no connection. I can see the database in the Azure section in Server
Explorer, but cannot add a Data Connection. What is equally as frustrating is I have a MacBook Pro running Win 7 sitting right next to my office computer and it can access Azure fine, not problems.
If anyone has any other ideas on how I might be able to solve this I would love to hear them. Thanks in advance.
JeffHi,
The Error message " A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is
configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) "
The issue comes up mainly because the application is not able to connect to the server.
To resolve this issue, try the following steps (in that order):
Make sure that TCP IP is enabled as a client protocol on the application server. For more information on how to do this, see
Configure client protocols. On application servers where you do not have SQL Server tools installed, you can check this by running cliconfg.exe (SQL Server Client Network Utility).
2. Check the application’s connection string to make sure that it is correctly configured. For example, make sure that the connection string specifies the correct port (1433) and the fully qualified server name.
Note You can follow these steps to obtain the connection string from the Azure Management Portal:
Log on to the
Azure Management Portal.
In the left navigation pane, click
SQL Databases.
Select your Azure SQL Database server.
Click
Dashboard.
On the right side, go to the
quick glance section, and then click Show connection strings.
Test the connectivity between the application server and the Azure SQL database by using a UDL file, ping, and telnet. For more information about how to do this, see
Azure SQL Database connectivity troubleshooting guide and
Troubleshooting SQL Server connectivity issues.
Note As a troubleshooting step, you can also try to test the connectivity on a different client computer.
Try increasing the connection timeout. Microsoft recommends using a connection timeout of at least 30 seconds.
As a best practice ensure retry logic is in place. For more information about the retry logic, see
Azure SQL Database best practices to prevent request denials or connection termination.
If these steps do not resolve your problem, follow the below steps to collect more data and contact support:
If your application is a cloud service, enable the logging. This step returns a UTC time stamp of the failure. Additionally, SQL Azure returns the tracing ID.
Microsoft Customer Support Services can use this information.
For more information about how to enable the logging, see
how to enable diagnostic logging for Azure Web sites and Developing SQL Database Applications section in
Azure SQL Database Development Considerations.
Check out
the list of best practices for Connecting to Windows Azure SQL Database.
Regards,
Shirisha Paderu. -
I can't install multi language pack - english for visual studio 2013 update 3
Error : Microsoft portable library multi-targeting language pack - enu element not fount
Error : Microsoft visual studio 2013 performance collection tools - ENU package failed.
I have downloaded visual studio 2013 in some other language. I wanted to change it to English so I downloaded multi language pack- English and installed. I came up with the above error. Please help me. Thanks in advance.I don't know of a reason you posted your question in a Visual Basic forum. You should probably find a Visual Studio forum to post your question in.
However I've never tried to do what you want to do. But maybe these links can assist you.
Microsoft Language Interface Packs (LIPs) and Visual Studio
"When you install different language versions of Visual Studio on the same computer, you can only switch languages between matching editions. For example, if you have an English Express Edition installed, a German Express Edition installed, and a Professional
Edition installed, you can only switch languages for the Express Editions, not for the Professional Edition.
Starting with Visual Studio 2012, the Professional, Premium, and Ultimate products use a unified language pack. To install more than one language version of these products, you must install a full language product first and then install one or more language
packs." |||||||||| "NOTE: The Professional, Premium, and Ultimate products starting in Visual Studio 2012 don't support installing multiple language versions of the full language product on the same computer. After you install one
full language product, you must add language versions by using language packs. You can still install multiple full language products of the Express editions on the same computer."
Visual Studio 2013 - Microsoft Language Interface Packs (LIPs) and Visual Studio
Frequently Asked Questions - Windows Language Interface Pack (LIP)
La vida loca -
Errors in visual studio webpage code (Trying to connect the website to a database)
I am trying to create a website on (visual studio) and connect it to database(Microsoft sql server 2014) first I am learning from a video on youtube the tutorial is about a coffee website and database
I have a few errors but I dont know where is the problem
the errors in this page(Coffee.aspx.cs)
Error 1 Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). C:\Users\Ziyad 1\Documents\Visual Studio
2013\WebSites\MyWebsite\Pages\Coffee.aspx.cs 7 33 MyWebsite
Error 4 'ASP.pages_coffee_aspx.ProcessRequest(System.Web.HttpContext)': no suitable method found to override c:\Users\Ziyad 1\AppData\Local\Temp\Temporary ASP.NET Files\root\e78a0b4c\be391a08\App_Web_k4b10ys2.0.cs
572
Error 3 'ASP.pages_coffee_aspx.GetTypeHashCode()': no suitable method found to override c:\Users\Ziyad 1\AppData\Local\Temp\Temporary ASP.NET Files\root\e78a0b4c\be391a08\App_Web_k4b10ys2.0.cs
567
Error 5 'ASP.pages_coffee_aspx' does not implement interface member 'System.Web.IHttpHandler.IsReusable' c:\Users\Ziyad 1\AppData\Local\Temp\Temporary ASP.NET Files\root\e78a0b4c\be391a08\App_Web_k4b10ys2.0.cs
185
and here is the page (Coffee.aspx.cs) code
using System;
using System.Collections;
using System.Text;
namespace Pages
public partial class Pages_Coffee : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
FillPage();
private void FillPage()
ArrayList coffeeList = ConnectionClass.GetCoffeeByType(DropDownList1.SelectedValue);
StringBuilder sb = new StringBuilder();
foreach (Coffee coffee in coffeeList)
sb.Append(
string.Format(
@"<table class='coffeeTable'>
<tr>
<th rowspan='6' width='150px'><img runat='server' src='{6}' /></th>
<th width='50px'>Name: </td>
<td>{0}</td>
</tr>
<tr>
<th>Type: </th>
<td>{1}</td>
</tr>
<tr>
<th>Price: </th>
<td>{2} $</td>
</tr>
<tr>
<th>Roast: </th>
<td>{3}</td>
</tr>
<tr>
<th>Origin: </th>
<td>{4}</td>
</tr>
<tr>
<td colspan='2'>{5}</td>
</tr>
</table>", coffee.Name, coffee.Type, coffee.Price, coffee.Roast, coffee.Country, coffee.Review, coffee.Image));
lblOuput.Text = sb.ToString();
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
FillPage();
also tis is the page (Coffee.aspx)code
<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage.master" AutoEventWireup="true" CodeFile="Coffee.aspx.cs" Inherits="Coffee" %>
<script runat="server">
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p>
Select a type:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="sds_type" DataTextField="type" DataValueField="type" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
</asp:DropDownList>
<asp:SqlDataSource ID="sds_type" runat="server" ConnectionString="<%$ ConnectionStrings:CoffeeDBConnectionString %>" SelectCommand="SELECT DISTINCT [type] FROM [coffee] ORDER BY [type]"></asp:SqlDataSource>
</p>
<p>
<asp:Label ID="lblOutput" runat="server" Text="Label"></asp:Label>
</p>
</asp:Content>
this is th (ConnectionClass.cs)code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Collections;
using System.Configuration;
using System.Data.SqlClient;
public static class ConnectionClass
private static SqlConnection conn;
private static SqlCommand command;
static ConnectionClass()
string connectionString =
ConfigurationManager.ConnectionStrings["coffeeConnection"].ToString();
conn = new SqlConnection(connectionString);
command = new SqlCommand("", conn);
public static ArrayList GetCoffeeByType(string coffeeType)
ArrayList list = new ArrayList();
string query = string.Format("SELECT * FROM coffee WHERE type LIKE '{0}'", coffeeType);
try
conn.Open();
command.CommandText = query;
SqlDataReader reader = command.ExecuteReader();
while (reader.Read())
int id = reader.GetInt32(0);
string name = reader.GetString(1);
string type = reader.GetString(2);
double price = reader.GetDouble(3);
string roast = reader.GetString(4);
string country = reader.GetString(5);
string image = reader.GetString(6);
string review = reader.GetString(7);
Coffee coffee = new Coffee(id, name, type, price, roast, country, image, review);
list.Add(coffee);
finally
conn.Close();
return list;
(web.confg)code
<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings>
<clear/>
<add name="coffeeConnection"
connectionString="Data Source=LOCALHOST\SQLEXPRESS;Initial Catalog=CoffeeDB;Integrated Security=True"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<authentication mode="Windows"/>
</system.web>
</configuration>
and finally this is the SQL code
GO
CREATE TABLE [dbo].[coffee](
[id] [int] IDENTITY(1,1) NOT NULL,
[name] [varchar](50) NOT NULL,
[type] [varchar](50) NOT NULL,
[price] [float] NOT NULL,
[roast] [varchar](50) NOT NULL,
[country] [varchar](50) NOT NULL,
[image] [varchar](255) NULL,
[review] [text] NOT NULL,
PRIMARY KEY CLUSTERED
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
SET IDENTITY_INSERT [dbo].[coffee] ON
INSERT [dbo].[coffee] ([id], [name], [type], [price], [roast], [country], [image], [review]) VALUES (1, N'Café au Lait', N'Classic', 2.25, N'Medium', N'France', N'../Images/Coffee/Cafe-Au-Lait.jpg', N'A coffee beverage consisting strong or bold coffee (sometimes espresso) mixed with scalded milk in approximately a 1:1 ratio.')
INSERT [dbo].[coffee] ([id], [name], [type], [price], [roast], [country], [image], [review]) VALUES (2, N'Caffè Americano', N'Espresso', 2.25, N'Medium', N'Italy', N'../Images/coffee/caffe_americano.jpg', N'Similar in strength and taste to American-style brewed coffee, there are subtle differences achieved by pulling a fresh shot of espresso for the beverage base.')
INSERT [dbo].[coffee] ([id], [name], [type], [price], [roast], [country], [image], [review]) VALUES (3, N'Peppermint White Chocolate Mocha', N'Espresso', 3.25, N'Medium', N'Italy', N'../Images/coffee/white-chocolate-peppermint-mocha.jpg', N'Espresso with white chocolate and peppermint flavored syrups.
Topped with sweetened whipped cream and dark chocolate curls.')
INSERT [dbo].[coffee] ([id], [name], [type], [price], [roast], [country], [image], [review]) VALUES (4, N'Irish Coffee', N'Alcoholic', 2.25, N'Dark', N'Ireland', N'../Images/coffee/irish coffee.jpg', N'A cocktail consisting of hot coffee, Irish whiskey, and sugar, stirred, and topped with thick cream. The coffee is drunk through the cream.')
SET IDENTITY_INSERT [dbo].[coffee] OFF
I am still a beginner ~~ I need to understand what are these errors and how to solve themHello,
Welcome to MSDN forum.
I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
Because your issue is about website, I suggest that you can consult your issue on ASP.NET forum:
http://forums.asp.net/
for better solution and support.
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. -
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 -
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 -
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 -
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.pngHello,
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$_"}}) -
Deploy app in Visual Studio 2013 error
When i try to deploy my app in Visual Studio 2013 i get this error:
Error occurred in deployment step 'Install app for SharePoint': We're sorry, we weren't able to complete the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator.
What could the problem be?Hi,
The following steps for your reference:
1. Grant DOMAIN\myApp_Admin accont a sysadmin server role on SQL server
2. Open SharePoint Power Shell and execute Add-SPShellAdmin <DOMAIN\myApp_Admin> command.
3. Grant DOMAIN\myApp_Admin a db_owner rights to web application Content database that you would like to use for debugging SharePoint 2013 app.
4. Make sure following roles are assigned for SharePoint_Config database
SharePoint_Shell_Access
SPDDataAccess
public
5. Make sure following roles are assigned for SharePoint_Content database
db_owner
6. Make sure following roles are assigned for SharePoint_AdminContent database
public
More information:
http://sharepointinterface.com/2012/12/21/whaddaya-mean-i-cant-deploy-my-sharepoint-app/
https://kolliparachandra.wordpress.com/2014/09/02/apps-development-visual-studio-issues/
Best Regards,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Hello,
I am having trouble installing certain packages that are digitally signed in the Visual Studio 2013 installation process. There's an attempt to determine whether or not a certificate has been revoked or not, and crl.microsoft.com is not available on the
server in question and therefore the certificate fails this test. The packages as a result fail to install and each has the following reason "A certificate chain could not be built to a trusted root authority." So the VS 2013 installation completes
yet SSDT and a few other packages are not installed.
There must be a way to install VS 2013 on a server without access to the Internet. The server is Windows Server 2008 R2 and is joined to a domain. Does anyone know how?
Thank you.Can you check the signature and confirm that the chain is complete? My guess is that the problem is not in revocation checking, but in chain building.
My weblog: en-us.sysadmins.lv
PowerShell PKI Module: pspki.codeplex.com
PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
Check out new: SSL Certificate Verifier
Check out new:
PowerShell FCIV tool.
I think you are correct. Thanks. There were revocation errors continuously (events 42, 41, 11, 10, and 40) but when I went and looked at the packages that failed in the ISO and right-clicked on them in Windows Explorer, then navigated to the Digital Signature
tab and viewed the certificate I noticed that the root cert Microsoft Root Certificate Authority 2011 was not installed on the server. I found a Microsoft KB download that had the 2010 and 2011 MS Root certs in it (http://www.microsoft.com/en-us/download/details.aspx?id=6149)
and installed it. This installed WAY too many root certs of different CAs. Though I'm in the process of reinstalling VS 2013 and I think it will work now.
Is there a way to do this in a more deliberate fashion? How would I go about assessing each packages' certificate that failed and determining the chain of certs I need to build, then downloading these certs, and then testing them? The least
privilege, or fewest certificates way...
Thank you.
Maybe you are looking for
-
How can I display only speaker notes on iPad?
I have an IT dept that takes care of getting the ppt slides on the screen. I just want to use my iPad for my notes. Being able to get the notes into my iPad from a ppt would be awesome.
-
Could Somebody Please Explain....
Could somebody please explain what this section of code is doing with the StopTime? There is plenty more code where that came from, but as I can see it, it is being put into a vector in another section of code as endTime, the vector pdmlist, which I
-
Is it required to have two internal table while writing RFCs, function modules. If so then itab and itab2 is for what purposes? And I wonder how you begin to write a function module? An easy question but required for a good start. Thanks.
-
JavaFX and UML (and Netbeans)?
Hi All, I know I am asking A LOT here, but are there any plans for Sun to get UML and JavaFX engineering working in NetBeans one day? Cheers.
-
Hello all, I want to capture direct labour cost and raw material cost in COPA where i can map the value field to capture it. Suggest.