Mohd Malaka Weblog

About anything….

  • Welcome


    Welcome to my Weblog. Here I post about anything, mainly about programming. Enjoy

  • Archives

  • Flickr Photos

    Dublin





    Dublin Buildings

    In Dublin Zoo

    More Photos
  •  

    November 2009
    M T W T F S S
    « Sep    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
  • free counters

Posts Tagged ‘Assembly’

Retrieve C# code out of EXE Assembly

Posted by malakablog on July 31, 2008

I lost some of my applications code coz of PC format, one of these applications is a C# Console Application, I managed to get the exe output of this application but I was not able to retrieve the code files so I used (.NET Reflector) to do this:

 

1-     Download the .NET Reflector.

 

2-     Download the Reflector.FileDisassembler.

 

3-     Extract the .Net Reflector

 

4-     Extract the Reflecter.FileDisaembler

 

5-     Copy the Reflector.FileDisassembler.dll to the .Net Relector Folder

 

6-     Start Relector.EXE

 

7-     From the View menu select Add-Ins

 

 

8-     In the Add-Ins Screen select Add and select Reflector.FileDisassembler.dll then close the Add-Ins screen

 

 

9-     From File menu select Open and select the exe file you want to retrieve its code

 

 

10- The reflector will load the file Assembly in the Assemblies section

 

 

11- Select the required file and from the Tools menu select File Disassembler

 

null

 

12- Click Generate and you will get your code

 

null

 

 Finally I would like to thank Siderite for his help

Posted in Uncategorized | Tagged: , , , , , , | 9 Comments »

Could not load file or assembly ADODB, Version=7.0.3300.0

Posted by malakablog on June 24, 2008

When I deployed a web application to a windows 2003 server I got an error on this line of the web.config file

 <add assembly=ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a/> 

The error was

 

Could not load file or assembly ADODB, Version=7.0.3300.0

 

 

To solve this in VS2005:

 

-          Create a setup project for the  web application

 

-          Right click on the setup project and select Add/Assembly

 

  

 

 

-           Select adodb component and click ok

 

 

-          From the Solution Explorer select the adodb.dll and from the Properties click the small button in the Folder Field

 

 

 

 -          Select the folder bin from the Select Folder screen and click ok

 

 

 

-          Compile your Setup project and use it to install your application

 

 

Posted in Uncategorized | Tagged: , , , , , , , , | 2 Comments »