Showing posts with label bin. Show all posts
Showing posts with label bin. Show all posts

Thursday, March 29, 2012

Please correct my @ Page directive for codebehind asp.net

I have a vbproject called myvbproject, in that i created a class called class1.

I build the solution to it, and it created the class1.dll in its bin directory.

Now, i want to use that class1.dll in my asp.net projects web form.

I am writing the following in my asp.net webform1: It is not working: Can you please correct my @dotnet.itags.org.page directive code.

<%@dotnet.itags.org. Page language="VB" Codebehind="class1" AutoEventWireup="false" Inherits="myvbproject.class1" %

Thank you very much for the help.To use class1 from compiled assembly class1.ddl you should not alter your page directive. Add reference to class1.dll, declare variable and use it.

Wednesday, March 21, 2012

Please help in understanding error

Hi,

I have just deployed my private assembly in the bin directory of my ISP and
I am getting the following error. I am pretty sure it is able to find my
assemblyPLEASE tell me how can I find which dependencies are not being
found( is there a way to trace the dependencies which are not found).
I Just have ftp access to my isp server.

Thanks you in advance,
Peace,
Raj.

Server Error in '/' Application.
-----------------------
--

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: File or assembly name dotnetOTLicLib, or one of its
dependencies, was not found.

Source Error:

Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:

Source File:
c:\winnt\microsoft.net\framework\v1.1.4322\Config\ machine.config Line:
258

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'dotnetOTLicLib' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = dotnetOTLicLib
(Partial)
LOG: Appbase = file:///d:/users/lexro/html
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: dotnetOTLicLib
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/51973f4f/48d9daf8/dotnetOTLicLib.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework
/v1.1.4322/Temporary ASP.NET
Files/root/51973f4f/48d9daf8/dotnetOTLicLib/dotnetOTLicLib.DLL.
LOG: Attempting download of new URL
file:///d:/users/lexro/html/bin/dotnetOTLicLib.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: dotnetOTLicLib, Version=1.0.1738.21203,
Culture=neutral, PublicKeyToken=null

-----------------------
--
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032its a file your isp is requiring. probably they do not allow private bins.
check you isp agreement on deploying .net assemblies

-- bruce (sqlwork.com)

"news" <asdfa@.sadf.com> wrote in message
news:39ydnU19ydol4vzcRVn-hg@.rogers.com...
> Hi,
> I have just deployed my private assembly in the bin directory of my ISP
and
> I am getting the following error. I am pretty sure it is able to find my
> assemblyPLEASE tell me how can I find which dependencies are not being
> found( is there a way to trace the dependencies which are not found).
> I Just have ftp access to my isp server.
> Thanks you in advance,
> Peace,
> Raj.
>
> Server Error in '/' Application.
> -----------------------
--
> --
> Configuration Error
> Description: An error occurred during the processing of a configuration
file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
> Parser Error Message: File or assembly name dotnetOTLicLib, or one of its
> dependencies, was not found.
> Source Error:
> Line 256: <add assembly="System.EnterpriseServices,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 257: <add assembly="System.Web.Mobile,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 258: <add assembly="*"/>
> Line 259: </assemblies>
> Line 260:
> Source File:
> c:\winnt\microsoft.net\framework\v1.1.4322\Config\ machine.config Line:
> 258
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'dotnetOTLicLib' could not be loaded.
> === Pre-bind state information ===
> LOG: DisplayName = dotnetOTLicLib
> (Partial)
> LOG: Appbase = file:///d:/users/lexro/html
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: dotnetOTLicLib
> LOG: Attempting download of new URL
> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/root/51973f4f/48d9daf8/dotnetOTLicLib.DLL.
> LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework
> /v1.1.4322/Temporary ASP.NET
> Files/root/51973f4f/48d9daf8/dotnetOTLicLib/dotnetOTLicLib.DLL.
> LOG: Attempting download of new URL
> file:///d:/users/lexro/html/bin/dotnetOTLicLib.DLL.
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: dotnetOTLicLib, Version=1.0.1738.21203,
> Culture=neutral, PublicKeyToken=null
>
> -----------------------
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
> Version:1.1.4322.2032

Please help in understanding error

Hi,
I have just deployed my private assembly in the bin directory of my ISP and
I am getting the following error. I am pretty sure it is able to find my
assemblyPLEASE tell me how can I find which dependencies are not being
found( is there a way to trace the dependencies which are not found).
I Just have ftp access to my isp server.
Thanks you in advance,
Peace,
Raj.
Server Error in '/' Application.
----
--
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: File or assembly name dotnetOTLicLib, or one of its
dependencies, was not found.
Source Error:
Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:
Source File:
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line:
258
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'dotnetOTLicLib' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = dotnetOTLicLib
(Partial)
LOG: Appbase = file:///d:/users/lexro/html
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: dotnetOTLicLib
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/root/51973f4f/48d9daf8/dotnetOTLicLib.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework
/v1.1.4322/Temporary ASP.NET
Files/root/51973f4f/48d9daf8/dotnetOTLicLib/dotnetOTLicLib.DLL.
LOG: Attempting download of new URL
file:///d:/users/lexro/html/bin/dotnetOTLicLib.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: dotnetOTLicLib, Version=1.0.1738.21203,
Culture=neutral, PublicKeyToken=null
----
--
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032its a file your isp is requiring. probably they do not allow private bins.
check you isp agreement on deploying .net assemblies
-- bruce (sqlwork.com)
"news" <asdfa@.f.com> wrote in message
news:39ydnU19ydol4vzcRVn-hg@.rogers.com...
> Hi,
> I have just deployed my private assembly in the bin directory of my ISP
and
> I am getting the following error. I am pretty sure it is able to find my
> assemblyPLEASE tell me how can I find which dependencies are not being
> found( is there a way to trace the dependencies which are not found).
> I Just have ftp access to my isp server.
> Thanks you in advance,
> Peace,
> Raj.
>
> Server Error in '/' Application.
> ----
--
> --
> Configuration Error
> Description: An error occurred during the processing of a configuration
file
> required to service this request. Please review the specific error details
> below and modify your configuration file appropriately.
> Parser Error Message: File or assembly name dotnetOTLicLib, or one of its
> dependencies, was not found.
> Source Error:
> Line 256: <add assembly="System.EnterpriseServices,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 257: <add assembly="System.Web.Mobile,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 258: <add assembly="*"/>
> Line 259: </assemblies>
> Line 260:
> Source File:
> c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line:
> 258
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'dotnetOTLicLib' could not be loaded.
> === Pre-bind state information ===
> LOG: DisplayName = dotnetOTLicLib
> (Partial)
> LOG: Appbase = file:///d:/users/lexro/html
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: dotnetOTLicLib
> LOG: Attempting download of new URL
> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/root/51973f4f/48d9daf8/dotnetOTLicLib.DLL.
> LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework
> /v1.1.4322/Temporary ASP.NET
> Files/root/51973f4f/48d9daf8/dotnetOTLicLib/dotnetOTLicLib.DLL.
> LOG: Attempting download of new URL
> file:///d:/users/lexro/html/bin/dotnetOTLicLib.DLL.
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Post-policy reference: dotnetOTLicLib, Version=1.0.1738.21203,
> Culture=neutral, PublicKeyToken=null
>
> ----
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
> Version:1.1.4322.2032
>