im creating a project.i developed a circuit for usb. i will connect this device to server's usb port. Can i access this device from a client?(not read/write file. i will send some commands to usb). Usb connection program is ready.How can i access from client? Which method will i use? web service,wcf or others.
I've written a Generic Handler so I can access my server's COM port through javascript. I'm doing this, because I'm writing a Web Interface to an ESP-88 from BOSE, for internal use. The code must be configurable, and I added routines for both TCP/IP support and RS232. In a desktop app, the code runs fine, but in an ASP.net 4.0 App, the code crashes with the error "Access to the port 'COM2' is denied.". TCP/IP connections work, but serial is also required for us.
Well I am having a problem when I have put my .NET 2.0 web site on IIS 6. I have used UrlMapping to redirect some old urls. It is working fine when I am using it on the VS local server port but when I deploy it to IIS 6, its giving a 404 Page not found error.
I've found that in a few forums they are talking about using Wildcard Mapping, but none of them provide me with a good explanation of how to achieve this. Added to this, what are the security risks of doing such a modification on IIS Level (if there are any?)
we have a built in fax modem working on com4 without any problem but i want to access this modem and issue some AT command to it, when im trying to do this im getting error saying some other program is using this device and unnable to connect.
Does anyone know how to access this modem. or is thier a better way to access this modem.
we have a situation where we need to host two certificates on the same server and because we can't have two different certificates on the same server running off the same port we have assigned one certificate run through another port, which is 4443.
So the URL to our web app is now....
[URL]
If I punch this into a web browser I can access it fine, however, if I create a web reference using this URL in Visual Studio (2005) it can create the web reference fine and it builds ok. But whenever I call a web method on this service instance I get a HTTP 404 page not found Exception.
Is there any properties I need to set on the web service object to get this to work? I'm confused as to why it's not working.
how to run asp web site on different port in iis 5.1 server?
i have change the port no. but i can't run my web site on that port so plz. give me complete information and step to run asp web site in iis server on other than different port.
I am currently following certain video tutorials on ASP.NET. I am working on my local machine (Win 7 - Localhost).When the instructor gets to the following line:
[Code]....
He stops and says I can't show you for "Privacy Reasons" < Which is understandable.BUT He fails to mention where we can get that info from !! can get the Port by simply scrolling onto the Localhost server icon in the bottom right hand side of the Windows Taskbar. And for host I'm guessing it'll be localhost !! However I don't know what the username and password
I'm currently taking care of a certain local website.
The default port has been changed, and can no longer be not included in the URL due to technical reasons, so now i'm using a certain port in the end of the IP at the URL, for example
100.100.100.100/website.aspx
no longer works (which accessed 80 by default)
100.100.100.100:81/website.aspx
with the port, works.
Works, though I can't click in any link or anything and the port vanishes (new page doesn't load). Then I keep the same URL and just include the port at the end of the IP and it works again, until I click in another link inside of it.
I have access to changing each link, but I guess that would not be the right approach.
How should I procceed ?
--[EDIT]--
All URL's are already relative, and the whole issue of this question is not applicable in IE, this only happens on other browsers.
/website.aspx
What I said about changing each link would be something like
I'm looking at creating a project that has a touch screen panel on a com port and a front facing website.
I want the touch screen panel to interface with the web page, it will have two buttons (left & right) and I want those actions to "do something" on the web page.
I'm trying to work out which programming/scripting language would be best to, I could use JS but I believe that'd mean polling a c/perl/php script that is listening on the COM port considering JS has no socket capabilities.
Would it be easier if I used ASP.NET/C# - would it cause me less headaches?
I need to make an ajax call from my javascript and access a control on my page. Using a webmethod wont work then since it's static, do I have any other options?
I want to Access remote server( ie., want to access online server not local server) in my Application.. I change Settings in SQL surface Area Configuration---> Remote Connection ( checked the Local and Remote Connection ) Then while running the application it showing the following error.(I make off the firewall also) An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I can specify a port number with SmtpClient object in ASP.NET, what I am wondering is, is that just the port .NET uses to send mail to the SMTP server? Or will that dictate what port for the SMTP server to use? Or is it that it MUST match the port configured for the SMTP server?
I have a managed DLL which communicates with the devices attached on COM/Serial ports. The desktop Winforms application sends requests on ports and receives/stores data in memory. In Winforms app I have added a reference to DLL and I am using the methods. This works well. Now, there is a situation where I need to show this data from serial/com port on a web-page. And also users should be able to send requests to the ports using this DLL. I have made a web app in ASP.NET (2.0). Added a reference to the DLL. I am able to use this DLL, the DLL communicates on the COM upon button click on web-page and also the response is shown on web page. However I am not happy with the approach and strongly feel that this is a bad approach. Also the development server crashes after 3 -4 requests. What is the best approach in this scenario. If I use a windows service then how would my ASP.net app will communicate with the Weindows service.Or can this be easily done using WCF. I have not used WCF any time nor any of .net remoting technique.
I following this article for sending SMS it is a winform application.. I have referenced all the Dll's to my asp.net application. I use an aspx page to detect a mobile device connected to a PC..... But it alwys shows COM 'n' Port could not be opened.
using SMS; using GsmComm.GsmCommunication; using GsmComm.PduConverter; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { GsmCommMain comm = new GsmCommMain(6, 9600, 300); comm.Open(); if (!comm.IsConnected()) { Response.Write("No Phone Connected"); } else { SmsSubmitPdu pdu = new SmsSubmitPdu("test", "+919999999999", ""); CommSetting.comm.SendMessage(pdu); } } }
EDIT:
I use the web development server that ships with Visual Studio... If go to Control Panel -> Phones & Modems -> Modems i could see my mobile connected in com6.. i have tested the winform application it works fine.Is this the answer? ASP.NET pages are supposed to work.What is happening over here is that when you click on open_com button, the ASP.NET page posts back to itself, executes the event handler i.e., opensthe port. Then when the page finishesprocessing the post back, it is unloaded. At this point the COM1 objects is also destroyed.
I have a web site developed in framework 3.5 , OS 2008 Server and iis 6.0 My web site running on port no. 80 and accessible in Lan network but it is not accessed when I changed to any port no like 8060 or 88. how to change port no so that I can access it in LAN network