This is a migrated thread and some comments may be shown as answers.

Failed to load resource errors when accessing dev site via IP address

2 Answers 203 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 30 Jan 2015, 03:35 PM
Hi,
I'm trying to configure my development site so that I can access it across the LAN. Firstly, my development environment is Windows 8.1, Visual Studio 2013 Premium, IIS Express, UI for ASP.NET MVC 2014.3.1119
 
The project is a templated MVC 4 internet application which targets .NET framework 4. After the wizard created the project I converted it using the Telerik convert project menu option.  I then changed the site to use Windows authentication and I disabled Anonymous authentication. I then added the binding for the ip address in the IIS applicationhost.config file and added the urlacl for everyone.

When the application is run, the application displays correctly when using the localhost address e.g. http://localhost:12335 

When I then browse to it using the IP address e.g. http://192.168.0.123:12335 the start page is displayed without any styling. In the browser console there are numerous 'Failed to load resource: the server responded with a status of 500 (Internal Server Error)' messages with the file name alongside e.g. http://192.168.0.123:1235/Scripts/jquery-1.8.2.js. The filenames seem to correspond to the links and scripts etc. in the _Layout.cshtml file.

I guess there is something else I need to (re)configure
What would you suggest?

Thanks
Craig

2 Answers, 1 is accepted

Sort by
0
Craig
Top achievements
Rank 1
answered on 30 Jan 2015, 04:20 PM
I've found this was caused by my changes to the authentication from forms to windows. It's not a Telerik issue.

0
Craig
Top achievements
Rank 1
answered on 30 Jan 2015, 05:32 PM
There's a code 1346 associated with the IIS internal server error which seems to be related to impersonation failing. Perhaps I'll need two flavours; one for internet and one for intranet to make life easier.
Tags
General Discussions
Asked by
Craig
Top achievements
Rank 1
Answers by
Craig
Top achievements
Rank 1
Share this question
or