I made a WEB app using ASP.NET-MVC with a local SQL server database. I have a lot of issues while trying to publish it.
I want to publish the web app on a MS 2003 server. I have tried to do it with the Publish tool on Visual Studio 2012 but it doesn't work, I had this error : ERROR_DESTINATION_NOT_REACHABLE, I searched for some solutions on the internet and found this :
Diagnosis - Web Management Service or Remote Agent is not installed or
unreachable on the remote computer. Resolution - Verify that Remote
Agent Service or Web Management Service are started on the remote
computer, depending on which one you are connecting to. You can do a
"net start wmsvc & net start msdepsvc" on the remote computer to
ensure these services are started. Also, ensure that a firewall is not
interrupting communications with the destination.
I have tried to install the Remote agent service on the MS server but it doesn't show up in the services lists.
I have also tried to publish the app locally using IIS (instead of running the app with the play button on VS studio), I have followed some steps in a forum and publish the package, I had this error :
My files are structured like that :
Can anyone help, I am really stuck on this and I can't move on !
On the server I have :
Windows server 2003
IIS 6.0
SQL Express 2005
On the development machine :
Windows 7
Visual studio 2012
IIS 7.0
ASP.NET-MVC 4
Sql Server 2008
Any help is needed, thanks.
I have found the solution thanks to this post.
I had some problems with the assemblies so I did Just do Copy Local = true in the properties for the assembly(System.Web.Http.WebHost) and then did a redeploy, it works fine.
Related
I am developing an ASP.NET website with a SQL Server 2019 LocalDB database. I was working in Windows 10 ver:1903, but after upgrading Windows to the latest version, the website still starts, but has no connectivity to SQL Server (LocalDB).
There is a .NET exception when connecting to SQL Server, at the same time, multiple of this error will be logged in the Windows event viewer:
Source: SQLLocalDB 15.0
Event ID: 528
Windows API call WaitForMultipleObjects returned error code: 575. Windows system error message is: {Application Error}
The application was unable to start correctly (0x%lx). Click OK to close the application.
Reported at line: 3714.
This special webSite is running on Windows` full IIS. I can run other website which I am developing with IIS express and this LocalDB.
I also can see the content of all of my databases in Visual Studio`s Data tools which is connected to this LocalDB, with no problem.
I have tried: updating SQL Server 2019 LocalDB, delete and create the SQL Server LocalDB, reinstalling SQL Server 2019 LocalDB, but I still get that same error.
Can you help me with this?
Thanks in advance
I finally solved this error with re-configuring the IIS for LocalDB. It was reset by a Windows Update.
I am using IIS for LocalDB approach 1:
Changing Application Pool Identity --> Windows Account
I am trying to make a local development environment SSRS server (just on my local machine).
I have installed SQL Server 2016 Express with the "Database Engine" and "Reporting Services - Native" modules.
When I go to "Reporting Services Configuration Manager", I get this initial screen:
And then when I hit find (w/ just MY-PC-NAME {Obviously, with my real PC name), I get:
And when I add the full SQL Server 2016 Express Reporting Services server instance name (i.e. MY-PC-NAME\SQLEXPRESS), I get:
I have googled these errors / messages to death and it seems that all of the advice / solutions are for older versions of SQL Server (i.e. 2005 and 2008). I have not really found any information on the WMI Provider (other than: https://technet.microsoft.com/en-us/library/dd353297(v=sql.90).aspx ... of which I tried for v9, v110, and v140) all without success).
I cannot access the report server in any way (from IE or IE as
Admin).
I have checked and have the SQL Server Reporting Services service
running.
I have installed SSRS when installing SQL Server 2016 Express and
have tried both "Install Only" and "Install & Configure"
installs...with the same results.
I have also enabled IIS & Associated Windows Features with no luck
either.
I have double checked the Windows Firewall exceptions/rules for SSRS
and those are correct too.
Has anyone else encountered these errors and fixed them and has a Step-by-step guide to fix these errors / get a local Report Server setup for development purposes?
OR
Perhaps I am going about this process all wrong to get a local Report Server setup for development purposes?
Any advice or insight on this would be immensely appreciated.
I had the EXACT same problem. Here's the fix:
1) Go back to the SQL Server download page and re-download the installer for SQL Express.
2) Select the first option to add new features to your installation
3) On the second step of the wizard choose to "add features to your existing instance"
4) When you get to the screen asking which features, choose reporting services
5) Complete the remaining steps of the install wizard
6) When you run the reporting services config tool do not put "\SQLExpress" at the end of the service name. When you hit find, "SQLEXPRESS" Will appear below.
I recently installed Windows Server 2012 and IIS because I wanted to host website from home (inside my network).
I was easily able to host simple static site, but now when I want to deploy ASP.NET site which uses a SQL Server database I have problems.
From this tutorial I "published" site from Visual Studio
http: //youtu.be/DQgbOIjWgBs?t=6m
And here is what error I get:
http://i62.tinypic.com/j9uhjt.jpg
I have installed SQL Server Management Studio and attached database to it, in IIS I have set/up database name and server, so I believe that is also ok.
Firewall is disabled (just for now until I get it working).
Here is SQL Server set-up from IIS
http://i61.tinypic.com/ao2r95.jpg
I don't know where the problem is, maybe in permissions? (I can normally view static page, website folder is located in inetpub folder)
So I've been doing a project at my university with BIDS and a database on their servers. I've managed to back up the database and put it on my local machine.
Problem right now is I've installed SQL Server 2008 + BIDS through SQL Server 2008 Express Edition. Now I've heard it doesn't include SQL Server Analysis Service, meaning I can't deploy the cube.
I've tried deploying the project on my home computer but it gives me the error.
Error 23 The project could not be deployed to the 'my computer
name\SQLEXPRESS' server because of the following connectivity problems :
A connection cannot be made to redirector. Ensure that 'SQL Browser' service
is running. To verify or update the name of the target server, right-click on
the project in Solution Explorer, select Project Properties, click on the
Deployment tab, and then enter the name of the server.
I've checked and SQL browser service is definitely running so I'm not sure what else to try. Is there any way for me to successfully deploy the cube?
I think its authentication issue for your current user connecting to SQLEXPRESS. Try using "Runas /user:[domain]\[user] "Path to BIDS" to run BIDS as privileged user and try windows authentication.
Are there people out there using Windows Server 2008 R2 + SQL Server 2008 R2 and have successfully synced the database from localhost to the cloud on Azure? My goal is to give preference to the local machine database, and I want the cloud database to by in sync with whatever's on the local machine.
First off I had a hard time downloading dependencies, but after getting past that, I'm still getting errors (bugs?), or hopefully am I doing something wrong with getting the client sync agent to load?
I downloaded the "SQLDataSyncAgent-Preview-ENU.msi" file. I'm entering my local box administrator password but I get an error "Service MS SQL Data Sync could not be installed. verify that you have sufficient privileges to install system services". Are you guys using some special account you're creating separately instead of using the local admin?
This and other similar issues are discussed with solution in the Forum:
Unable to install MS SQL Azure Data Sync (Preview)