directory as application in IIS gives Could not load type

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top