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

Top 5 Contributors of the Month
Post New Web Links

Framework 4.0 dll loaded by a 2.0 executable cannot find "xxxx.resources.dll"

Posted By:      Posted Date: September 06, 2010    Points: 0   Category :.NET Framework
 Hello, I have an interesting situation here that I was hoping someone may be able to give some pointers on.  First my application is all provided within a class library assembly so that it can be loaded by multiple hosts.  We are investigating moving to Visual Studio 2010 and the .Net Framework 4.0 for some of the new features.  However, one of our hosts is a 2.0 click once application that we do not have the source to.  I've tried modifying the config file for the executable to add the useLegacyV2RuntimeActivationPolicy with the 4.0 as the supported runtime and setting loadFromRemoteSources as suggested by a Google search and that came close to working.  However, depending on the workflow through our client code is giving a System.IO.FileNotFoundException for various references. The message associated with the exception is Could not load file or assembly 'file:///XXXXXX.resources.dll' or one of its dependencies. The system cannot find the file specified."  Were the XXXXX changes and the .dll may or may not be present depending on whether Assembly.Load or Assembly.LoadFrom was used to perform the load.  Any thoughts would be greatly appreciated. [Addition: I forgot to mention that our app originally targeted Framework 3.5SP1] Michael Fischer

View Complete Post

More Related Resource Links

Cannot find ASP.NET tab on IIS6+2003,how to choose .NET framework 4.0?


Hi all,

I just wanna setup a .net framework 4.0 on my VPS for a new site. While I could not find the ASP.NET tab on properties. I did some research find some similar problems but haven't fixed it yet.

Any suggestion would helpful.



Are You in the Know?: Find Out What's New with Code Access Security in the .NET Framework 2.0


Unlike role-based security measures, code access security is not based on user identity. Instead, it is based on the identity of the code that is running, including information such as where the code came from. Here Mike Downen discusses the role of code access security (CAS) in .NET and outlines some key new features and changes in CAS for the .NET Framework 2.0.

Mike Downen

MSDN Magazine November 2005

Where can I find Javascript .NET Framework Reference?


I have been Googling for hours to find a reference to methods and properties in Objects in the .NET framework using Javascript in ASP.

I can see from examples that properties are not spelled the same when accesing from C# in code behind and in Javascript. And it seems like the avaiable methods and events are not the same in C# and Javascript.

Does any one know where I can find such a reference?


Thank you!



Failed to find or load the registered .Net Framework Data Provider.




I am using enterprise library 5.0,vs.net 2008,oracle 9i,odp.net version.

In machine.config I added the line below in

<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory , Oracle.DataAccess, Version=, Culture=neutral, PublicKeyToken=89b483f429c47342"/>


DbProviderFactory pf = DbProviderFactories.GetFactory("Oracle.DataAcess.Client");

above line is throwing an error.

System.Configuration.ConfigurationErrorsException was unhandled by user code

Message="Failed to find or load the registered .Net Framework Data Provider."


BareMessage="Failed to find or load the registered .Net Framework Data Provider."



at System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow)

at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)

at testweb2008.Classes.test..ctor(String strKey) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\testweb2008\testweb2008\Classes\test.cs:line 30

at testweb2008._Default.Page_Load(Object sender

Trying to find out how data from warehouse is loaded into a dimension


(SQL Server 2005)

I have a customer data warehouse table that I am loading into a customer dimension.  Each row in the warehouse has a unique integer key.  It is possible to have multiple rows with the same customer name.  Each row will have an account code and an alternate account code.  Besides the key field, Name + Account + Alternate is what makes a row unique.

Once I process the table into the warehouse it looks like I am only getting one entry in the dimension based on customer name.  It is difficult to browse dimensions and tell exactly what is there.  I've tried setting up a plain demision and also adding  Account code and Alternate account codes as attribute relations under Name.  I've also tried a hierarchy with Name -> Account -> Alt Account.

I have a customer with 2 account codes and multiple Alternate codes - 29 rows in the warehouse.  When I browse I only get one result for name - I want to see 29 names all the same.  Do I need to set up the dimension somehow to use Name+Account+Alternate as the key?  Currently I am using the warehouse key field as the key. 



Where can I find NET Framework 3.0/3.5 Configuration Tool


Where can I find .NET Framework 3.0/3.5 Configuration Tool and Code Access Security Policy Tool? They simply disappeared after Frameworks 1.1/2.0.



Cannot hibernate machine due to Microsoft.NET Framework v1.1.4322 update and cannot find AntiVir etc

I have checked previous replies that suggest clicking Start, Run and typing msconfig and going in to the services tab.  AntiVir Personal Edition Classic Schedule does not appear in the list.  What else can I try please, this is really irritating.

Where to find width of ImageButton after the image has been loaded?


I have an ImageButton that loads different images (of differening sizes) based on a selection made by the user from a dynamic data list. This ImageButton is displayed beside the DetailView. I want to get the width of the DetailView (which is static) and the width of the ImageButton so I can set the width of the Div they are contained in to the sum of their width, plus a few px. Once I set the width of the DIV and I set and margins (left and right) are auto, the DetailView and ImageButton will be centered in the page. However, every way I've tried to get the ImageButton width, it is always zero. I've trying coding the ImageButton Load event and its PreRender event but I get zero in both cases. Do I need to check some other property, or another event, like maybe one from the form itself?


I can't find System.Xaml in framework 3.5



I install vs2010 first in my system , and i used vs2010 to build one solution create by vs 2008 which was build and run very well, but there are some error. and days  later, i install vs 2008, try to rebuilt it using vs 2008, but it warms that System.Xaml was missing, I can only find a image in the folder of framework 4.0, and can't find one in the folder 3.5. I try to add reference path of 4.0 to projects, but just got more warns and the solution can be built through.

How can solve this issue?



Entity Framework with Odata | Scott Hanselman | 'ProcessRequestForMessage' could not be loaded


I'm attempting to reproduce a simple / straight foward demonstartion from Scott Hanselman (azgroups.nextslide.com/odata-begins).  I created a very basic entitymodel then added the service.  However it keeps going to an error in my broswer.  The goal would be to expose my Entity Framework objects over the wire as a web service that I can consume from a client application.  I even started a blank project from scratch and still have the same results (VS2010).  I have sample code as well that can reproduce the problem. 


The operation 'ProcessRequestForMessage' could not be loaded because it has a parameter or return type of type System.ServiceModel.Channels.Message or a type that has MessageContractAttribute and other parameters of different types. When using System.ServiceModel.Channels.Message or types with MessageContractAttribute, the method must not use any other types of parameters.


Steps to repro:

1 Create new WCF Service Application

2 Create new Ado.Net entity model

3 Create new WCF Data Service

4 Set

Windows XP SP3 - Cannot find runtime using .NET framework 4.0, applications fail to execute.

I'm using Windows XP SP3 Computer, but runtime won't work, it's a friends computer, my computer (Windows 7) runs .NET just fine. It was just installed and it shows this error whenever you execute a program using .NET Framework/Runtime:
Unable to find a version of the runtime to run this application.

With an OK button below it. It won't work! I've tried rebooting it though, still it won't work! Help!




Error: Failed to find or load the registered .Net Framework Data Provider.


Oracle 10
Windows 7
IIS 7.5
Page created with VS2010
ASP.NET v4.0


When I created my website I downloaded the Oracle Database Access Component and the Oracle Tools for VS. Everything worked fine in development and running from the VS development server everything works perfect.

However when I deployed the site to IIS the site works fine until I attempt to open a page that has an oracle bound gridview in it. I then received the following error;

Failed to find or load the registered .Net Framework Data Provider.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.

[ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.]
System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow) +2189034
System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +135
System.Web.UI.WebControls.SqlDataSource.GetDbProviderFactorySecure() +48

.Net FrameWork 3.5 Installation Error " suite integration toolkit executable has encountered a probl

HI,my problem is when i try to install framework 3.5 i get the following error " suite integration toolkit executable has encountered a problem and needs to close " .

The setup was downloaded from "http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en "

also uninstalled all previous versions and did a clean using the tool and tried again but no luck.

curruntly using winxp Sp2

this was mentioned in error
"AppName: setup.exe     AppVer: 9.0.21022.8     ModName: vsscenario.dll
ModVer: 9.0.21022.8     Offset: 0003b403"

Log File gathered by error

LogFiles By VStool

is there any possible was to do this righ?,thanks in advance.

Where to find .NET Framework version 1.1.4322?

I am trying to install synctoy from Microsoft. This software requires installation of .NET Framework 1.1.4322. The setup automatically leads to a page displaying the .NET Framework redistributable as well as SDK version 2.0 for x86, x64, IA64. I have a pentium 4 machine(not 64-bit). I have tried to install x86 versions of both redistributable as well as SDK version but still I get the same message for running the setp of synctoy. I am not sure what I am doing wrong. Any help will be greatly appreciated.


Test whether Ajax framework loaded properly


Hey fellas,

As most of you probably know, there is a glitch with AJAX, sometimes not loading properly with certain browsers' settings.

I would like to test if it indeed wasn't loaded properly.

I've been suggested on different forum to try this method:

if(page_load) { //if you got here it means that all of javascript functions loaded properly }


I've yet to test it, but I'm not sure how this will work in case that there is an error with AJAX framework loading and javascript freezing.

Could you please suggest another method or insure that the above one does work?

Thanks ahead 


Multiple database support with Entity Framework

One of the features introduced in Entity Framework is being database independent. Which mean each database provider can support Entity Framework by implementing its provider.

This feature allows you build applications independent from the underplaying database provider. In this post I'm going to show how to build an application that support multiple databases using same conceptual model made by Entity Framework.

Creating a Generic Entity Framework 4.0 Repository

With .NET 4.0 right around the corner, I thought it would be cool to download Visual Studio 2010 beta 2 and start playing around with the next release of Entity Framework.

The initial release of Entity Framework came with a great deal of criticism. To make matters worse, there was a large uproar when it was rumored that Microsoft would be abandoning LINQ to SQL, in favor of Entity Framework. This was because, at the time, many developers felt Entity Framework was an inferior technology to LINQ to SQL. To set things right, Microsoft proactively moved forward with improving Entity Framework, in time for the 4.0 release of the .NET Framework. This is good news because my initial impressions, so far, have been nothing but positive.
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