Home Unanswered Active Tags New Question

Trying to deploy on web server

Hi, I am trying to deploy my test project on a webserver but it's always giving me that error.
Parser Error Message: Could not load file or assembly 'DayPilot' or one of its dependencies. The system cannot find the file specified.
Line 2: %@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %
Everything works fine in Visual Studio but not on the webserver!
Asked by Bbq 1 year ago.
Replies

Do you have the daypilot.dll in the bin directory of your web application?

Comment posted by Dan Letecky 1 year ago.
Yea, I have it but I fixed my problem. I had to put the bin directory on my webserver instead of my subfolder for my project...well anyway. It worked! Thanks anyway!
Comment posted by Bbq 1 year ago.
We're having the same issue here. Can you please kindly provide the steps taken so that other people could see it?
Comment posted by Anonymous 1 year ago.

Two possible scenarios can happen:

1. You deploy it as a root application.

  • Your application sits at C:\Inetpub\yourdomain.com
  • It is visible as http://yourdomain.com/

You need to put daypilot.dll into C:\Inetpub\yourdomain.com\bin.

2. You deploy it in a directory of another application (domain).

  • Your application sits at C:\Inetpub\yourdomain.com\yourapp
  • It is visible as http://yourdomain.com/yourapp/

You need to put daypilot.dll into C:\Inetpub\yourdomain.com\yourapp\bin and convert "yourapp" directory to an application using IIS Manager:

  1. In the IIS Manger tree, find "Web Sites" -> "yourdomain.com" -> "yourapp".
  2. Right-click "yourapp", select "Properties".
  3. Under "Directory" tab, find "Application settings" section and click "Create" button.

If you don't create the application it will be looking for the daypilot.dll assembly in C:\Inetpub\yourdomain.com\bin instead of C:\Inetpub\yourdomain.com\yourapp\bin.

Comment posted by Dan Letecky 1 year ago.
^ this
|
Comment posted by Bbq 1 year ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java