none
Framework related question RRS feed

  • Question

  • Hi,

    I have VS2012 installed in my machine and i created console application to target .net framework 2.0. because in my client machine there is not framework other then .net framework 1.1,2.0. my windows application has functionality to export the back end data to a text file. my client server machine is windows 2003 server.  i was trying to execute the exe and getting the error as 

    -	System
    		-	Provider
    			[ Name] 	Windows Error Reporting
    
    		-	EventID	1001
    			[ Qualifiers] 	0
    
    			Level	4
    
    			Task	0
    
    			Keywords	0x80000000000000
    
    		-	TimeCreated
    			[ SystemTime] 	2014-07-01T20:17:33.000000000Z
    
    			EventRecordID	5410
    
    			Channel	Application
    -	EventData
    				
    			
    			0
    			CLR20r3
    			Not available
    			0
    			productExport.exe
    			1.0.0.0
    			53b18aeb
    			mscorlib
    			2.0.0.0
    			5265d021
    
    am not sure is it because of the exe created using VS2012 though the the target framework set as 2.0. any suggestions or solutions please. installing 4.0 framework will not be possible at this moment   because of some reasons. please help me in this.


    loving dotnet

    Tuesday, July 1, 2014 11:07 PM

Answers

  • The only way of to guarentee the code will work on the server without installing would be to build the application on the server.   With the font error, you may be able to fix the issue by finding what fonts are installed in the server and then make sure you use the same font in your application software or a compatible font (from the same family as one installed on the server).

    It may not be that simple.  It looks like th eerror is occuring in the application Test.exe.  Is this your application?  The wrong font is being specified in Test.exe and the fix has to be made in test.exe.


    jdweng

    Wednesday, July 2, 2014 4:11 PM
  • It is relate to the character in the string that is being displayed.  To duplicate the error you have to send the same character and font that is sent in the original code. 

    jdweng

    Wednesday, July 2, 2014 9:26 PM

All replies

  • did you try publishing your application as CD and then run the setup.exe on deployed machine?  The publish will install needed libraries without installing the entire Net Library.

    jdweng

    Tuesday, July 1, 2014 11:45 PM
  • hi Jdweng,

    thanks for your reply. i will definitely try. are you sure  will resolve the issue? logically my methodology suppose to work right, i am finding why my try was not working though i was targeting framework 2.0.

    microsoft is one of the good  backward compatibility products. wondering why it didn't work and bumping the error  


    loving dotnet

    Wednesday, July 2, 2014 12:01 AM
  • You need to have the compatible versions of the dlls used in the application on both the build and deploy PC to guarantee an application will run.  setup.exe was designed to automatically match the libraries without the user having to do the work.

    jdweng

    Wednesday, July 2, 2014 12:13 AM
  • Hi jdweng,

    i tried your suggestion. it didn't work. after publishing  and i tried ti hit the exe file. it says  application validation didnot succeed.unable to continue.

    app details:

    PLATFORM VERSION INFO
    Windows : 6.1.7601.65536 (Win32NT)
    Common Language Runtime : 2.0.50727.5477
    System.Deployment.dll : 2.0.50727.5420 (Win7SP1.050727-5400)
    mscorwks.dll : 2.0.50727.5477 (Win7SP1GDR.050727-5400)
    dfdll.dll : 2.0.50727.4927 (NetFXspW7.050727-4900)
    dfshim.dll : 4.0.40305.0 (Main.040305-0000)

    any suggestion please


    loving dotnet

    Wednesday, July 2, 2014 12:56 AM
  • i did resolve the previous issue, but getting different issue Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: Test.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 53b3595c Problem Signature 04: Test Problem Signature 05: 1.0.0.0 Problem Signature 06: 53b35932 Problem Signature 07: 8 Problem Signature 08: 87 Problem Signature 09: System.NullReferenceException OS Version: 6.1.7601.2.1.0.272.7 Locale ID: 1033 any sugestion

    loving dotnet

    Wednesday, July 2, 2014 1:03 AM
  • Try this

    This is just because the application is built in non unicode language fonts and you are running the system on unicode fonts.
    Change your default non unicode fonts to arabic by going in regional settings advanced tab in control panel. That will solve your problem.


    jdweng

    Wednesday, July 2, 2014 6:39 AM
  • i am using english.i should not arabic. please suggest me the remeady

    loving dotnet

    Wednesday, July 2, 2014 11:38 AM
  • Then you need to set the default to english instead of arabic.  It appears like you are using unicode fonts and the default language isn't set.


    jdweng

    Wednesday, July 2, 2014 11:44 AM
  • thanks for your reply. should i need to change in my machine? because i should not change in server

    loving dotnet

    Wednesday, July 2, 2014 3:29 PM
  • The only way of to guarentee the code will work on the server without installing would be to build the application on the server.   With the font error, you may be able to fix the issue by finding what fonts are installed in the server and then make sure you use the same font in your application software or a compatible font (from the same family as one installed on the server).

    It may not be that simple.  It looks like th eerror is occuring in the application Test.exe.  Is this your application?  The wrong font is being specified in Test.exe and the fix has to be made in test.exe.


    jdweng

    Wednesday, July 2, 2014 4:11 PM
  • yes the console app is mine. to replicate the issue, i tried to create a windows application which bumps the messge box and i compiled and run in my server. it is working fine. in that case the sample i created to replicate the issue should also bump the error. but it didn't. any thoughts... 

    loving dotnet

    Wednesday, July 2, 2014 6:42 PM
  • It is relate to the character in the string that is being displayed.  To duplicate the error you have to send the same character and font that is sent in the original code. 

    jdweng

    Wednesday, July 2, 2014 9:26 PM
  • Thanks for your beast answers and i will try this solution. also i am  trying my client to install  framework 4 version.

    thanks for your precious time on this


    loving dotnet

    Thursday, July 3, 2014 12:52 AM