Halaman

Kamis, 06 September 2012

XNA, .NET: Solving The located assembly's manifest definition does not match the assembly reference

Yup, ran across this one, which to the popular believe as the errors which every .net programmer should face. The problem arise when i tried to compile a new assembly version, and then when i compile/build old project, the project complains about The located assembly's manifest definition does not match the assembly reference. Tried to delete the assemblies, removing the references but to no avail.
Finally, i tried to modify app.config and then changes this line (yours might be similar)

<bindingRedirect oldVersion="0.0.0.0-1.4.0.0" newVersion="1.2.0.0"/>

Now the program compiles successfully. Hope to help someone else ;)

Ciaoo!

Selasa, 04 September 2012

Win7 XAMPP, port 80 problem. Could not start xampp

I could not start xampp on my computer, i think i need to put the findings here. Just in case i need them again, or someone else having the same problem as i had
  1. Open your comand prompt and type netstat -ano
  2. Search for the line which is listening to port 80, note the PID
  3. If the PID is not 4 then you may have the solution right away. Go back to command and type tasklist
  4. Search for the PID, if it's Skype, you need to change the port by using the advanced configuration panel, if any other program, re-check if you need the program, if you don't need it, you may simply do a taskkill -pid [pid]
  5. You may restart your xampp now.
  6. Other area you might want to check :
    - Disable IIS Service: World Wide Web Publishing
    - Disable BranchCache Service
    - SQL Server 2008 R2, turn of the Error Reporting Feature
  7. If the PID mentioned earlier was 4, as the last resort you might want to do the following
    - Open Device Manager
    - View » Show hidden devices
    - Under the tree-view, Expand Non - Plug and Play Drivers
    - Search for HTTP and then disable it
    - Do a reboot
    **If you have trouble with printer spooling after this steps, you might want to change the default port by modifying the httpd.conf file and change the port 80 to something more unique to yourself , but after you change the port, say for example port 98 you need to access the local site using this : "http://localhost:98"
Update:
another way to try which one is using the port 80, use telnet
  1. If telnet client is not installed, install it by opening cmd prompt and then run it as administrator then type "optionalfeatures" without the quotes, and then find telnet client and then install it.
  2. Run telnet 
  3. open host: o 127.0.0.1 80
  4. type : GET
  5. read the information there

Good luck All!! :)