.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

vs as assembly editor

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :ASP.Net

hi everyone.

i was wondering if visual studio 2010 can be used as an assembly editor too????if yes where do i have to go to create a first blank page for an assembly project?? 

View Complete Post

More Related Resource Links

ASPX editor in ASP.NET MVC warning about a 64-bit assembly

I'm using OpenCV via EMGU CV. Since there are separate assemblies for x64 and x86, I'm compiling my entire website solution for x64. I ran into one problem where the built-in debugging web server freaked out at the x64 binaries, so I started debugging in IIS instead, and that solved most of my problems, except for this one warning that comes up on line 1 of all of my aspx files: ASP.NET runtime error: Could not load file or assembly 'ImageProcessing' or one of its dependencies. An attempt was made to load a program with an incorrect format. The warning message is pretty straightforward given the context -- VS.NET is running in x86 mode, and it's trying to load the x64-only assembly. Is there something I'm doing wrong?

"This assembly is too new"- WCF Service Config Editor


Hi Folks,

I'm trying to use the WCF Service Configuration Editor (SvcConfigEditor.exe) to setup my endpoints for a WCF service...
When I try to chose an assemblly in the editor (to setup the data contract) I get this error:

"This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."

My assemblies are built on the  .Net framework 4.0...
So I though that maybe i had a old version of this tool...and that it only recongnized .Net 3.5 assemblies...
So, I download the latest Windows windows SDK (Microsoft Windows SDK for Windows 7 and .NET Framework 4) and when I run the tool, I get the same error.....

Any ideas on what is causing this error, and how to overcome it?

(As an aside, why isn't the WCF Service Configuration Editor lauchable directly from Solution Explorer, by right cliking the Web.config file in an WCF Service Application Project.... It does for App.Config files in other WCF projects... this appears like an oversight by Microsoft...)

- Andy

Embed Youtube inside Ajax Html Editor- problem



When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx . 

My question is where do I find the DesignPanel.pre.js ?


Roderick Vella

text editor


 I format lines in a .aspx file (source view) the way I can use them, and if I switch to design view or view in browser or debug, the many lines get reformatted to flow all onto one line.

I can't seem to find the correct setting to keep this from happening.

Any suggestions?


Error: Encountered multiple versions of the same assembly with GUID...try pre-importing...TlbImp


Hi!  Can someone tell me how I can troubleshoot the following error: "Encountered multiple versions of the same assembly with GUID...try pre-importing one of these assemblies".

The website developed in VS 2010 (.Net 3.5). This error is only received on my workstation.  Another person developing the site does not experience this issue at all.  Also, not sure if this matters, but on my workstation the 'Assembly Information...' dialog contains no values even though the 'AssemblyInfo.vb' file does specify values for the title, desc, etc.  The GUID being referenced in the error is the main project of the three projects within the solution.

I tried looking through the GAC, but do not see any references to the projects or DLLs in the VS solution and am not sure what else/where to look.

If I delete the copy of the solution on my local machine and pull down a copy from source control (AnkhSVN) the solution will build with no error.  Once I make any changes, such as adding a new aspx file, then the error is received.

I can provide any additional information needed.

The type 'System.Data.Linq.DataContext' is defined in an assembly that is not referenced. You must



This is frustrating, and I don't know how to solve it.

I have a strange problem. I am adding a LinqDatasource object, and set the context:

        protected void LinqDataSource_ContextCreating(object sender, LinqDataSourceContextEventArgs e)
            e.ObjectInstance = new KaruselaDataContext(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);

Then I get this error:
The type 'System.Data.Linq.DataContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Linq, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.


On web.config I already have this:
<add assembly="System.Data.Linq, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>

NOTE: The datacontext is in a different project (DLL proect) where I added a refernce to System.Data.Linq.

is there another way adding a refernce to a web project? or only though teh web.config?


MySql.Data assembly problem



I added refernece MySql.Data to my project. My web.config looks like that:

<?xml version="1.0"?>
                <add assembly="MySql.Data, Version=, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>

But when in ServerExplorer I try "Add Connection..." I can't find "MySql Database" in the "Choose Data Source" dialog box?

What the problem can be?

Registering controls of current assembly object reference NOT set error


Hi There,

I have created a simple ASP.net Web Application (2.0) and have added a web user control.

Now in my page I have added this control but I have registered like this,

<%@ Register Assembly="WebApplication1" Namespace="WebApplication1" TagPrefix="Custom" %>

Which means I want to access all the controls in my current Web Application project

Then I have added my user control like this,

<Custom:MyUserControl ID="MyUserControl1" runat="server" PublicProperty="Hello" />

Every thing is fine but when I execute the project, NO control on my user control gets "instantiated" and thus I receive error "Object Reference Not Set"

Note that My Control has,

1) Public property PublicProperty as String

2) 1 Label control

In Load Event Handler I am setting Text property of Label Control to PublicProperty. Here object reference NOT set error occurs (which means Label control is NOT initialized).

I don't want to register my control using Src, TagPrefix etc. Any ideas?


Could not load file or assembly - Web Deployment Project



I have the following projects in a solution :

- A Web Application

- A Class Library

- A Web Deployment project

The Web Application compiles and run fine when I don't go through the Web Deployment Project. However when I try to use that, I get the following error:

Error 1 An error occurred creating the configuration section handler for hibernate-configuration: Could not load file or assembly 'NHibernate' or one of its dependencies. The system cannot find the file specified. (F:\Folke\Folke.csproj_deploy\Release\web.config line 4) 1 1 Folke.csproj_deploy

"An error occurred creating the configuration section handler for hibernate-configuration: Could not load file or assembly 'NHibernate' or one of its dependencies. The system cannot find the file specified. (F:\Folke\Folke.csproj_deploy\Release\web.config line 4)"

This is the beginning of my Web.config:


Editor's Note: Does Your Program Smell Like Bacon?


When building your program, are you content with "good enough"? If so, your expectations are fatally low.

Keith Ward

MSDN Magazine August 2010

Editor's Note: Over-Educated, Yet Under-Qualified?


Are we teaching computer science graduates the right things to prepare them for the world of real work? If not, how do we fix it?

Keith Ward

MSDN Magazine July 2010

Editor's Note: We're All Ears


Help us help you, by sending your feedback on various topics.

Keith Ward

MSDN Magazine June 2010

Editor's Note: This Way-Cool 'Internet' Doohickey


It wasn't all that long ago that surfing meant grabbing a board and hanging 10.

Keith Ward

MSDN Magazine May 2010

Editor's Note: Scott Guthrie on Visual Studio 2010


The man most responsible for Visual Studio 2010 discusses what developers have to look forward to.

Keith Ward

MSDN Magazine April 2010

Editor's Note: Coming Out the Other Side


The worst is over for technology job-seekers, says Dice.com executive.

Keith Ward

MSDN Magazine March 2010

CLR Inside Out: Migrating an APTCA Assembly to the .NET Framework 4


The CLR security model in the Microsoft .NET Framework 4 has undergone some substantial changes, including the adoption of "Level2" transparency, similar to the Silverlight security model. Mike Rousos provides an in-depth explanation of how that will likely impact authors of AllowPartiallyTrustedCallers (APTCA) libraries.

Mike Rousos

MSDN Magazine March 2010

Editor's Note: Not Your Father's MSDN


Changes are coming to MSDN Magazine. They begin this month, with the unveiling of a number of new, monthly columns.

Keith Ward

MSDN Magazine February 2010

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend