It is my third on with SQL Server 2014, Visual Studio and IIS. I managed some how to set up my localhost, make databases etc. In IIS my 2 projects is registered as project_1.local and project_2.local. When I go to my localhost:8080 I get the pages cannot be displayed. Normally when I use MAMP I can go to my localhost, and get a list of my projects.
Why do I get the error the page cannot be displayed? Isnt it possible to get my projects as a list instead, like I can on my "normal" MySQL MAMP localhost?
You are trying to open your site via iis? open IIS management and try to browse to you local site with the url that display in the IIS. Maybe you are missing a sub domain that your site is use.
have you tried to open your project into sql server and run it ? instead of server of mamp
Related
how can I deploy/publish my asp.net MVC application made in visual studio 2015 .net version 4.5 ,and sql server database 2016 database using localhost (.) with windows authentication ...to online ..so it can be accessed to everyone ....with code updations and sql server edition..thank you
You can host your application using IIS. IIS can be setup in any machine.
Steps :
Install IIS
Open IIS manager by entering inetmgr in Run(win+R)
Add website by browisng to its location to the published website location. (Hope you know how to publish a website in visual studio)
Edit the web config file to configure the sql server credentials(Sql db could be hosted separately or in the same machine)
Right click the website in IIS Manager and click start.
Click browse to view the website
You could either access the site by localhost:portnumber or by specifying IP:port number in settings of the website in IIS manager
You can access the website from mobile or external devices if you select public IP for your website. Incase you're connected to a local network, then the website could be accessed only from within your work place. Discuss with your network admin about exposing your server to public by providing a public IP address, if you're on local network.
Feel free to revert if you have more doubts.
If you have a VPS or DS us can use this Article it teaches localy but it is same with real VPS or DS
Also if have a Host you should publish your project on your system and upload it to your Host Provider and make backup of your SQL Server Database and set your host provider IP in Web.Config.
I have my application running on Tomcat server successfully. I want to run some aspx files for which i need to link up with other server like IIS. How to send a query string to the IIS server and get back the result say in an HTML file. Is this possible?
I got the solution and its quite simple. I created a Iframe and passed the other server url through the tomcat and it worked.
I am a newbie with DotNetNuke and have been stumbling on how to deploy from the development server to the deployment server. For starters my development and deployment servers are one and the same machine. Here are the steps that I did:
DNN Setup
Downloaded DNN using WebMatrix.
Launched DNN and proceeded with the installation wizard, which is basically just testing the environment and then creating the DNN database.
After the wizard's installation launching DNN will now proceed to the Getting Started page
Added "localhost/dnn" in the site alias list
Moving to ISS
In IIS I added application (folder) DNN in the web root
I copied all the files from the original webmatrix path to the dnn folder in c:\inetpub\webroot making sure that the file/folder hierarchies are the same
Result:
When launching DNN using my browser I am directed to the installation wizard page instead of the Getting Started page. What am I missing?
Thanks!
Confirm that the permissions on the folder containing DNN are the same on your test server as they are on your development server. (I give Network Service read/write and IUsr Read/Execute)
Confirm that the application pool running your application has the proper identity (Network Service is suggested) and is running the proper .NET Framework version; based upon your question, I think you are set on this.
Gain access to your web.config file. You will see a ConnectionStrings section. You probably need to update the connection strings.
If your test server runs off of a different database than your dev server, figure out the connection string of your test server and update your connection string accordingly
You may be able to restore a .BAK file of your DB to your test server
If you do this, you will probably need to (in SSMS) edit your Portal Alias table to include the host name that you are using in your test server environment. Examples: Maybe you access the site via localhost/ on your dev environment, but you access to test site via test.Ronald.com? test.Ronald.com would be your PortalAlias
If your test server runs off the same database server as your dev server, it sounds like you need to open up access in firewalls so that your test server has connectivity to your dev database
A word of advice
Once you get it running, you will be making changes to each database separately (assuming your test site and dev site use different DB Servers). This sync issue can be a royal pain with DNN, as your page structures, module assignments, html module contents, installed modules/extensions will get out of sync. While restoring backups is nice, it is not a very good long-term solution. I recommend database-syncing tools
The problem is most likely a problem with DNN not being able to find the Database. If it can't find the database, it will run the wizard in order to create one.
How do you stop SQL server reporting services from hijacking the /reports virtual folder on ALL websites on the server it's installed on. Have just discovered that all the websites on the box with the reporting server on (its a dev box), have /Reports overridden by the reporting services manager. How do I turn this off?
Have tried stopping the service, disabling it in the config file, all to no avail (the service is still hijacking the url, you just get a "service unavailable" error instead of the report manager). Short of uninstalling reporting services, is there a way to switch this off?
I had the exact same problem - very annoying when your own web application uses a /Reports folder, couldn't understand why I was getting "File or Directory Not Found" errors on IIS when navigating to my reports page.
Phil is correct the easiest solution (using SQL Server 2008 R2) is to run Reporting Services Configuration Manager, connect to your local instance and change the Virtual Directory under "Report Manager URL" to something more unique (I used "/ReportingServices").
This fixed the problem and my /Reports folder was restored to my own web app!
Assuming you are using SQL Server 2008 R2 reporting services you can do this via the Reporting Services Configuration Manager.
But consider telling us the version of reporting services.
You can also change the port it listens to via the Reporting Services Configuration Manager.
I have set mine to 8080 instead of 80, and it has solved the problem for me.
Database: Sql Server 2005
Webserver: IIS 5.0
IDE: Visual Studio 2010
I've created a Silverlight RIA application which will allow users of our intranet query one of our databases.
In the config I have set the authentication to windows and enabled impersonation.
In IIS i have disabled anonymous access and only enabled windows authentication.
This all works fine in my development environment and when running it from VS2010.
When i publish it to my local web server and connect to it from my local pc it works too.
However if i access the URL to the application on my local web server from another machine the application does not work. It gives the following error: "Load operation failed '[QueryName]'. Exception type 'System.ServiceModel.DomainServices.Client.DomainOperationException' was thrown.
The database sits on its own server. However i have the same database locally and if i change the connectionstring to local at the local version of that database it works fine.
IIS on my PC does not seem to forward requests to the SQL Server machine. As im running profiler to see what requests come in.
Any help on this would be greatly appreciated. Im sure im missing something.
Thanks
this was an issue was a classic double hop problem when using windows authentication. instead i used annoymous access on IIS and set the App Pool to an account that had access to the database on SQL Server