วันเสาร์ที่ 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

วันศุกร์ที่ 15 ตุลาคม พ.ศ. 2553

can not run exe program on flash drive

1. Click ที่ Start > Run regedit.exe

find
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths\

delete this key
{4fdd9xx1-8d47-4806-a351-689c2264a92e}

{4fdd91a1-8d47-4806-a351-689c2264a92e}
{4fdd92a1-8d47-4806-a351-689c2264a92e}
{4fdd93a1-8d47-4806-a351-689c2264a92e}


{4fdd91b1-8d47-4806-a351-689c2264a92e}
{4fdd92b1-8d47-4806-a351-689c2264a92e}
{4fdd93b1-8d47-4806-a351-689c2264a92e}

then restart

from :www.cpe17.com, http://www.bizinews.com/listcontents/computer-fix/cannot-open-file-exe-in-flashdrive

วันพฤหัสบดีที่ 10 ธันวาคม พ.ศ. 2552

วันเสาร์ที่ 29 สิงหาคม พ.ศ. 2552

reset waste ink for canon mx318

Waste Ink Counter Reset.
(1) Turn off the printer.
(2) Press and hold the RESUME button, then press and hold the POWER button.
(3) Release the RESUME button, Next press and release the RESUME button two(2) more times in
succession. Note: you are still holding the POWER button). The printer's carriage will "reset"
or move momentarily. If the above was properly performed the printer will enter the
"Service Mode".
(4) Press the RESUME button 4 times, this will select the clear waste ink counter function. The lamp
will alternate (change) color with each key press.
1. Service/Factory test printout, including ink sensor check.
2. EEPROM - Info printout.
3. EEPROM - Initialization.
4. Reset the Waste ink counter.
5. Printer model setting. (More selections beyond this point - However it is best leave them unaltered - You have been warned!)
After selecting the desired mode (eg 4), press the POWER button to "set" the change, and return to the top of the function selection menu. Press the POWER button again to restart the printer.

วันพฤหัสบดีที่ 6 สิงหาคม พ.ศ. 2552

logon failure : the user has not been granted the requested logon type at this computer

Ok, I actually found my own fix. Here it is!

File sharing with Windows XP HOME Edition - Fixes.

Section 1

When you double click on the computer (in My Network Places/Workgroup) that you are trying to access the shared files from you may get this message:

You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions

Logon failure: the user has not been granted the requested logon type at this computer

If you see this message the following should be done on the computer containing the shared files:

Download the following and install it

Windows Server 2003 Resource Kit Tools
http://go.microsoft.com/fwlink/?LinkId=4544

after installation is complete, click on: Start, All Programs, Windows Resource Kit Tools, Command Shell

Then enter the following commands. (Attention: they are case sensitive.)

net user guest /active:yes
ntrights +r SeNetworkLogonRight -u Guest
ntrights -r SeDenyNetworkLogonRight -u Guest

The first command enables network access for Guest, the two subsequent ones change two different policies to allow network access for Guest.

Now when you click on the computer (using My Network Places) you are trying to get the shared files from, the message will not appear and you can access the shared files. If the same type of error message appears but says ‘ACCESS DENIED’ instead of ‘Logon failure: the user has not been granted the requested logon type at this computer’ continue to the next section.


Section 2

When you double click on the computer (in My Network Places/Workgroup) that you are trying to access the shared files from you may get this message:

You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions

Access Denied


If you see this message the following should be done on the computer containing the shared files:

Click START

RUN

Type regedit and press enter

Now find the following key - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Double click on ‘restrictanonymous’ and change the Value Data from 1 to 0

Exit regedit and reboot the computer

Now when you click on the computer (using My Network Places) you are trying to get the shared files from the message will not appear and you can access the shared files.

from : http://www.computing.net/answers/networking/cant-access-one-computer-on-net/25769.html

วันอาทิตย์ที่ 2 สิงหาคม พ.ศ. 2552

vb6 deploy error cxlibw-1-6.dll

Hi,

I solved this problem. I opened the setupfile and changed the setupfile

path from applicationpath to syspath to cxlibw-1-6.dll

@cxlibw-1-6.dll,$(WinSysPath) .Then I run the setupfile it doesn't show the error message. It runs the application proberly.

Bye

from : http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/b86bbc60-7737-49d8-a385-b342a551707a

วันพุธที่ 29 กรกฎาคม พ.ศ. 2552

IE cannot display or load hotmail correctly

try to install Windows Script for Windows XP v. 5.6 or 5.7 depend on you windows system

download here http://www.microsoft.com/downloads/details.aspx?FamilyID=47809025-D896-482E-A0D6-524E7E844D81&displaylang=en

fix virus malware bad1.exe bad2.exe bad3.exe

using malwarebyte install runit and fix it!


download from www.malwarebytes.org

cannot access by \\computer name

if you have a problem that you cannot access by \\computer name
try this :

Go to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netbt\Parameters

If either of the following values are present, delete them:

NodeType;
DhcpNodeType.
Then re-boot.

and try
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
change restrictanonymoussa 1 to 0

from : http://www.chicagotech.net/Networking/nodetypeissue1.htm

วันศุกร์ที่ 17 กรกฎาคม พ.ศ. 2552

setting Windows XP Auto Login

Windows XP Auto Login


You can configure Windows XP to automate the logon process if your computer is not part of a domain. Computers configured in a business environment generally have a domain and for those machines the option "Users must enter a username" does not appear because a password must be given to access the local area network or domain.

1. Click Start, click Run, and type control userpasswords2. This is a shortcut instead of having to click on Start -> Control Panel -> User Accounts.
2. Uncheck the "Users must enter a username and password to use this computer" check box.
3. Click Apply.
4. Enter the user name and password you wish to automatically log on with, and then click OK.
5. Click OK again and you're all done.

This feature allows other users to start your computer and use the account that you establish to automatically log on. Enabling auto logon makes your computer more convenient to use, but can pose a security risk since anyone can just turn the machine on and access your files.

วันอังคารที่ 14 กรกฎาคม พ.ศ. 2552

restore hidden folder from virus

using
attrib foldername -r -a -s -h /S /D


E:\>attrib -R -S -H /S /D

http://www.raymond.cc/blog/archives/2009/05/01/reset-system-and-hidden-attributes-for-files-or-folders-caused-by-virus/

วันศุกร์ที่ 3 กรกฎาคม พ.ศ. 2552

Invalid token 'Text' at root level of document.

Error 1 Invalid token 'Text' at root level of document. C:\Inetpub\wwwroot\TDCMktgWeb\_vti_cnf\web.config 1 1 Miscellaneous Files


Error 2 XML document must contain a root level element. C:\Inetpub\wwwroot\TDCMktgWeb\_vti_cnf\web.config 8 1 Miscellaneous Files


Error 3 Data at the root level is invalid. Line 1, position 1. C:\Inetpub\wwwroot\TDCMktgWeb\_vti_cnf\web.config 1



Problem solved. Solution is from previous reply link or at least deleting the web.config file in the front page server extensions "_vti_cnf" folder acording to http://forums.asp.net/thread/1270047.aspx.

I believe the cause is that I used Front Page 2003 to edit some generic html files used in the project that created the front page server extensions folders and files under the main project folder. When publishing with the pre-compile option, VS2005 was trying to read and compile the non-xml web.config file in the front page server extension "_vti_cnf" subfolder instead of the web.config in the main project folder.


http://forums.asp.net/p/956502/1406431.aspx#1406431

วันพุธที่ 27 พฤษภาคม พ.ศ. 2552

vs2005 project template & starter kit path location

change project template to user default document location
C:\Documents and Settings\Administrator.CCS\My Documents\Visual Studio 2005\Templates

C:\Documents and Settings\Administrator.CCS\My Documents\Visual Studio 2005\Templates\

วันอังคารที่ 5 พฤษภาคม พ.ศ. 2552

error registering crqe.dll cr10

http://social.msdn.microsoft.com/forums/en-US/vscrystalreports/thread/b86bbc60-7737-49d8-a385-b342a551707a


path from applicationpath to syspath to cxlibw-1-6.dll

@cxlibw-1-6.dll,$(WinSysPath) .Then I run the setupfile it doesn't show the error message. It runs the application proberly.