
August 8th, 2006, 03:28 AM
|
|
Contributing User
|
|
Join Date: Sep 2004
Posts: 89
Time spent in forums: 1 Day 4 h 51 m 13 sec
Reputation Power: 0
|
|
|
Component is not working in virtual directory
Windows 2003
IIS 6.0
VS2005
C#
Sir,
I have registered some dll of E_Lock for encryption,decryption,sign and verification in my solution. I have registered it through VS2005 as a com component. now it is being shown in bin directory. i have a virtual directory in solution called "ot"
I have some pages in ot which is based on registered component. When try to run those pages like "https://www.test.com/ot/test.aspx"
. it through error
Code:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'DESKDECRLib' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 380: {
Line 381:
Line 382: DESKDECRLib.DeskDecryptClass objDeskDecr = new DESKDECRLib.DeskDecryptClass();
Line 383:
Line 384: objDeskDecr.SetResellerCode(124);
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
e:\iffcoindia\Bidopen\IndentorVerified.aspx.cs(334 ,9): warning CS0168: The variable 'ex' is declared but never used
e:\iffcoindia\Bidopen\IndentorVerified.aspx.cs(354 ,9): warning CS0168: The variable 'ex' is declared but never used
e:\iffcoindia\Bidopen\IndentorVerified.aspx.cs(371 ,9): warning CS0168: The variable 'ex' is declared but never used
e:\iffcoindia\Bidopen\IndentorVerified.aspx.cs(382 ,9): error CS0246: The type or namespace name 'DESKDECRLib' could not be found (are you missing a using directive or an assembly reference?)
e:\iffcoindia\Bidopen\IndentorVerified.aspx.cs(382 ,56): error CS0246: The type or namespace name 'DESKDECRLib' could not be found (are you missing a using directive or an assembly reference?)
Whereas the same pages is working fine if I put those into main solution instead of putting it in virtual directory.
1. Why reference is not getting created inside virtual directory?
2. I have try to registered the component through regsvr32 also but it did not worked either?
3. Is some setting is required in IIS ?
Please help
Regards
|