Deploying Umbraco 7.1 to Azure - visual-studio

I created an Umbraco site with Visual Studio by creating an empty web project and installing the Umbraco 7.1 nuget package. During the set up portion, I created an Azure database. Next, I just created an azure website and deployed the code via Visual Studio publish.
Everything works fine on my local machine. The front end of the site seems to work fine on the azure website. However, I am not able to edit anything in back office. I can log in, but none of the button on the left hand side show up. See the attached screen shot.
This is my first experience with Umbraco so any help at all is appreciated.

Wow, I feel stupid. All I had to do was clear my cookies and everything started working. I guess it wrote a cookie that it didn't like when I ran it locally. I don't see how it could even try to access the cookie via the live site.
Anyway, it's working fine now...

Related

Azure Portal missing Web App

I have a number of web apps hosted in Azure. These can be navigated to by their URL and are live and running correctly. If I use the server browser in Visual Studio 2015 I can see the correct web apps... AND previously deleted web apps.
However in the new Azure portal one of my web apps is missing. What do I need to do to get the new portal to recognise all of my web apps and should I be worried about visual studio displaying old deleted ones?
This is a sync issue that happens occasionally, and that we can fix for you. In order to do this, please share the name of any site in your subscription. You can create a temporary dummy site for that purpose if you like.

How to Publish an Umbraco Intranet?

I have just completed an Umbraco intranet using WebMatrix. Now I want to publish it to our server so that everybody can see and use it. WebMatrix can only do Web Deploy or FTP, so I opened the project in Visual Studio 2013 to publish it there. I was able to publish it to my desktop, where I have attempted to get it running here before uploading to the server. So in IIS I 'Add a Website' and set up the project, using port 101. I tried it both on my desktop and then moved it to wwwroot and in both cases IE says 'This page can't be displayed'. I am using the CE database with Umbraco 7.2.4.
Help please. I've been at this for days now.... I've tried the umbraco forum and google and got nowhere. :(
Tony
If you have remote desktop access to your web server, you don't actually need to rely on web publishing. You can just build the website in release mode, and then copy all the folders from the web project onto the webserver.
On the web server you can manually set up an IIS website and set up host names etc. You shouldn't need to deploy it using visual studio, this way is much safer
In IIS, you should set up a new website, using port 80 on your HTTP binding.
From the sounds of the error, IIS is not looking at the right physical path.
You should use the Microsoft guide on How to set up your first IIS Web Site as a starting point.

Getting DNN Site To Run Locally

I am trying to get a DotNetNuke site running locally.
At the moment the site is hosted on a server and is functional.
I downloaded the website to my local computer and tried to compile it in Visual Studio.
I am getting all sorts of build errors and I am having alot of trouble getting it to run.
The version of DotNetNuke is very old. i believe it is version 05.06.02.
Any help or advice would be much appreciated.
While you can access some of the DNN code via Visual Studio, first you need to get the site running without Visual Studio.
Here is a good set of instructions on copying and running a site on another computer.
http://www.ifinity.com.au/2012/09/05/Creating_a_test_copy_of_your_DotNetNuke_website
The main things to pay attention too are getting a connection to your database, and making the IIS site accessible locally.

IIS Express not serving static files to Firefox

I'm using Visual Studio 2013 with IIS Express 8 to develop an application for a local Intranet. This application was built using ASP.NET MVC 4 in Visual Studio 2012 and later migrated to 2013. I had been using Visual Studio Development Server until I migrated to VS2013 with no issues.
After the migration, the application compiles, runs and authenticates fine, but it's not serving Static Files - it just returns an HTTP 500 response with no further details. See image below:
This also happens to Images and CSS files.
What can I check to solve this? Any suggestions?
UPDATE:
The application works fine in Local IIS (version 8).
It works in IIS Express on other PCs.
UPDATE 2:
After further testing, I found out that this only happens to Mozilla Firefox (it works fine in Internet Explorer and Google Chrome) - I didn't notice before because I always use FF. Currently using version 29.
Any ideas?
Finally! I was able to solve this issue with the help of this question.
This was happening because Firefox by default has Windows Integrated Authentication turned off. It doesn't make any sense to me why it works fine in regular IIS or in dynamic files (controller actions, WebApi, etc.), but that's a mystery for another day.
To enable Windows Integrated Authentication I followed this steps:
Type about:config in Firefox's address bar (nav bar)
Search for network.automatic-ntlm-auth.trusted-uris
Double click on network.automatic-ntlm-auth.trusted-uris
Add http://localhost to the list (paste that if it's empty)
After that I just hit F5 in Firefox and everything worked as expected.
This issue is poorly documented, so I wonder if nobody else uses Firefox with MVC to develop web applications using Windows Integrated Authentication?
Have you had a look at this ?
ASP.NET MVC application gives Internal Server Error only when viewed in Firefox
It doesn't explain why it works on IIS but there is a firefox doesn't support Integration Authentication out of the box.
The only thing that seems applicable to your situation is a problem with the install of IIS Express since this is an similar issue to something seen in previous IIS Express versions. I would either re-install it or see if your version of Windows can host IIS 8 in which you would just enable static content.
If this was just a matter of not having static content turned on or permissions for static content, you'd get a 404 or 401 error respectively. Hope this helps...
I'd look in the machine events viewer under application and system to see what the issue is.
Does the IIS serve anything up in the same folder such as .txt files, .html, jpg images?
It could possible be file or folder permission and/or the anonymous user being used to access them under IIS.
My first point would be event viewer though for more detailed information on the 500 error.

TFS 2010 Connection Issue

I have been working on this weird issue for a few days now and I'm going to pull my hair out! I have a PC and a server in the default WORKGROUP. I created a new collection and a new project and now I'm trying to connect from my PC to the server via VS2010. When I go to the connect team project dialog box and input my info it doesn't connect!
If I copy the preview http and input that into the browser it works fine! It asks for credinitals and the project comes up without an issue. For the fun of it I installed VS2013 team explorer and it pulls it up without an issue. What's going on here?
In the end I ended up going with VS2013. I'm no longer having this issue.

Resources