473,698 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File or assembly name SCS.SR.SqlDAL, or one of its dependencies, was not found.

Hi All

I am not able to read the class name I want read the particular class name

string path =
System.Configur ation.Configura tionSettings.Ap pSettings["WebDAL"];
string className = path + ".User";
return (SCS.SR.IDAL.IU ser)
Assembly.Load(p ath).CreateInst ance(className) ; ( This line iam getting
Error)
Iam getting this Error

File or assembly name SCS.SR.SqlDAL, or one of its dependencies, was not
found.

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.IO.FileN otFoundExceptio n: File or assembly name
SCS.SR.SqlDAL, or one of its dependencies, was not found.

Source Error:
string path =
System.Configur ation.Configura tionSettings.Ap pSettings["WebDAL"];
string className = path + ".User";
return (SCS.SR.IDAL.IU ser)
Assembly.Load(p ath).CreateInst ance(className) ;
Source File: e:\srwosyst\sr\ dalfactory\user .cs Line: 16

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'SCS.SR.SqlDAL' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = SCS.SR.SqlDAL
(Partial)
LOG: Appbase = file:///E:/SRWOSYST/SR/SRWeb
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: SCS.SR.SqlDAL
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/srweb/65792517/cccc22f4/SCS.SR.SqlDAL.D LL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/srweb/65792517/cccc22f4/SCS.SR.SqlDAL/SCS.SR.SqlDAL.D LL.
LOG: Attempting download of new URL
file:///E:/SRWOSYST/SR/SRWeb/bin/SCS.SR.SqlDAL.D LL.
LOG: Attempting download of new URL
file:///E:/SRWOSYST/SR/SRWeb/bin/SCS.SR.SqlDAL/SCS.SR.SqlDAL.D LL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/srweb/65792517/cccc22f4/SCS.SR.SqlDAL.E XE.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/srweb/65792517/cccc22f4/SCS.SR.SqlDAL/SCS.SR.SqlDAL.E XE.
LOG: Attempting download of new URL
file:///E:/SRWOSYST/SR/SRWeb/bin/SCS.SR.SqlDAL.E XE.
LOG: Attempting download of new URL
file:///E:/SRWOSYST/SR/SRWeb/bin/SCS.SR.SqlDAL/SCS.SR.SqlDAL.E XE.

Stack Trace:
[FileNotFoundExc eption: File or assembly name SCS.SR.SqlDAL, or one of its
dependencies, was not found.]
System.Reflecti on.Assembly.nLo ad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurit y, Boolean
throwOnFileNotF ound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflecti on.Assembly.Int ernalLoad(Assem blyName assemblyRef, Boolean
stringized, Evidence assemblySecurit y, StackCrawlMark& stackMark) +307
System.Reflecti on.Assembly.Int ernalLoad(Strin g assemblyString, Evidence
assemblySecurit y, StackCrawlMark& stackMark) +68
System.Reflecti on.Assembly.Loa d(String assemblyString) +19
SCS.SR.DALFacto ry.User.Create( ) in e:\srwosyst\sr\ dalfactory\user .cs:16
SCS.SR.BLL.User .LoginUser(Stri ng userId, String password) in
e:\srwosyst\sr\ bll\user.cs:15
SCS.SR.SRWeb.Pr ocessFlow.UserC ontrol.LoginUse r(String userId, String
password) in e:\srwosyst\sr\ srweb\processfl ow\usercontrol. cs:19
SCS.SR.SRWeb._D efault.Button1_ Click(Object sender, EventArgs e) in
e:\srwosyst\sr\ srweb\default.a spx.cs:57
System.Web.UI.W ebControls.Butt on.OnClick(Even tArgs e) +108

System.Web.UI.W ebControls.Butt on.System.Web.U I.IPostBackEven tHandler.RaiseP o
stBackEvent(Str ing eventArgument) +57
System.Web.UI.P age.RaisePostBa ckEvent(IPostBa ckEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.P age.RaisePostBa ckEvent(NameVal ueCollection postData) +33
System.Web.UI.P age.ProcessRequ estMain() +1281

Regards
Karunakara Rao


Nov 16 '05 #1
0 1941

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
967
by: karunakar | last post by:
Hi all Here "MYPROJECT.SqlDAL" Project name as well as namespace name Iam calling some file name in this SqlDAL project that time iam getting this error How can i solve this problem This is the Error iam getting : "File or assembly name MYPROJECT.SqlDAL, or one of its dependencies, was not found."
3
12173
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a lot of information, but if you need more (e.g. the code) please write michael@mblarsen.dk. The problem is this error messages (the code is build just fine; no errors):
2
2310
by: aallee83 | last post by:
i'm new in asp.net after develop my solution i copied it on the server where I want it to run but something cares... WHAT?!?! thank you in advance File or assembly name System, or one of its dependencies, was not found. 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.
0
1987
by: Martinh | last post by:
Hi After invoking RetrieveData in a WebService I recieve the following response in a new window... I am running Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 on IIS6 on Server 2003 Enterprise. Does anybody has a working solution for me? Martin
3
1968
by: jlea | last post by:
I'm receiving the error message shown below when I try to load an aspx file (C# web application) on our server. The web application works fine if I remove the reference to the dll so I know the application and IIS are both ok. I ran depends on the dll and all referenced dlls are either in system32 or in the bin directory of the web application. I suspect it is some kind of security issue. Any help will be greatly appreciated. Jon Lea
1
5053
by: Olav Tollefsen | last post by:
I get the included error message when trying to run my ASP.NET application under Windows Server 2003 (with all updates installed). How can I troubleshoot this? Olav File or assembly name System.Xml, or one of its dependencies, was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information
0
2106
by: Federico Hernández Arce | last post by:
Hi group, first sorry for my poor english We have a vb.net app, run whit any problem in our pcs (whit vs.net 2003 installed). The app have a ocx that draw a binary tree (the only external component, all the rest is standart). When our client need the app, we say "only install the framework 1.1" (only???, poor of us !!!).
4
1617
by: Tiraman | last post by:
Hi, i have some problem to run my dll's (assemblies) on the production server. I have 3 dll's which use each other. Every thing is ok on my local machine where i developed them but when i upload them to the server and after signing them in to the GAC i m getting some errors.
2
1759
by: Andrew Jocelyn | last post by:
Hi I get this error when I change something in the web.config file. When I build the VS projects and load the first web page the application runs fine. If I then make a save the web.config file I then get this error when I refresh the browser. I have to restart IIS to fix the problem. I've included the error info but it all looks very cryptic to me. How do I find out what's really happening and how to fix it? Thanks
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7743
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.