I have created a web addin for Outlook. I have debugged the addin by sideloading from my localhost. I am now moving the addin to a remote server and I seem not to be able to get the addin installed. I changed the urls in the manifest to a hosted url. I have gotten a variety of errors. But the most frequent is an error during install (Installation failed - Internal server error occurred). Is there any any procedure to follow for migrating the addin to a web url? I thought this would be a simple transistion. :-)
The url for my manifest has the format of https://example.com/myaddins/companyname/manifest.xml
Related
I have a CodeIgniter application. For another service I have developed a Node.js app.
I have two questions:
How can I run the Node.js app to corresponding websites port number?
If I let it run locally, it is accessible through localhost:4000, but only via Chrome. When tried to access it via Firefox, the following error occurred which referrers me to this article from Mozilla.
I have a PhoneGap project on my windows 7 PC. I have installed the PhoneGap developer app on my PC which connects through server address: http://192.168.1.16:3000.
When I load the project on the PhoneGap developer app, everything works fine. The problem is that I have a database which is saved locally on my PC (localhost) and I access it through XAMPP. When I setup the XAMPP server I can not access the database and when I run the project it's showing me an error.
If I connect an online database on a server it works. I mean it's working with an online database but not working on localhost.
Can anyone help me how to access my database on localhost server.
var url = "http://localhost:81/myapp/auth.php";
And if i run open this link on above image result here:
enter image description here
Your app is running on the Phone and interprets localhost as its own host.
Try to use the IP you get from your Router of your PC smth. like 192.168.x.x or so.
Also be aware that direct connections to your PC-Database may be blocked because of the listen config of your MySQL Server
I'm developing an AngularJS web app and I'm testing by running the app locally, e.g. it's not on a server. I keep running into the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS header 'Access-Control-Allow-Origin' missing).1 (unknown)
My SO research tells me this is an error on the server side, but I have been successful getting data back from my iOS app running in the simulator and have used Postman with success.
Per suggestion, I'm running the app through http-server. Same issue.
I added a simple test case with the same results:
$http.get("http://www.yahoo.com")
.then(function (response) {
alert("Search Results: " + response);
}, function(error) {
alert("Could not get to Yahoo");
});
This is totally baffling.
Based on this comment:
I'm developing an AngularJS web app and I'm testing by running the app locally, e.g. it's not on a server
Then the reason this is not working is obvious: You cannot make asynchronous calls to servers in Javascript with most modern browsers by default if you are not running the javascript from a webserver (http:// instead of file:///). This is a security measure that is built into virtually all browsers. You could possibly get around this by launching the browser with certain flags; for example with Chrome you could run from the command line chrome --allow-file-access-from-files file:///[PATH_TO_FILE]
However it's recommended that you just run the javascript from a web server. This is extremely simple to do, you could use the node package http-server or Python's SimpleHTTPServer to serve the files up right from the directory they are in.
I developed small Restful Web Service in VS2012 which should manipulate with database through entity framework.
Client side is HTML/CSS/JavaScript web site which shows data from database.
Is there any way to communicate by Ajax (to overcome cross domain issue) from my site to Restful Web Service without installing IIS, because I have really bad and slow computer and I need this only for quick test.
Can I host my web site somehow on service which Visual Studio uses to publish Services run by Visual Studio, or there is some other way how to test it quickly ?
If you're willing to use iisexpress Do this
Publish your website to any folder in your PC.
Then open a cmd window and run the following commands
cd "C:\Program Files\IIS Express"
on 64-bit OS,
cd "C:\Program Files (x86)\IIS Express"
Now the path would change to IIS Express>
Then run the following command
iisexpress /path:your\website\path\ /port:8030
This will start your website over the port 8030
IIS express will run as long as you don't close this cmd window. You can see iisexpress icon in the notification area also.
Easier way is to install IIS in your PC and host it with much better options.
I want to debug my html + javascript site in IDEA and Chrome browser.
When I press 'debug' in console i got:
Failed to load resource file:///C:/js/angular.min.js
As I undestand, I need to set root path of my web site in properties. But where this option?
Such urls (site root-relative, the ones starting with slash) can't be properly resolved when opening file locally (using file:// protocol) - the browser will search for these files in your system root (C:/). You need using remote javascript debug configuration (access your html using the web server url rather than local path) to make this work. See http://wiki.jetbrains.net/intellij/Debugging_JavaScript_with_IntelliJ_IDEA#Remote_debugging for more information on remote javascript debugging in Idea
Note that Idea 12 supports so-called built-in webserver (http://confluence.jetbrains.com/display/WI/built-in+web+server), so you can test your code without installing a web server.
Instead of accessing from local file system try to access your html + javascript application from a web server by putting those appication files in web server.
Install XAMPP or WAMP in your system and copy your application into the htdocs folder to run that application locally.Also edit the files using IDEA from there.So,you can parallely edit using IEDA and run using XAMPP.
http://www.apachefriends.org/f/viewtopic.php?t=14173.