Tuesday, December 22, 2015

Running a 32-bit application under IIS on a 64-bit

Running a 32-bit application under IIS on a 64-bit 

The Problem

When you try to access a 32-bit application that is running under IIS on a 64-bit machine you will most probably end up with an error. This is because, by default, IIS launches CGI applications on 64-bit work process if you're running it under a 64-bit Windows.
If you are using IIS 6+ on an operating system no older than Win2003 SP1, you’re in luck. IIS 6+ enables us to run 32-bit Web applications on 64-bit Windows using the Windows-32-on-Windows-64 (WOW64) compatibility layer. IIS 6.0 using WOW64 is intended to run 32-bit personal productivity applications needed by software developers and administrators, including 32-bit Internet Information Services (IIS) Web applications. For more info, read MS Technet article regarding this problem.

The Solution 

To configure IIS to run 32-bit applications you must follow these steps:
  1. Open IIS
  2. Go to current server – > Application Pools
  3. Select the application pool your 32-bit application will run under
  4. Click Advanced setting or Application Pool Default
  5. Set Enable 32-bit Applications to True
If this option is not available to you, follow these next steps:
  • Go to %windir%\system32\inetsrv\
  • Execute the appcmd.exe tool:
    appcmd set apppool /apppool.name:MyAppPool32bit /enable32BitAppOnWin64:true
If that doesn’t work, these will most definitely work:
  1. Go to %systemdrive%\Inetpub\AdminScripts
  2. Execute cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true” 

Thursday, March 1, 2012

Enable 32 ODBC Foxpro in 64 bit OS

%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true



C:\Windows\SysWow64\odbcad32.exe

Sunday, February 19, 2012

BBB Insite Path

Bed Bath & Beyond> Bed Bath & Beyond> Web stickers>

Monday, June 13, 2011

STS OES Product Type Description

I - Everbrand
B- Basesheet
E - Imprint
G - Graphic
R - Raw Matl
L - Label
W- Woven
F- PFL
S - Resale
T - Polybag
H- HeaderCard
P - Polybag
x - HomeTextile
H - Hanging Bag
D - Wrapper
C - Header Card
K - Hanger

Thursday, March 10, 2011

Enable AD Hoc Query

sp_configure 'show advanced options', 1
reconfigure


sp_configure 'Ad Hoc Distributed Queries', 1
reconfigure

Thursday, February 10, 2011

M&S - CLA Details

CLAW automated information response system

Your account details:
User Name is: STS Baskar Kumar
Password is: Bearcub4575
This is an automated e-mail provided by the CLAW information retrieval system please do not respond to this e-mail. Further contact e-mail: Derek.DSouza@cl-admin.com

http://www.cl-admin.com/CLAW/index.asp



Sunday, December 12, 2010

login failed for user nt authority\network service

Error
=================
login failed for user nt authority\network service

Solution
==========
To manually set the permission for NT AUTHORITY\NETWORK SERVICE, follow these steps:1.
Click Start, click Run,

type %systemroot%\Help\iisHelp, and then click OK.

2. Right-click the Common folder, and then click Sharing and Security.
3. On the Security tab, click Add, type NETWORK SERVICE, and then click OK.
4. Click NETWORK SERVICE, click to select the following check boxes under Allow, and then click OK: • Read and Execute
• List Folder Contents
• Read
5. Click Start, click Run,

type %systemroot%\system32\inetsrv, and then click OK.

6. Right-click the ASP Compiled Templates folder, and then click Sharing and Security.
7. On the Security tab, click Add, type NETWORK SERVICE, and then click OK.
8. Click NETWORK SERVICE, click to select the Full Control check box under Allow, and then click OK

9. Click Start, click Run,

type %systemroot%, and then click OK.

10. Right-click the IIS Temporary Compressed folder, and then click Sharing and Security.
11. On the Security tab, click Add, type NETWORK SERVICE, and then click OK.
12. Click NETWORK SERVICE, click to select the Full Control check box under Allow, and then click OK

After you have completed these steps, restart the IIS Admin Service. To do this, follow these steps:
1. Click Start, click Run,

type Services.msc, and then click OK.

2. Right-click IIS Admin, and then click Restart.


exec sp_grantlogin N'NT AUTHORITY\NETWORK SERVICE'
EXEC sp_grantdbaccess N'NT AUTHORITY\NETWORK SERVICE'