วันเสาร์ที่ 12 มีนาคม พ.ศ. 2559

asp.net Server Error in 'xxx' Application.


Server Error in 'xxx' Application.
--------------------------------------------------------------------------------


Error in File CrystalReport {5C3C4031-6E17-4021-A71E-37136634DD64}.rpt:
Access to report file denied. Another program may be using it.
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 Exception Details: System.Runtime.InteropServices.COMException: Error in File CrystalReport {5C3C4031-6E17-4021-A71E-37136634DD64}.rpt:
Access to report file denied. Another program may be using it.


Fix by
 ---> Right click the folder c:\windows\temp int server
 ---> Give acess rights to everyone group


from  : http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=9009

วันศุกร์ที่ 29 สิงหาคม พ.ศ. 2557

Error : Validation of viewstate MAC failed. If this application is hosted by a Web Farm....

Generate machine key from here 
http://www.orcsweb.com/articles/generate-aspnet-machine-key/

then add to web.config


   
   
   

       

   


วันศุกร์ที่ 25 เมษายน พ.ศ. 2557

fix msyql odbc 64 bit for thai language

use msyql odbc connector 5.1.5 and create USN data source

http://ftp.nchu.edu.tw/MySQL/downloads/connector/odbc/5.1.html#winx64

วันอาทิตย์ที่ 10 กุมภาพันธ์ พ.ศ. 2556

fix BootstrapPackage Load Error: Visual Studio 2010














reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f} /v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /f

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f} /v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /f

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /va /f


from : http://www.theodells.org/theodells/blog/2010/07/resolving-bootstrappackage-load-error-visual-studio-2010/

วันศุกร์ที่ 3 สิงหาคม พ.ศ. 2555

windows 7 : how to restore volume icon in system tray

kristen May 15, 2009 4:22pm BST 1. Back up the Registry by creating a restore point. 2. Go to Start > Run (or Windows-key + R), type in regedit and hit OK. 3. Navigate to the key HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify. 4. Delete the values IconStreams and PastIconsStream. 5. Open up the Task Manager (Ctrl + Shift + Esc), go to the Processes tab, select explorer.exe and click End Process. 6. Open the Applications tab and click New Task at the bottom-right of the window. 7. In the message box that pops up type in explorer.exe and hit OK. 8. Explorer.exe will reload, and the missing icons should now be back in the system-tray where they belong. 9. Then if the volume bar isn't there, go to taskbar properties (where the volume was gray) and simply tick the box. from : http://en.kioskea.net/forum/affich-31257-how-to-recover-lost-missing-system-tray-icon

วันอังคารที่ 24 มกราคม พ.ศ. 2555

auto logon for Windows Vista/7

Make Windows 7 or Vista Log On Automatically
If you are just running a home computer for gaming or something unimportant, you might not want to have to log in every single time you reboot your computer. There’s an easy tweak that will let you autologin.

First, we’ll need to get to the Advanced User Accounts Control Panel to get to this setting. I think there’s a registry tweak as well, but that seems like too much work.

Type in netplwiz into the start menu search box, hit enter, and you’ll see this screen:

Note: If that doesn’t work, you can type in control userpasswords2 instead.

from http://www.howtogeek.com/howto/windows-vista/make-windows-vista-log-on-automatically/

วันพุธที่ 21 กันยายน พ.ศ. 2554

reset winsock

on DOS command prompt type "netsh winsock reset"
then restart Windows