Re: Error executing version of Net Framework



"Juan T. Llibre" wrote:

You don't need to register dll's in the bin directory.

..Net Framework assemblies have an embedded manifest
which allows applications that call them to identify them.

Thanks for the information.

--
Hermawih



"Juan T. Llibre" wrote:

re:
I just realized that when I copied dll from my local bin folder into bin
folder on my web site, I have never register dll as usually I did with COM
component. Is the issue related with the registration process?

You don't need to register dll's in the bin directory.

..Net Framework assemblies have an embedded manifest
which allows applications that call them to identify them.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Hermawih" <hermawih@xxxxxxxxxxxxxxxx> wrote in message
news:8878041E-1CCF-4193-9295-84C58A7DE6F0@xxxxxxxxxxxxxxxx
Hello Steven,

I just realized that when I copied dll from my local bin folder into bin
folder on my web site, I have never register dll as usually I did with COM
component. Is the issue related with the registration process?

Steven, could you give me links to articles discussing,

A. Publishing component .

B. How to create separate dll for different class? I always get
App_code.dll after I publish my project even there are two vb file on
App_code folder.

I will also try to search this topics but perhaps you could get me there
faster.

Thanks Steven.
--
Hermawih



"Steven Cheng[MSFT]" wrote:

Hello Hermawih,

Thanks for your followup.

For your custom GridView column problem, I've just performed some test in
my local environment. It seems my custom GridView (put in App_Code
directory) can be correctly used in aspx page(no matter I precompile the
site or not). My test class and the regsiter directive is very simple as
below:

========class=========
namespace GridViewColumns
{
public class SimpleGridViewField : DataControlField
{
public SimpleGridViewField()
{
}

public override void InitializeCell(DataControlFieldCell cell,
DataControlCellType cellType, DataControlRowState rowState, int rowIndex)
{
Label lbl = new Label();
lbl.ID = "lblInput";
lbl.Text = "Input: ";

TextBox txt = new TextBox();
txt.ID = "txtInput";

cell.Controls.Add(lbl);
cell.Controls.Add(txt);
}

protected override DataControlField CreateField()
{
return new SimpleGridViewField();
}
}
}
========================================

===============
<%@ Register Namespace="GridViewColumns" TagPrefix="cust" %>
===============

So I think there may have some difference between my test and your
application. Are you using the "Publish Web Site" to precompile the web
application or use "Web Deployment project" ? I've tried both cases and
the custom gridview column seems work well.

Please feel free to let me know if there is anything I missed.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
















.



Relevant Pages

  • Re: Error executing version of Net Framework
    ... folder on my web site, I have never register dll as usually I did with COM ... You don't need to register dll's in the bin directory. ...
    (microsoft.public.dotnet.framework.aspnet)
  • how do I code a user created subdirectory?
    ... I have a web site that users can register on and then create a subdirectory ... For example, John comes to the site, and wants to register. ... actually creating the folder, but controling the permissions. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Manually Created Web Site Does Not Work - What am I Missing?
    ... For each different Web site ... have the same name or folder structure as my VS project. ... The ASP.NET Dev Server runs as the Administrator account in VS 2008. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Hit Counter not Working
    ... You must publish from the exact same folder that is on the web site ... Make a new folder ... This is a post for the server groups and forums. ... Sharepoint Admin to extend the site with FP extensions. ...
    (microsoft.public.frontpage.programming)
  • Re: Hey Ronx are you available
    ... folder as a website. ... This is the default web site there is no wite site name envolved ... I guess one I figure this issue out then frontpage will start to work. ... web server you cannot publish to the web server - there is no need to ...
    (microsoft.public.frontpage.programming)