|
You don't have the correct version of the .NET Framework installed. Basically, it sounds like you're trying to run a .NET 3.x app on a machine with only .NET 1.0 or 1.1, or 2.0 installed.
Vishnu Nath wrote: just day before it was working fine and suddenly now am getting this error.
Reinstall the correct .NET Frameworks...
|
|
|
|
|
I have installed .Net Framework 2.0 once and repaired it Twice.
My application runs on .Net Framework 2.0
No question of using .net framework 3.5 or 3.0.
Since i have developed it in VS2005 in .net Framework 2.0.
I packaged my application and deployed it.
After using my application for several days, all of sudden it started throwing error ".NET Framework Initialization Error : Unable to fine the version of runtime to run this application".
Apart from my application also few other apps depending on framework 2.0 behaved similarly.
I tried repairing my framework twice and then reinstalling it once, but the problem seems to persist.
Aspiring Techie,
Vishnu Nath
|
|
|
|
|
Well then, something screwed up the framework to the point where repairing the installation won't fix it. Google for ".net framework 2.0 repair" you'll come up with a few procedures that might fix it. Otherwise, the only other option is to blow away the machine and rebuild it.
|
|
|
|
|
.NET Framework Initialization Error : Unable to fine the version of runtime to run this application
|
|
|
|
|
.NET Framework Initialization Error : Unable to fine the version of runtime to run this application
Sender: sakthivelcbe
|
|
|
|
|
I have installed .Net Framework 2.0 once and repaired it Twice.
My application runs on .Net Framework 2.0
No question of using .net framework 3.5 or 3.0.
Since i have developed it in VS2005 in .net Framework 2.0.
I packaged my application and deployed it.
After using my application for several days, all of sudden it started throwing error ".NET Framework Initialization Error : Unable to fine the version of runtime to run this application".
Apart from my application also few other apps depending on framework 2.0 behaved similarly.
I tried repairing my framework twice and then reinstalling it once, but the problem seems to persist.
sakthivel developer
|
|
|
|
|
I have myself encountered this problem a couple of times now, not on any of my systems though. Unfortunately the problem had surfaced on systems of my clients running my software.
I've tried every trick known to me and suggested by very well-intending helpful folks. The myraid of things have tried to fix the error start from repairing the framework, uninstalling and then reinstalling the framework to adding the service pack patches (SP1, SP2). Nonetheless the error persist.
Once, I installed dotnetfx 3.5 and the problem went again only to surface days later. I'm begining to think its some sort of virus attach on the framework or something. I've checked msdn and can't find any different answers from those I've received from many, different forum.
This is a very serious problem for the only way the problem really goes away is by formating the system and reinstalling everything over again. My clients patience is wearing thin. Besides I can't ask them not to go on the internet with their system nor use a flash on the system.
Please the dot net MVP's should take a serious look at this. I've waited several months hoping the solution we'd be posted someday on the forum. Nah! Sadly my app is begining to get the reputation of crashing once the Iternet is accessed! HOW TRUE?
|
|
|
|
|
Hi,
Here requirement is we have to develop add-on to internet explorer and mozilla firebox.
If we develop in dotnet it will not work with out having Dotnet frame work here all users no need to install framework. Is there any way to develop a toolbar in dotnet,It will work with out having dotnet framework.
Any ideas please share here.
Thanks
-Pavani
|
|
|
|
|
pavanip wrote: develop add-on to internet explorer and mozilla firebox.
Two different interfaces. Not exactly a neat solution, but doable...
pavanip wrote: If we develop in dotnet it will not work with out having Dotnet frame work
True.
pavanip wrote: all users no need to install framework
They have to install the .NET Framework in order to run managed code (C#, VB.NET, C++/CLI, ...). There are utilities out there that will compile the app down to native code and include the .NET Framework, but there are no free ones and they cost at least $1,000 to get.
pavanip wrote: Is there any way to develop a toolbar in dotnet,It will work with out having dotnet framework.
Without said utility, no.
|
|
|
|
|
I want to grab a portion of the screen with just text (already accomplished) and save it as a bitonal tiff images and then image enhance that file so that OCR programs can effectively convert it to text. Is there a surefire method using GDI+ that will give me a great looking image that a OCR program can sucessfully read? By great looking I mean where the text is readable and not blurry.
Right now, I'm creating a 600x400 image canvas and pasting the text I grabed from the desktop onto that image. The reason why the image canvas (white space) is so big is that I'm concerned that some OCR engines won't read really small images. However, most OCR programs return garbled text even if the text on the image is pixel perfect. Why is this? Is there something wrong with the resolution, DPI, quality of the image? For example, I have an image with the text "Color.White" centered in the middle in 10 font size. When I OCR it, it reads "C0l0t.Uhic&"
I also ned to know how to save a GDI+ image as a bitonal tiff.
Also, does anyone reccommend a good OCR engine I can use with the .NET framework?
|
|
|
|
|
The OCR library you're using is making the mistakes. It's probably got nothing to do with the image itself, but the font used in the image and the quality of the OCR software.
As for TIFF support in GDI+, I'd recommend using a third party library to do the image manipulation. TIFF support is a bit spotty in GDI+ and it doesn't have a suite of functions for cleaning up images.
|
|
|
|
|
Hi,
The limited experience I have with OCR told me you need 16 pt or larger to get reasonable results.
At 10pt each characters is only a few pixels wide and high, insufficient for OCR to work properly.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
modified on Wednesday, February 11, 2009 6:14 PM
|
|
|
|
|
How are you converting it to a bitonal representation? This is an information loss and thus probably an error source.
|
|
|
|
|
Trying to read freshly-generated textual information off a screen tends to be a different problem than reading a scanned document; programs that are designed for one problem may not be optimal for the other. Programs that are seeking to read information off the screen generally have to cope with a lower-resolution version of characters than programs which are dealing with a scanned page, but in many cases have the huge advantage that the letter forms on screen will often be much more consistent than those in a scan. This allowed for much more efficient operation than would otherwise be possible. Even the original IBM PC could read text off the low-resolution graphics screen; indeed, that's how the BASIC interpreter worked in graphics mode. The "Insert" key was a bit sluggish in graphics mode, but that's because each character had to be read off the screen and rewritten one space over. Of course, most applications don't use monospaced text aligned on byte boundaries, but modern PC's don't have to run at 4.77MHz (4*chroma/3).
|
|
|
|
|
hlo everyone..
how can a tune sung by a user (humming) be compared with the songs in the database & produce similar results??
since the pitch of man & woman varies widely, how can the results can be made accurate?
|
|
|
|
|
I would have used Artficial Neural Nettworks for a task like that. If you don't wanna code it from scratch you can use a library like AForge.
|
|
|
|
|
I give up - How do I get the caller host from a WCF context when the service is hosted as a ServiceHost running as an NT Service.
The best I can come up with is:
string host;
if (Demon.IsDemon) {
//Thought this might do the trick - but doesn't
OperationContext oc = OperationContext.Current;
host = oc.RequestContext.RequestMessage.Headers.From.Uri.Host;
} else {
//This works in IIS
host = HttpContext.Current.Request.UserHostName;
}
I have searched for hours and just can't find the solution - Is it really crazy to want to know the host that is calling my service?
There are 10 kinds of people that understand binary, those that do and those that don't...
|
|
|
|
|
Okay, finally found the answer here... thanks Phil
http://blogs.msdn.com/phenning/archive/2007/08/08/remoteendpointmessageproperty-in-wcf-net-3-5.aspx[^]
It seems this was an after thought in WCF, but it is imho essential to have the ability to know who is calling my public methods, and how - even if it is just for simple logging or debugging.
I know the request may have been proxied accross the world, and that the physical 'sender' may not be reachable, and that the underlaying protocol may not be 'whatever', but I will 'always' want to access this kind of information.
It is simple really, someone calls me and I give them an answer - but only if I can see their number in the display. Maybe I just want to call them back later.
So to simply sum up what I wanted this for:
public void Subscribe(string MyCallbackProtocol, int MyCallbackPort, string MyCallbackInterfaceName){
string YourAddress = (I want to determine this! I want to call you back later.);
}
There are 10 kinds of people that understand binary, those that do and those that don't...
|
|
|
|
|
Hi,
I have a WebService-WS, WebApp-WA and DTOproject-DTO. I made a DTO, SZ, serializable and added it as reference to WS and WA. When I call webmethod WS.oneWS.method() it returns an array of WS.SZ where I need DTO.SZ. Am I missing something here apart from making SZ serializable? Please help me.
Thanks in advance.
|
|
|
|
|
Thanks in Adv.
How to forcefully Kill a Thread in VB dot net 2005
Best Of Regards,
Mirza Rahman
|
|
|
|
|
It's not really the proper way to stop a thread, but you just call it's Abort method.
someThreadIStarted.Abort
|
|
|
|
|
Thanks for Replying I tried this
like
Thread.abort
thread.resetabort
thread.suspend
But nothing works
It give error that Call is from some outside referenced Thread
|
|
|
|
|
What's the exact error message?? Are you trying to kill a thread your code didn't create?? Or are you trying to have a thread kill itself??
|
|
|
|
|
U need to create an event handler with a delegate and call it when needed.
Just google it
Best Regards
3ala2
|
|
|
|
|
I have a setup.ini file has the information below, created in .NET setup project
[MSILoader]
MSIFileName=Allianz-PHI-Setup-SW2.msi
[FXSection]
SupportedRuntimes=1.1.4322
InstallUrl=http://go.microsoft.com/fwlink/?LinkId=9832
Message=1.1.4322
UseDefaultMessage=1
The out put of the above setup projects are setup.exe, setup.ini & Allianz-PHI-Setup-SW2.msi
I need to install one more msi package during the setup.exe installation(that is internally calling Allianz-PHI-Setup-SW2.msi) like the same I need to add one more msi called sqlxml.msi.
I need to add the sqlxml.msi details into the setup.ini file so that both the packages will get installed.
Please advise
-
|
|
|
|