Quantcast
Channel: Installation and Setup
Viewing all 631 articles
Browse latest View live

SQL SERVER 2017 returns error "Expected 1 export(s) with contract name "Microsoft.VisualStudio.Utilities.IContentTypeRegistryService" but found 0 after applying applicable cons"

$
0
0

Hi

I have installed VS 2017 recently and since then I have an issue in my SQL SERVER 2017. SQL server connects t the server but when I want to run a query or get top 1000 rows, I get an error popup message "TITLE: Microsoft SQL Server Management Studio
------------------------------

Expected 1 export(s) with contract name "Microsoft.VisualStudio.Utilities.IContentTypeRegistryService" but found 0 after applying applicable constraints. (mscorlib)

------------------------------
BUTTONS:

OK
------------------------------
"

I have repaired the SQL server with the setup file but still I have the same issue. Please help me know what I need to do in order to get the SQL SERVER run the projects once again.

Thanks,

Deepak 


Failed to initialize CoreCLR, HRESULT: 0x80131500

$
0
0

Hi Team,

We are in the process of containerizing (Linux container) our .net core console application using Docker. We are able to successfully build the docker image however when we run it we are getting the subjected error.

Thanks,

Parth Gandhi

migration from .net 2.0 to .net 4.6.1

$
0
0

Currently our product is using .net 2.0. We have to migrate it to .net 4.6.1. We are using aspx files to give calls to VC projects.Does we need to rebuild/recompile all project with .net 4.0 compatibility or we can run with same project with compatibility mode of .net 2.0 ?

If yes then please suggest steps ..

Thanks.

Visual Studio app able to One Click install SQLite no longer working with NuGet download

$
0
0

I realize this is a pseudo non-Microsoft product, but I had this working with not issues until I migrated to VS2015 and update to SQLite 1.0.105.2

Do be clear I have dealt with this error in the past migrating from .Net 2.0 to 3.5, now I am on 4.0 hoping to migrate to 4.5 or 4.6.

I have tried virtually every solution I could read and process on the web over the last three days, starting with the dozen or so listed on this link...

https://stackoverflow.com/questions/13028069/unable-to-load-dll-sqlite-interop-dll

So lets review: the error after using one click deploy is list here, details of the config and set up are below the error.

System.DllNotFoundException: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)   at System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op)   at System.Data.SQLite.SQLite3.StaticIsInitialized()   at System.Data.SQLite.SQLiteLog.Initialize()   at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework)   at System.Data.SQLite.SQLiteConnection..ctor()   at MultiLangWeb.testSS.addRequiredLangs(String market, String filePath, XmlTextWriter myXmlTextWriter)   at MultiLangWeb.testSS.getMyFiles(String dbLabel, Boolean processPTS, Boolean processPTT, XmlTextWriter myXmlTextWriter)   at MultiLangWeb.testSS.Button1_Click(Object sender, EventArgs e)   at System.Windows.Forms.Control.OnClick(EventArgs e)   at System.Windows.Forms.Button.OnClick(EventArgs e)   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)   at System.Windows.Forms.Control.WndProc(Message& m)   at System.Windows.Forms.ButtonBase.WndProc(Message& m)   at System.Windows.Forms.Button.WndProc(Message& m)   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The package was downloaded using NuGet, I tried uninstalling and reinstalling the package. 

Here is the installation results:

Attempting to gather dependency information for package 'System.Data.SQLite.1.0.105.2' with respect to project 'MultiLangWeb', targeting '.NETFramework,Version=v4.0'
Gathering dependency information took 342.61 ms
Attempting to resolve dependencies for package 'System.Data.SQLite.1.0.105.2' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'System.Data.SQLite.1.0.105.2'
Resolved actions to install package 'System.Data.SQLite.1.0.105.2'
Retrieving package 'System.Data.SQLite.Core 1.0.105.2' from 'nuget.org'.
Retrieving package 'System.Data.SQLite.EF6 1.0.105.2' from 'nuget.org'.
Retrieving package 'System.Data.SQLite.Linq 1.0.105.2' from 'nuget.org'.
Retrieving package 'System.Data.SQLite 1.0.105.2' from 'nuget.org'.
Retrieving package 'EntityFramework 6.0.0' from 'nuget.org'.
Adding package 'EntityFramework.6.0.0' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'EntityFramework.6.0.0' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'EntityFramework.6.0.0' to 'packages.config'
Executing script file 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages\EntityFramework.6.0.0\tools\init.ps1'...
Executing script file 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages\EntityFramework.6.0.0\tools\install.ps1'...

Type 'get-help EntityFramework' to see all available Entity Framework commands.
Successfully installed 'EntityFramework 6.0.0' to MultiLangWeb
Adding package 'System.Data.SQLite.Core.1.0.105.2' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'System.Data.SQLite.Core.1.0.105.2' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'System.Data.SQLite.Core.1.0.105.2' to 'packages.config'
Successfully installed 'System.Data.SQLite.Core 1.0.105.2' to MultiLangWeb
Adding package 'System.Data.SQLite.EF6.1.0.105.2' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'System.Data.SQLite.EF6.1.0.105.2' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'System.Data.SQLite.EF6.1.0.105.2' to 'packages.config'
Executing script file 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages\System.Data.SQLite.EF6.1.0.105.2\tools\net40\install.ps1'...
Successfully installed 'System.Data.SQLite.EF6 1.0.105.2' to MultiLangWeb
Adding package 'System.Data.SQLite.Linq.1.0.105.2' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'System.Data.SQLite.Linq.1.0.105.2' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'System.Data.SQLite.Linq.1.0.105.2' to 'packages.config'
Successfully installed 'System.Data.SQLite.Linq 1.0.105.2' to MultiLangWeb
Adding package 'System.Data.SQLite.1.0.105.2', which only has dependencies, to project 'MultiLangWeb'.
Adding package 'System.Data.SQLite.1.0.105.2' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'System.Data.SQLite.1.0.105.2' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'System.Data.SQLite.1.0.105.2' to 'packages.config'
Successfully installed 'System.Data.SQLite 1.0.105.2' to MultiLangWeb
Executing nuget actions took 37.47 sec
========== Finished ==========
Time Elapsed: 00:00:42.7434414

In between efforts to get the above package to work, I also tried this one that appears to me coded by Microsoft.

PM> Install-Package Microsoft.Data.SQLite -Version 2.0.0

Attempting to gather dependency information for package 'Microsoft.Data.SQLite.2.0.0' with respect to project 'MultiLangWeb', targeting '.NETFramework,Version=v4.0'
Gathering dependency information took 280.49 ms
Attempting to resolve dependencies for package 'Microsoft.Data.SQLite.2.0.0' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Microsoft.Data.SQLite.2.0.0'
Resolved actions to install package 'Microsoft.Data.SQLite.2.0.0'
Retrieving package 'Microsoft.Data.Sqlite 2.0.0' from 'nuget.org'.
  GET https://api.nuget.org/v3-flatcontainer/microsoft.data.sqlite/2.0.0/microsoft.data.sqlite.2.0.0.nupkg  OK https://api.nuget.org/v3-flatcontainer/microsoft.data.sqlite/2.0.0/microsoft.data.sqlite.2.0.0.nupkg 43ms
Installing Microsoft.Data.Sqlite 2.0.0.
Adding package 'Microsoft.Data.Sqlite.2.0.0', which only has dependencies, to project 'MultiLangWeb'.
Adding package 'Microsoft.Data.Sqlite.2.0.0' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'Microsoft.Data.Sqlite.2.0.0' to folder 'C:\Users\mhornung\Documents\Visual Studio 2015\Projects\MultiLangWeb4Let\packages'
Added package 'Microsoft.Data.Sqlite.2.0.0' to 'packages.config'
Successfully installed 'Microsoft.Data.Sqlite 2.0.0' to MultiLangWeb
Executing nuget actions took 260.34 ms
Time Elapsed: 00:00:00.6279130
PM>

This did not work at all and could not be located in the references to confirm it was loaded.

The bottom line is that if NuGet packages can not effectively install these products, NuGet is useless and should be removed from Visual Studio.

I have tried moving files into various \bin folders. I have checked my compile CPU type, everything is x86.

As an add on note, NuGet reported one update, but nothing was displayed. I clicked refresh while on the Update menu option still nothing displayed. I closed the NuGet Package Manager window and reopened and low and behold, there was the package needing update, Entity Framework.

I would be grateful for any other suggestions on why this will not work in Visual Studio 2015 from the NuGet download. I have tried many solutions suggested for VS 2012/13 with no luck as well.

Of course if I copy the missing Interop to the project root and recompile and publish the app will work because the code will find the .dll.

I would really like to know how to fix this.

setup of .net framework 4.0 on computer

$
0
0

I am using a workstation were some items were uninstalled by a previous employee. This workstation has visual studio 2010 installed on in several C#.net 2010 web  from applications on it. The problem is that this version of visual studio does not have the .net framework 4.0 installed on it. 

Thus I downloaded the 4.0 framework but I think the previous version of the framework installed might have been 4.3?

Thus can you tell me the following:

1. Is there a way to tell what version of the .net framework was used on this workstation? If so, would you tell me how to know what the previous version was?

2. When I run the visual studio 2010 web form application, it has I do not have the framework 4.0 on this computer, but I do have the framework on this computer. The message says that I need to 

retarget the project to the .net framework 4. 

Thus can you tell me how to connect the web form application to the .net 4.0 framework that I installed on this computer?

web form 2010 installation files

$
0
0

I have a computer that is similar to one that uses asp.net 2010 web forms. The application, I am suppose to support runs for awhile, until it gets an error. The computer that I am trying to setup to be like runs completely. That other computer has the following items installed that I do not have installed:

Microsoft ASP.NET MVC 2 - Visual Studio 2010 Tools, Microsoft Expresssion Blend 3 SDK,  Microsoft Expresssion Blend 4,  Microsoft Expresssion Blend SDK for .NET 4,

 Microsoft Expresssion Blend SDK for Silverlight 4,  Microsoft Expresssion Design 4,  Microsoft Expresssion Encoder 4, Pro  Microsoft Expresssion Encoder 4 Screen Capture Codec , Microsoft Expresssion Studio 4,  Microsoft Expresssion Web 4,  Microsoft Silverlight 3 SDK,  Microsoft Silverlight 4 SDK

I would like to know where I can obtain the items listed above? I have an msdn license where I can download items like visual studio 2010 ultimate. When I am on the website, I cannot find the items listed above I am looking for. Thus can you tell me what items I can download to obtain the objects I am looking for?

asp.net installation

$
0
0

I am trying to determine what to change on my visual studio 2010 ultimate installation and/or other applications on my computer.

The problem was caused by me removing some applications on the 'C' drive of my computer since I was running out of space. When I tried to run the C#.net 2010 web form application, I had visual studio run problems.  Note there is another computer in my office where the application actually runs successfully.

To solve the problem, I obtained visual studio 2010 ultimate from the msdn website and did a 'repair'. This fixed the problem until I got a runtime error. Now I am wondering if I need to install something else and/or possibly install something else. 

Do you think that I should do a total reinstall of the visual studio 2010 ultimate on my workstation? Do you think I should uninstall the current visual studio 2010 on my workstation? I would then reboot the computer. I would then you a total reinstall  (not a repair) of Visual Studio 2010. This way maybe whatever else is missing would be located in the total reinstall.

If I do a total uninstall and then do I total reinstall of the ultimate version of visual studio 2010, would the reinstall have a problem like finding the TFS 2010 files that I am currently using? Would there be a problem with the Visual Studio.net 2010 finding the sql server database files that I need? Basically would there be problems that I would need to be aware of?

If I do a total reinstall of reinstall of visual studio 2010, will I need to reinstall service pack 1 and or any of the critical hotfix updates that have occurred? Are there any issues that I should be aware of?

Thus I am wondering if you suggest what I should try?

VS2017 Community 15.0 - there's no network connection

$
0
0

Hello!

How to update 15.0 to 15.3? Installer returning the network error, but all websites still available.

Please, help.


upgrading from VS2010 to VS2015

$
0
0

I have just installed VS2015 on a new Windows 64 bit  10 laptop. For a new web project everything works fine. However for an existing VS2010 project , while the build is successful, debug fails with error "Unable to connect to the configured web development server"..

I have tried all of the solutions I have found on the internet with no success.

Namely - removing proxy server, changing the port in the solution file, netsh command etc etc

in any case the issue seems to be with the VS2010 project as a new project does have any issue

Any help would be appreciated

Delete Web Site and Content programmatically

$
0
0

I'm developing a Web Setup Installer Project with C#, .NET Framework 4.7 and Visual Studio 2017 Professional version 15.3.5.
I've found that I can use Microsoft.Web.Administration.Application dll in an Installer class to work with Web App created.
I know how to delete Web App from IIS on Installer's class uninstall method:

public override void Uninstall(IDictionary state)
    {
        base.Uninstall(state);

        // Do my custom uninstall actions
        string physicalPath;
        ServerManager serverManager = new ServerManager();

        Application myApp = serverManager.Sites[siteName].Applications[webAppPath];
        physicalPath = myApp.VirtualDirectories["/"].PhysicalPath;
        serverManager.Sites[siteName].Applications.Remove(myApp);

        ApplicationPool myAppPool =
            serverManager.ApplicationPools[appPoolName];
        serverManager.ApplicationPools.Remove(myAppPool);

        serverManager.CommitChanges();

        //System.IO.Directory.Delete(physicalPath, true);
    }

But this line System.IO.Directory.Delete(physicalPath, true); needs administration privilege.
Do you know if I can do Deploy -> Delete Web Site and Content like we can do in IIS?<br/>

setup web form app on new computer

$
0
0

My company purchased a new windows 10 computer for me since my other one was 10 years old. Now I need to install visual studio 2010 on this computer for a vb.net 2010 web form application to run. This application is run using the built in visual studio 2010 web server (cassini) and does not IIS. Due to these facts, I thought I mention the following items:

1. Should I install SSIS manager on this computer first followed by visual studio 2010 and then followed by web deploy? Can you tell me what the order would be and potentially why?

2. When I do the install listed above, would the 'root directory' be setup automatically or would  I need to do something to setup the 'root' directory? If so, can you tell me what I would need to do?

3.  If this new computer runs out of space, it only has 117 KG, is there a way to only install particular portions of visual studio? IF so, what do I select? If not, if I would want to uninstall items loaded by Visual studio, how would I know what items I can remove?

android setting

Visual Studio not installing

$
0
0

I know that people don't reply for ages on this site, so I'm prepared to wait.  But, this software isn't installing (even when I've uninstalled VS2017).  I'm getting an error which says "Visual Studio cannot be installed to a nonempty directory 'C:\...'".  I haven't put the whole directory as it's not worth putting, and you probaly know what it is.  The software is Visual Studio 2017 Community.

Hope that someone can reply soon, as I'm trying to build my website with it.

HTTP Error 500.19 - Internal Server Error (I'm on WIndows 10 IIS ver 10)

$
0
0

Hi All,
I hope i can get some help here.
I'm trying to get http://localhost:7070 page up and running but i'm getting the error below.

Any ideas what could be causing this issue.

Thanks in Advance

Config Error   This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

The requested page cannot be accessed because the related configuration data for the page is invalid.

Config Source:

24:   <system.webServer>
   25:     <handlers>
   26:       <remove name="ExtensionlessUrlHandler-Integrated-4.0"/>

How to set up 2nd Website using port 81 in 2012R2

$
0
0

Hi, all. I created a second website on our company's Intranet called "DotNetTest". I set 81 as the port and set the physical path to d:\IntranetDotNet. In folder d:\IntranetDotNet, I created a simple HTML page called "test.html" which just displays "Hello world" within the <html> and <body> tags. On my client desktop, when I go to http://mycompany.com:81/test.html, I get "This page can't be displayed". As a test, test.html works fine when I copy it to our company's Default Web Site. What else do I have to do to properly set up the second website? Thanks a lot.


web deploy for Visual Studio

$
0
0

I have a new computer and I have Visual Studio 2010 installed on this computer for Web Form applications I support. However now I need to get web deploy for visual studio 2010 so I can deploy code to production. I have an MSDN ultimate license so I can get downloads that I need,

Can you tell me and/or give me the link (url) where I can obtain web deploy for visual studio 2010 from?

Not able to create “Asp.Net Core Web application” in Visual Studio 2017

$
0
0

I am not able to create "Asp.Net Core Web application" in Visual Studio 2017. When I select the option to create a "Asp.Net Core Web application" I am not getting any templates in the Listbox to create the application? I even installed .Net Core 2.0 and rebooted my system. Still nothing is getting loaded to proceed?

Any ideas what is it I am missing here? enter image description here

enter image description here

Note: 2 times I have uninstalled it and Installed .Net core 2.0 and Visual Studio 2017 again.

Installing the ASP.net.

$
0
0

Hi all,

Can anyone please provide me the complete guide on installing the ASP.net?

Your help would greatly be appreciated.

Thanks!

Integration under android

$
0
0
Hello! I'm a student programmer, so I probably have a stupid question, but I do not understand it.
I'm writing projects under unity3d and pretty well figured out how to use signalr for an application on a PC. Just drop the dll in the "Plugins" folder and it's ready. Now the crux of the matter. Where can I find the library for the application on Android? Usually they are in the .so format and I drop them into the Plugins / Android folder and everything works. But SignalRClient.so and anything like that I could not find.
I understand that you can download the sourse code and somehow compile it and get a .so file. But I still do not understand this and ask for help me and integration of the application on android.
Thank you for your attention, the text was written using "GoogleTranslate". I'm from Russia-.-

installation of ASP.NEt

$
0
0

Hi I have purchased windows shared server from HostingRaja. The OS installed is windows server 2012 kindly help me out with the steps to install and configure ASP.NET.

Viewing all 631 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>