.net - Microsoft Speech Recognition In Web Service?
May 23, 2010
I'm trying to use the System.Speech.Recognition namespace for recognizing speech in a web service. Actually, the WS calls a dll that uses this namespace.The problem is that...I can't. First, I had a Access denied error. After changing the Identity of my application pool to LocalSystem (security break, I know), that disappeared. But a timeout appeared. I receive no error, but no response either.
I did some tests, and, the same code (very simple) that I use for recognizing the text in a WAV returns the answer in around 2 seconds, when integrated in a desktop application, but hangs and does nothing in a web application. I'm not supposed to use System.Speech.Recognition in a web application? Am I supposed to use something else?
I have just deployed a MVC web application onto our intranet. The application is hosted on a Win 2003 R2 SP1 server and running on IIS 6.0. Everything works fine within the application. But our intranet uses the windows Indexing service for providing search functionality on our intranet website.The search brings up related links to files within the MVC web application. But the problem is the links don't work as MVC urls do not point to absolute files.Is there a way to resolve this?
I have a web application that uses SAPI to do TTS. I run it on Windows Server 2003 that has MS Sam installed by default.I understand that there are a number of 3rd party companies that sell voices. For a commercial application, which of these companies offer licenses that don't charge a lot of money? Do they have API to easily integrate with a ASP.NET app?I really would like to add more voices to the application.
I am trying to make website in asp.net webforms in which I have to displayed some text. Upon user button click the text is converted to speech and played on the page. I have tried the speech.lib but the sound plays on the server not on the client side. How can this done without using flash silver light. Do I have to use the web methods or web services.
I have a webapp that turns text to speech and then plays it on a webpage. It's works great when I run it locally but when I upload it to the server I get a security exception.
How can I set the permissions to let me do this? I know very little about permission.
I have developed a web service using c#.net for text to speech using speechlib. It is working locally but not on the host, as I am getting access denied. I have read on other forums that this is because of security permissions on the host server. I am deploying on a site which offers free asp.net hosting. Can someone point me out to a good asp.net web hosting which is not veryy expensive and that supports text to speech without problems?
I have a very simple ASP.NET web application created under Visual Studio 2008 (SP1), targeting .NET 3.5.
Startup page is a dumbed down ASPX page with 4 text boxes, a button, and two JScript functions:
An OnLoad handler for the body. This function just sets the values of the text boxes to certain dates and times for testing.An OnClick handler for the button. This handler invokes the Localization web service and displays the results thereof.
Localization is a web service. Its job is to get the user's region and country information, create a CultureInfo object, and parse the date and time information so that it can verify that the start date is prior to the end date. It's the only reliable way to do this without reams of JScript code that essentially reinvents the wheel. The result is returned as a JSON string.
Everything seemed to be working just fine, until I started getting these weird error messages from the debugger. The debugger will break on this line :
try { _this._webRequest.completed(Sys.EventArgs.Empty); } finally { // <-- RIGHT HERE, specifically, on the brace if (_this._xmlHttpRequest != null) { _this._xmlHttpRequest.onreadystatechange = Function.emptyMethod; _this._xmlHttpRequest = null; } }
The error message is this:
Microsoft JScript compilation error: Expected ';'
Now, this is baffling, and research has usually recommended ensuring that Java was installed. I scoffed at first, thinking that I, with my vast and clearly superior intellect, could not possibly have made so foolish a mistake and that everyone knew the difference between Java and JavaScript. So, when no one was looking, I tried it. It made no difference.
I have no idea what is causing this to occur. The stack trace reveals that it's the only call on the stack. There aren't even any local variables to work with. And the file that it occurs in is a generated dynamic script resource. The function, however, is the _onReadyStateChange function of the Sys.Net.XMLHttpExecutor object. So I can at least say it's occurring consistently in the AJAX code.
Has anyone else seen this? If you did, what was its cause and how did you resolve it?
i have created a website in vs 2008. and i want to deploy that website on other system. i don't want to give all the source(just like .exe file not source).
We have developed apllication in Microsoft VS 2008 and when we opening this same application with Microsoft VS 2010. Then it's asking to convert.
So can anybody tell me what it is converting exactly. Means it's open application in Microsoft VS 2010 and running properly also. But i am understanding whats happning while converting.
I am facing the problem to acess the Data Base. some time ago i am easily acess the data base by typing the server name(like 127.80.1.7) and type the user id and password from web.config file but now i am find the error.like Login failed for user 'NSAdmin' (Microsoft Sql Server, Error:18456).
I have built a WCF Service that is being consumed by a Silverlight app. At first I created one method that was very simple:
public String SfTest() { return "SF Test"; }
No poblem. My silverlight app references my service and displays "SF Test" in a textbox. Now I add a method to my wcf service like this:
public List<String> GetTest() { List<String> list = new List<string>(); String a = "a"; list.Add(a); String b = "b"; list.Add(b); return list; }
I update the reference to the service in my Silverlight app and the using statement in my xaml cs page throws an error like the service doesn't even exist although it is there. I am assuming the problem has to do with datatypes or serialization or something like that but it is driving me up the wall. Why can't I consume a simple generic list in my Silverlight app through the WCF service.
I developed a web service in VS2010 on my local machine, wrote a consumer of it also locally, and that all works.
I copied the dll and the asmx file to our server, and I am getting an error when I try to invoke it from a browser (also still on the server machine) to make sure it correctly exposes its web methods, but it is not, it is saying "Could not create type 'Service'". That error comes from this line:
Line 1: <%@ WebService Language="C#" CodeBehind="~/App_Code/WarrantyDuplicate.cs" Class="Service" %> There other web services in the same folder on the server that all work fine so I don't believe it's an IIS setup thing.
This is my first web service in C# and when I created it in VS I did think it odd that the code behind file went into App_Code (as you can see from the line in the asmx file) and is just named dot-cs rather than asmx-dot-cs. But since it worked fine locally, I wasn't sure that mattered.
I have asp.net 2.0 site which is calling web services hosted on another server. When i have an xml file from where web service ip for eg. www.mysite/webservice1/myservice.asmx is given. When i call the same server from developer machine using local networkit works fine.But the same is when hosted remotely and from client end when services is called reading xml fiile from client machine it given a message 'remote server not connecting'.
I am not sure which approach I should use. I have a web application that needs to get/receive data from a third party application that is in a secure remote network. The data needs to be secure during transport. The data layers cannot be exposed and the databases will not talk to each other. The data will be received from remote application on demand, or will get at scheduled intervals.
I have looked at WCF, but not sure if this will work. Can a WCF service be used to receive data as needed from a remote sender or service? Is this a secure way of doing it? I have also looked at SFTP using some XML/XSLT, but I don't think this is the right way to go. In addition, some data may be transported from my web application to the remote application (mostly reports at first). What protocols are used to transfer data between HIPAA compliant applications?
I am writing two ASP.NET apps. One is a web service that provides xml data and the other is a web client that will use the service to display and manipulate data. I would like for the web service to do the membership authentication and authorization. Is there any way to simply point the login controls in my client application to the web service instead of to a database. I assume I would have to provide the necesarry methods in my web service interface, which would then use the membership provider database I created and pass the results back through to the client.
Is this possible? I have seen many articles on security provisioin from a web service but none has really been what I am looking for. I was hoping that, since my service and my client are both written in ASP.NET, there might be some built functionality that would benefit me.
I'm currently trying to work out the best way to build this web application, which will then be intergrated on other systems, such as WinForms, Intranets etc.
We hope to include the usual layers i.e. DAL, BLL, BOL and UI but I have been experimenting with Entity Framework 4 and WCF Data Services and managed to get something in place where I was using WCF as a gateway to EF4.
i.e. Adding a Service Reference to my project and then using the EF4 context and writing LINQ queries against the DB
e.g.[Code]....
Now with the current setup I would still need to write a DAL Class Library, that interacts with the Data Service, because as I said WCF Data Services only seems to be a gateway, I can't see where to put the code (above) in the Data Service and then how I could these methods.
My questions are: 1. How do I develop a WCF Data Service in such a way to allow this behaviour - I know how I could do it using ASMX web service, something like [Code]....
2. If I am to use WCF Data Services, how is serialization handled (if at all) - again I know how to do something in ASMX web services
3. Again, If I am to use WCF, how do I add Security and only allow my applications to access the web service - for obvious reasons
4. Would it be possible / logical to also include the Business Logic Layer into the web service?
Is it possible to run a web service as a particular user/service account in the same way a Windows service can?I have a service account used for connecting to the DB and want to run the webservice under this account as the users using the webservice won't have DB access.The way I see to do it is to include the Impersonate option in the Web.config file, but is there any better way to do this?