Windows Form User Control is not displaying at client pc in web page after deploy of website on server - html

I have a Windows Form User Control containing a button, I added it to my website using:
<object id="UserControl" classid="http:TestControlLibrary.dll#TestControlLibrary.UserControl1" height="100" width="100"></object>
When i run my website in development environment using localhost, every thing is working fine.
when i publish my website on server and access it using http://<ipaddress:port>/page.aspx on server itself it is working fine.
but, when i access my web site from client pc it is not showing button in web page.
How to show this button in web page on client pc.
Found the solution,
My site should be included in the trusted sites list of the browser.

Related

Allow HTTP web application to open custom protocol without being prompted always

I have a web application that opens a local application on client machines using a protocol already registered during client setup.
The web application gives an alert when opening local application and gives a checkbox to be selected in that alert. If checkbox is checked, the browser doesn't prompt next time when opening the local application.
However, this checkbox is seen when my web application is hosted with https. When hosted with http, the checkbox is not given by the browser and the browser always throws the alert. Can the user at client side manually do something to avoid the alert every time?
I looked into the Google chrome settings. There is Protocol Handlers in Site Settings but it doesn't allow to enter a site manually. It shows outlook.office.com which I can remove but doesn't give a way to enter a site manually.
Is there a workaround to trust a site and not show alert for this specific trusted site
If your environment is Microsoft, with a GPO the website can be added in the safe list address of Internet Explorer options. Otherwise, you will have to do it manually in each endpoint.

How to test HTML/CSS files from PC on mobile device

Here's the situation:
I have a folder on my PC containing a single HTML file, a CSS file, and an images folder. I've been testing it through the browser on my PC, but I wanted to run the same files off my Android to test on mobile. I zipped the entire folder, emailed it to myself, and then downloaded it and unzipped it on my Android. When I click on the HTML file I can open the page on the mobile browser, but it appears that the CSS file is not loading at all, despite all of the files still being in the same folder together on my phone. Is there an obvious problem I'm missing?
If the issue is coming from your phone and not the file, try to upload it on a free web host, like byethost, and open it directly trought internet.
You'll need to get your files into a web server.
If you don't have an external site you can use, you can still do it with a local web server. Depending on your OS, options for a local web server include IIS, Apache (via XAMPP on Windows), or even debug mode from an IDE like Visual Studio.
Next, get a tunnelling service like ngrok or localtunnel. When you run it, it will give you a temporary external website address that redirects to your local web server. You can then use your mobile device to test.

Ping/Curl works but website is not accessible via webbrowser

I am trying to host my own web page on an Ubuntu server. I can access the webpage if I type the IP address in my web browser, but I can't if I type the domain name (a free one from Freenom).
But if I use the command curl my.domain.name then I get the index.html contents. So, why can't I access the page via my web browser (Firefox/Chromium)?
Note that the ping command also works fine (no packet loss). Finally, I am not hosting the web page on the same computer as the one trying to access it. So far, my best guess is that the problem comes from the web browsers or Freenom, do not hesitate to ask for more info, I will edit my post.

Can access WAMP on mobile phone but layout is destroyed

I am new to WAMP Server Configurations and it seems that I managed to setup my server to run on other devices by using the Ngrok that allows user to create a terminal for their website.
I tried visiting the URL that ngrok gave me. The layout shows properly in a desktop. BUT upon accessing it in my android phone, the layout is not showing and it is just plain HTML.
Is there anything that I can do to fix this one?

This is a placeholder for the subdomain sometimes and some devices?

I just made the web site base on ruby on rails and host it at Digitalocean.
So my client want to use their subdomain from their old site.
(Their domain hosted on Godaddy.)
Then i set up everything and it works fine on all of my devices (mac air, iphone5 , iphone6 also and Windows labtop).
But sometimes when some of their staffs open the site they got the message like this
This is a placeholder for the subdomain xxx.yyy.com.
But I never faced this message
So how can I fix this?