Connect Scanner In Web Application (2.0/C#)?
Jan 5, 2010I want to scan images/documents from client machine scanner and uploaded with thumbnails to server using my
web application (ASP.Net 2.0/C#)
I want to scan images/documents from client machine scanner and uploaded with thumbnails to server using my
web application (ASP.Net 2.0/C#)
I have a ASP.Net application, that has barcode scanning functionality built into it.If a user is on regular computer like laptop or desktop, then I can simply connect the USB barcode scanner to the USB port and the barcode functionality works fine.But if a user is accessing the ASP.Net application over a windows mobile device, then how can a barcode scanner be connected to his/her mobile device?
View 1 RepliesI have a barcode scanner(Symbol-ls2208) but i dont know how to read information from it to my application (in C#). Can anyone help me in this problem with sample code? Os: Windows XP.scanner: Symbol LS2208 General Purpose Bar Code Scanner
View 2 Repliesthe process of integrating barcode scanner with the asp.net application in brief,where i need to generate barcode images and read the barcode and store im my database.....
I am not getting how to start and how to integrate that barcode scanner with asp.net appliaction
How to integrate barcode scanner into an ASP.NET Web application?Any open source library for doing it?
View 3 RepliesWe have an ASP.NET application deployed on 2 Application servers with load balancer server. It is using INPROC state management. The ADO.NET connection pooling is enabled with 50 as minimum connections and 100 maximum connections.
In Load testing (using load testing tool) when the application reaches to 50 users no more users can connect (login) to application the TPS reaches zero. No errors are logged in application log related to application or database. The sessions are working fine.
I have created a we application for managing the contacts. I want to save the selected contact to current user's outlook contact list. how to do this? I am using asp.net + c#.net.
Edited :
I have done this by following this link.
http://www.c-sharpcorner.com/uploadfile/rambab/outlookintegration10282006032802am/outlookintegration.aspx?login=true&user=lalitcdhake
its a great and easy to understand windows application for the same. I used Class library. It is running fine locally. but s I deploy my application in IIS and access it from outside network it showing dialog box with message :
" an unhandled win32 exception occurred in outlook.exe [876] "
What should be that ?
Edit 2:
Problem is still there. While i debugging the application I am getting the exception:
Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005. + OUTLOOK
I found this is the User Account Control problem on some blog. Is it true? Or What should be the solution over this. Is any another way rather than Interop services?
I have domain on the [URL]. I have create the database over there.I am able to connect to the database from [URL] site with specified user name and password. but when i am going to use same information in my connection string in my asp.net web application on local machine it is showing "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
This error. my connectionstring is :
<add name="MyConnectionString"
connectionString="Data Source=myDataSource; Initial Catalog=MyDatabaseName; User ID=MyUserId; Password=MyPassword" providerName="System.Data.SqlClient" />
I have provided all required parameters to connection string here.I got this parameter information from [URL] database Description section.
I've installed the trial version of IBM Informix Dynamic Server 11.50 on my development laptop, for use with an ASP.NET 2.0 app I'm writing. I have created a couple databases and filled them with sample data but I cannot connect. This is the relevant section of code:
Dim facStr As String = System.Configuration.ConfigurationManager.ConnectionStrings("fact").ConnectionString
conn.ConnectionString = facStr
Try
conn.Open()
Catch ex As Exception
The exception is:
[Informix .NET provider][Informix]Server ol_srv_custom is not listed as a dbserver name in sqlhosts.
The full path to the sqlhosts file is:
C:Archivos de programaIBMInformixClient-SDKetcsqlhosts
Informix's environment variables:
INFORMIXSQLHOSTS=C:Archivos de programaIBMInformixClient-SDKetcsqlhosts
Contents of sqlhosts file:
ol_srv_custom olsoctcp *nb-desarrollo svc_custom
Connect string:
Host=*nb-desarrollo; Service=svc_custom; Server=ol_srv_custom; Database=fact; User Id=informix; password=****
I am having a ASP.net web application which is hosted in an internet server. Now i got a requirement to integrate this website with a computer telephony infrastructure. The details are as follows.
The user will be located in a building having TAPI standard, LAN - CTE infrastructure enabled telephone system and the logged-in user should be able to connect to the phone line (extension no:) within the same building through the browser. When a call comes to that phone line, a popup should appear in the users browser displaying the number of the caller. I am having the following doubts in implementation of this functionality
How should I connect (communicate) my application with this LAN - CTE infrastructure? The LAN - CTE infrastructre is simply an API having no web services exposed from their side for this purpose. So think I will have to write an extra wrapper class just above the LAN - CTE infrastructure to facilitate this.
Do I really need to connect to the telephone line across the internet as this logged user and the extension no: will be in the same local network?
I have hosted an application on my local system and people on company intranet will be accessing that. I have windowxp SP3. I have heard from someone that only a limited no. of users( around 20) can access my application if I am hosting it on XP.
View 4 Replieshow can i connect mySql to my mvc application
i need a tutorial and all steps to connect to mySQL
My application is working correctlywhen I debug it against my sql express.
Now i have deployed on IIS on another machine with win2008 web server and changed the database connection string.I would like that the application uses always the same user to connect to the database and not to use the identity of the connected user.
Error: Cannot open database "XXXXXX" requested by the login. The login failed. Login failed for user 'NT AUTHORITYNETWORK SERVICE'
How do I connect from a web application to db2 database?
View 3 RepliesI have a project assigned in which whatever mail alerts be generated sent as a sms to the user who is using that web application.I want to know that how to use kannel as a SMS gateway to connect to my Web application and what are the steps required?
View 2 RepliesIs it possible to connect to a Remote Desktop from my ASP.net application,If so can you guide me through it.
View 1 RepliesI have two PC. In one pc(PC1) i have installed oracle express edition 10g (10.2.0.0 as far as i know). And in another(PC2) i have installed visual studio 2008 sp1. In PC2 the ASP.Net application is running. But i can not connect to the oracle database to PC1. PC1 and PC2 are connected by LAN(TCP/IP {Actually they are connected by wire and given two IP} ) But it was working perfectly while both ASP.net application and database were in the samae PC. ca
the NHibernate configuration file is:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory> [code].....
I want to develop a three tier architecture app.I have no idea when weplace our BLL and DLL code in different server how to connecct this BLL and DLL code to our Website(UI).
View 4 RepliesI need to integrate msn messenger connect in my existing application.
View 1 Replieshow can i use scaaner in asp.net
View 1 RepliesI have an existing windows .net application that has an access database as the backend.
I want to place the access database on a web server and it was suggested that I create a web service in order to communicate with the database.
I've been looking at some tutorials but am still confused about the basic config needed. Here's some questions I have:
1) Does the web service need to be created inside my current project by right clicking on the solution and choosing to add a new web site...and then selecting web service?
2) If it's set up like this, what files do I place onto the web server?
3) Where does the database reside? Do I need to place the database inside the web server that I create?
4) My current project has existing sql that gets data and I'm uncertain how to re-write in order to retreive the data. e.g. which part goes into the client and which part goes to web service pages? here's an example of a procedure that currently exists...I'm getting data to populate a dropdown:
[code]....
I'm trying to publish an ASP.NET website over an IIS 6.0 (Windows 2003 Server), and I have some troubles trying to connect to the database. Curiously, I have installed another ASP.NET website into the same IIS 6.0 with the same properties and security parameters and can connect without problems with the same database. The application that works fine is almost the same that the one that can't connect with SQL Server (actually is the same but with several modifications).I'll enumarate some information related to the problem:
S.O: Windows 2003 Server
SQL Server Engine: SQL Server 2008 SQL Server accept remote connections? Yes.
ASP.NET version: 2.0.50727
The connections via TCP/IP are enabled to the SQL Server instance? Yes.
The corresponding user that I have in the connection string, actually exists into the database with the "owner" role? Yes.
ORM Tool used: nHibernate
I get the following error when I try to run the aplication into the browser:
Error while establishing a connection
to the server. When connecting to SQL
Server 2005, this failure may occur
because the default settings SQL
Server does not allow remote
connections. (provider: Shared Memory
Provider, error: 40 - Could not open a
connection to SQL Server)
I made some test. For example, using the web app that works fine I can connect without any problema with the database that uses the web app that can't. With this evidence I concluded that the problem is within the web app and not into the SQL Server instance.
how to connect an asp.net application running in local IIS to a database residing in a remote web server ?
View 2 Repliesi have created several crystal report for my web application, i need to use my application to connect different database on the server which has no problem in the application but when i open the reports created using crystal report, it still connected to the database configured. how can i fix this, is there other way than to use another copy of the application and configure it manually at the each of the reports. i do have pass the logon information to the report using vb.net in which i get the info from the web.config
Dim A As ConnStr = New ConnStr
With ConnInfo
.ServerName = A.getServerName()
.DatabaseName = A.getDBName()
.UserID = A.getUser()
.Password = A.getPwd()
End With
my problem is how to make crystal report to uses all the logon info passed and not use the infor set in the report file
Normally my application is working fine.After I host my asp application on IIS I get an exception "internal error", when I try to execute the below lines of code.
where CertificatePath = C:inetpubwwwroot......
X509Certificate2 cert = new X509Certificate2(CertificatePath, CertificatePassword);
var serviceManagment = ServiceManagementHelper.CreateServiceManagementChannel(EndpointConfigurationName, cert); var listServices = serviceManagment.ListHostedServices(SubscriptionId);
I suppose the application is not able to read the IIS certificate.I am trying to connect to windows azure cloud for which the certificate is required to get list of hosted services from cloud.
Stack trace -
StackTrace = " at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, Safe...