473,508 Members | 2,365 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HAving trouble with my code accessing the DAL

2 New Member
Hi everyone,

I am facing a problem here... my build was working fine till yesterday and then out of the blue every debug operation resulted in
An unhandled exception of type[ System.runtime.remoting.remotingexception] occured in the following procedure: Main
Error stack:
Unexpected error starting ApplicationName(main)
system.io.fileloadexception : Access is denied:'Data Access Layer',
File name: "DataAccesslayer" at System.reflection.asembly.nload
"DataAccesslayer" at System.runtime.remoting.remotingconfiginfo.loadtyp e

"DataAccesslayer" at at System.runtime.remoting.remotingconfighandler.gets ervertypeforURI(string uri)
at System.runtime.remoting.remotingservices.getserver TypeforURI(stringURI)
at System.runtime.remoting.channels.httpremotinghandl ker.canservicerequest()

====prebind state information=====
LOG: Display name = data access layer(partial)
Log: appbase=file://C:/inetpub/ApplicationName
LOG: Initialprivatepath = bin
calling assembly : (unknown)
===========

Log: private path hint found in configuration file : bin
log: policy not being applied to reference at this time( private,custom,partial or local based assembly grid)
Log: post-policy reference : data access layer
Log: attempting download of new URI file :///C:/winnt/microsoft.net/framework/v1.1.4322/temporary asp.net files/application name/...../...../ dataaccesslayer.dll

Log: attempting download of new URI file :///C:/winnt/microsoft.net/framework/v1.1.4322/temporary asp.net files/application name/...../...../DataAcessLayer/dataAccessLayer.dll
Log: attempting download of new URL file :///C:/Inetpub/application name /DataAcessLayer.dll

{System.runtime.remoting.remotingException]


Any help in this matter would be greatly appreciated.

PS: I have tried every thing possible so far , starting with replacing the dll's in the inetpub, to restarting IIS, to resetting the system, I even reverted to build 1-2 weeks old and they too present the same message. I can access the database, so i don't think thats a problem either.


thanks for your time
Mar 13 '07 #1
0 962

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2574
by: Anand | last post by:
Hi i am having trouble adding a recordset into the access database, the code seems to be working fine it passs and parses through all variables just fine without showing any errors and also when i...
3
1945
by: tmaster1 | last post by:
Hi, This ASP (Visual Studio 6) code works on other PCs (The ASP code runs locally on localhost), but it causes IE to hang on a new PC (again, the ASP code runs locally on localhost). I think it...
3
4969
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : ...
8
7662
by: Flack | last post by:
Hey guys, In my app I have a bitmap where drawing is done and in the form's paint method I show the bitmap: private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) {...
3
1671
by: Alok yadav | last post by:
I have an open IP and on that IP our main application is hosted. it uses ajax. in web.config file i have register ajax handlers. there are also other sites or project on that IP. now my problem is...
10
8128
by: Hendri Adriaens | last post by:
Hi, I'm trying to automate the creation of an excel file via COM. I copied my code below. I read many articles about how to release the COM objects that I create. The code below runs just fine...
2
2001
by: Stu | last post by:
Hi guys, I've been having trouble getting the clock function to work portably, please could I get some thoughts? <Possibly OT comments> It works fine on my laptop (under WinXP) and on my...
6
1548
by: smoermeli | last post by:
#include <iostream> #include <vector> class Thing { private: int value; friend class Person; public: int getValue() { return value; } void...
24
4176
by: GesterX | last post by:
First of all I'm new to this site but it certainly looks like a place that i will be visiting more often! Onto my problem. I am creating a Hotel Bussiness project in java using BlueJ The...
4
1824
by: Jeff | last post by:
hi asp.net 2.0 I have created a custom web control, here is it's header: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditUserBox.ascx.cs" Inherits="Controls_EditUserBox" %> ...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
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...
0
7489
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...
0
5624
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,...
1
5047
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...
0
1547
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 ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
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...

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.