I have tried page inspector in web forms development and it works fine,
But in MVC it opens and in the console area it say's
"Javascript Must be enabled in internet explorer"
now i'v checked everything and javascript is enabled,
Rebooted, Reinstalled, Nothing helps this issue...
working with page inspector should be a refreshing thing since
MVC doesnt have a Designer view,
Does anyone had this problem?
I've had the same issue and folowing this steps resolved it:
Enabled JS Debugging in Explorer as the message said
and followed by this link:
http://support.microsoft.com/gp/howtoscript
added this setting to the web.config
at the
<appSetting> section
<add key='PageInspector:ServerCodeMappingSupport' value='Enabled'/>
picked it up from this link:
http://msdn.microsoft.com/en-us/library/jj204395.aspx
closed the visual studio and the Developement server
Related
I am working on Outlook Web Addin (OWA) project and downloaded a sample project from internet that is just showing basic information of selected email. The email information is showing in a .html page and this .html page is showing in iFrame of OWA. Till this point everything is good and I can see the details and everything is handled by the project itself that I downloaded.
Now our main requirement is when user clicks on "Inbox" then I need to capture that event and do something. But the problem I am facing is the OWA is running in different domain and my .html page that is running using Visual Studio is running in different domain. I don't have control over OWA and if iFrame page and main page both are not in same domain then I can't execute my JS code for parent page elements.
OWA URL: https://inexyz.customdomain.com/owa/#path=/mail
iFrame url: https://localhost:12345/messageread.html
The problem I am facing is how can I run my AddIn project incustomdomain.com. If I host it on local IIS then while debugging how can I append my messageread.html page url to iframe? Is there any way to change localhost:12345 to customdomain.com while debuggin using visual studio.
To resolve the above problem I tried to change the project URL in Visual Studio. I've checked checkbox for "Override application root URL" and set custom url like "https://machinename.customdomain.com/messageread.html" and instead of "IIS Express" set "Local IIS", also created vistural directory for the same. If I try to brows the messageread.html page using virtual directory it's working fine but when I try to run solution (Web Addin project) it's showing "Deployment error" and in Error List window it shows nothing.
I am using Visual Studio 2015.
Exchange server 2013.
OS: Windows 10.
IIS: 10
Anyone any idea, how can I change project URL from visual studio instead of localhost:prot?
I am creating an Office App (Outlook addin/web-app). While debugging, the app is always launching in IE desktop version. I want to start debugging the app in non-IE browser - FF, Chrome. I couldn't find any settings related to this within the project. How can I achieve that?
Any help will be appreciated.
Thanks.
Microsoft Visual Studio: Currently you will be able to debug you project in Visual studio 2015 or later only using IE browser. By "debugging in VS" I meant you set breakpoints directly in IDE for your JS code. As of VS2017 RC release you will be able to debug your project in two browsers (IE and Chrome), even today, Edge coming as well. Please see Client-side debugging of ASP.NET projects in Google Chrome.
If you need just to start your project in yet another browser (Chrome, Edge, Firefox) you need to use this article to switch your Browser in IDE: Testing with an Alternate Browser. After you switch to another browser, please restart VS; I have tried this myself and it works, your project will be started in the browser of your choice by pressing F5. With this approach you would need to debug your code with development tools of this browser (F12) or some 3rd party extension.
Visual Studio Code: (VS community edition) Looks like have support for debugging your code in Chrome and setting up break points directly in VS Code IDE. Please refer to Introducing Chrome Debugging for VS Code. You would require to install VS extension as described in the article.
Other options: If you are using yet another Tool please refer to the following blog about different methods of debugging office add-ins: The many ways of office web add-ins debugging
I finally figured out the solution. Select the Manifest project, hit F4 to open Properties window. Choose your preferred Start Action. Here is a screenshot.
Start Action image
I was going to add a connection to Visual Studio Team Services, I entered the URL and clicked OK button and then this happened:
I waited for 1-2 mins, nothing or no event happened, it is still a white blank page. So I closed it and then this error appeared,
How to fix this? Or is it possible to put credentials on the link/URL?
Use a modern browser. It looks like you're using an unsupported version of Internet Explorer -- VS Team Services supports IE11, nothing earlier.
This mostly happens if you don't enter correct user name and password or your user doesn't have access to TFS server.
1- Try login to TFS outside VS to see whether you have access, which eliminates the access issue if you have.
And you have to be in TFS security group based on here.
If none of these helps, try to run VS with admin privilege.
The Visual Studio uses IE and can't be changed to chrome, you can check this user voice, so you need to upgrade your IE to IE 11.
I'd been working on this for many hours.
My problem is this -- I can view our web application on both debug and release using IIS Express in Visual Studio 2013.
But when I try to publish it using Web Deploy then load the web app in browser (Chrome) -- it loads but it cannot find the CSS, JS, Fonts and some images.
What may cause this problem? While using Visual Studio 2013 debug or release mode in IIS Express all works smoothly.
Thank you.
After publish your web application, you must have to change the path of css,images etc.
Hope it will help you.
I am getting an Exception when I am trying debug my application on Emulator (Web Role).
you can see exception by clicking following link
Configuration which I am using Windows 7 pro, VS 2012 Pro, Azure SDK 1.8
Hope it might help others.
I Also had the similar problem and I restarted PC and **Run Visual Studio as Administrator**.
And let Visual Studio start the emulator with same privilege resolved the issue.
I was using Visual 2013 and Web API application under IIS Express.
Do you have IIS added? Most likely it's already installed but you've to enable it via Add Windows Compoenents on Control Panel...
I had this same issue all of a sudden, luckly I remember changing the ServiceDefinition.csdef file. I rolled this back to an earlier version and the debugger ran again correctly. The only thing I changed in the 'broken' version was instance size from small to medium.
Go to visual studio installer(search it from window's start)
and update the visual studio.
After updating, hit modify
button, after that on right side you will find a box named
debug (or something like that), select that box
Then hit install.
Restart your visual studio and debugger will start working.
In my case it worked perfectly.