|
So? Do you have that routing or file setup that can handle the requests at that URL? If no, then create it, if yes then show that code.
Secondly, SignalR doesn't require you to create a personal ajax handler, it sets those things up for you. You just need to create handlers on server-side and client-side.
For a complete overview, please refer here, Tutorial: Getting Started with SignalR 2 | The ASP.NET Site[^]
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Hi,
I develop a web application and when click a print button it print direct to the default printer and it's work fine, but when I publish the application on the IIS the print doesn't work.
error is : Object reference not set to an instance of an object.
Please let me know how to configure the IIS and Print permission becasuse we think the problem is in the permission.
Thanks
|
|
|
|
|
So you're trying to access the default printer from C#, which means that your application is trying to print on the server.
If you're trying to print on the client side, you'll need to do it in the client-side language, namely JavaScript (window.print()).
This sort of things often "works" in a development environment, where the server and client are normally the same machine. In the cloud, though, servers are generally VMs with no printer setup. If a printer was setup you wouldn't see an error message: the document would simply print at the server's default printer, and only the IPP admins know where that is.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
NB: In Windows, printers are installed and configured per user. Even if the server admin installed and configured a printer under the administrator account, it wouldn't be available to the server account(s) under which IIS applications run. Getting the printer configured on the server for IIS would involve manipulating the registry.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: Getting the printer configured on the server for IIS would involve manipulating the registry. Or just changing the App Pool to run with an account that does have a printer setup? Still, probably not a good idea.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Richard Deeming wrote: Getting the printer configured on the server for IIS would involve manipulating the registry.
Or GPO and a print server. I guess environment does have a big impact on worldview.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
hello, can someone help me how to detect and map a wifi signal by using Php Language?
thank you!!!
|
|
|
|
|
|
PHP has no design element that can do this; how can a server-side scripting language be used as a network sniffer?
What you need to use is some sort of a network sniffer, to help you visualize how the packets are moving — sorry if I am unclear, I don't own a black hat in my wardrobe.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
i want to do a project on sms based Remote Server Monitoring System For Corporate Data Centers.anybody here can help me out
|
|
|
|
|
What have you tried? Where are you stuck? Exactly what help do you want?
|
|
|
|
|
Message Closed
modified 26-Nov-16 7:28am.
|
|
|
|
|
Well it's your project so you are expected to do the work. If and when you have specific questions with your code then people will be happy to help you. But no one is going to do all the work for you.
|
|
|
|
|
Member 12536540 wrote: project on sms based Remote Server Monitoring System For Corporate Data Centers
Sure, let me know how can I help you.
|
|
|
|
|
Hi
Please do not send me private email. If you have a question ask here so that others can get benefit out of it too.
Cheers
|
|
|
|
|
The last line of your previous message implies that you are prepared to offer personal assistance.
|
|
|
|
|
Richard MacCutchan wrote: previous message implies that you are prepared to offer personal assistance.
No not really. I think he/she got an assignment/project in his School/University and obviously he was not paying attention in all those lectures, so he does not know where to start from and obviously the question for him seems to be alien at this minute and am sure clock is ticking and now all he is bothered about is final product to submit and get pass grade.
My idea is to first train him on how to make sense of the question, what all he can try before asking question here and when he tried enough then what is the best possible manner to ask question here or any other tech forums. If he is running out of time, it's better to fail and then stand up rather than giving up so early and relying on someone else's work.
So all in all, I am not going to work for him but yes if he wants I can put him in a right direction and obviously for similar reason, I ignored his private email and ask him to reply on this thread.

|
|
|
|
|
cp-andy wrote: Sure, let me know how can I help you. That seems a pretty clear indication that you are offering personal help.
|
|
|
|
|
Ok, is there anything wrong in that?
As they say knowledge increases when you share.
|
|
|
|
|
No, but it is reasonable for the OP to assume you are offering to provide some level of personal help, rather than just telling him/her to clarify their question.
|
|
|
|
|
Help doesn't mean that am happy to take on discussion off the forums.
|
|
|
|
|
Blimey this is hard work. I am not talking about what you meant, I am talking about what a questioner (whose first language is probably not English) thinks you are offering.
|
|
|
|
|
haha ok thanks for explaining what he must have thought.
|
|
|
|
|
Hello,
Following code helps in navigating to particular point in vimeo videos (by adding #t=0m0s to querystring). It is working absolutely fine on firefox but not on other browsers.
Can anyone point why and point me to right direction. Thanks
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<iframe src="https://player.vimeo.com/video/191602887" width="629" height="356" id="vimeo-player-1" name="vimeo"></iframe>
<style>
iframe{
display: none;
width:629px;
height:356px;
margin:0 0 10px;
}
</style>
<div id="container"></div>
<div id="iframe-holder">
<iframe src="" id="frame"></iframe>
</div>
<a style="cursor: pointer; " onclick="insert('0m51s');">[0.51]</a>
<div class="spacer10"></div>
<a style="cursor: pointer; " onclick="insert('1m38s');">[1.38]</a>
<script>
function insert(time) {
var myFrame = $('#vimeo-player-1');
var url = $(myFrame).attr('src') + '#t=' + time;
holder = document.getElementById('iframe-holder'),
frame = holder.getElementsByTagName('iframe')[0];
frame.style.display = "block";
frame.src = url;
document.getElementById('container').insertBefore(holder, null);
$("#vimeo-player-1").hide();
if(myFrame.location!=url&&url!=location.href)
myFrame.location.replace(url);
}
</script>
Thanks
modified 25-Nov-16 7:14am.
|
|
|
|
|
I am working with legacy code in an old project, can someone please point me to a good tutorial on how to turn a regular Web Service into a RESTful Web Service.
I have found plenty of tutorials for creating RESTful Services using WCF but very few tutorials for RESTful Web Service.
Of the ones I did find, the explanation for what makes the web service RESTful is either missing or not very well explained.
modified 22-Nov-16 20:56pm.
|
|
|
|