473,511 Members | 17,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

directory as application in IIS gives Could not load type

Hello,

Where to start? Well, I was creating a little back office for a website. That website is in fact a virtual directory in an existing website. So, I have this:

-- WEBSITE1
|---- [Some Files & Directories]
|---- WEBSITE2 (Virtual Directory -- dirname: "koea")
|------ [Some Files & Directories]
|------ BackOffice

When the development of the back office was about finished, I wanted to add FormsAuthentication via web.config. Therefore I needed to set the "BackOffice" directory as an application in IIS.

From that moment I get this error when trying to reach the back office:

---------------------------------------------------------------
Server Error in /koea/BackOffice Application.

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'LS.Ebrug.Web.BackOffice.Login'.
---------------------------------------------------------------

The error goes away when I make "backoffice" a regular directory again, but then I can't use FormsAuthentication anymore.

I have tried to rebuild the entire solution, but that didn't work out. Does someone has an idea how to solve this issue? Any help would be appreciated!

Thanks in advance,
Thomas
Nov 18 '05 #1
0 837

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

Similar topics

1
3753
by: BrunoSilveira_BR | last post by:
Hi folks, I've tried to use the novell c# ldap library to connect to my unix ldap directory. But everytime i try to debug my application i receive the error message: "unable to load...
7
1575
by: Saso Zagoranski | last post by:
Hi! I mentioned this in my other post today but at that time I though I had it all figured out. When I got a reply regarding my other questing I saw that I don't :) Here's my problem: I...
4
4047
by: Bogosian | last post by:
I am working on an asp.net project.There is a subdir called OSearch,with a few aspx pages in it which as all other pages on the website use some controls.These controls are stored in a another...
8
1715
by: Anthony P. Mancini | last post by:
I'm working on a proof of concept that will ultimately be deployed on a load balancer. For the sake of a preliminary demonstration I created a C# object and marked it's attributes as Public...
1
1567
by: Thomas D. | last post by:
Hello, Where to start? Well, I was creating a little back office for a website. That website is in fact a virtual directory in an existing website. So, I have this: -- WEBSITE1 |---- |----...
5
3833
by: Bas Hendriks | last post by:
Has anyone any idea how asp.net find it's files back after compiling them to the temporary asp.net directory? I found on numerous webpages that the directorynames are chosen random but cannot find...
1
1041
by: Lintie | last post by:
Hi, I have 2 websites. Now I want to run one site as a virtual site of the other in IIS 5 (Win 2000). Like this : Website 1 \--Website 2 (Virtual directory) 1) If I create the virtual...
27
2526
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: ...
0
7245
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
7144
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7356
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,...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5069
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
3227
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...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1577
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
785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.