URGENT!! ASP.NET Reference

PLEASE HELP, I have added a reference to my project, a .dll. This has gone into the Bin folder. When I run my application though I get

Parser Error Message: Could not load file or assembly 'Microsoft.Web.Atlas' or one of its dependencies. The system cannot find the file specified.

Source Error:


[No relevant source lines]
 
Can anyone help me on this?>

Andrew
LVL 20
REA_ANDREWAsked:
Who is Participating?
 
HappyFunBallCommented:
I believe it is possible to move the bin folder, but that's beyond my expertise.  Google searches could help you find an answer on that.

That being said, I suggest you keep the bin folder just off the root.  For example:

(Application Folder)
  \
    --(Bin)
    --(App_Code)
    --(Other folders)
    default.aspx
    web.config
    etc..

You might want to try renaming the server application and redeploying from scratch (i.e. create new app in IIS on the server, move the files over from local, etc.)  Also, you must've run the install for Atlas on local.  Did you also do it on the server?

0
 
HappyFunBallCommented:
Make sure that the directory of your app is marked as an IIS web application.  Go to IIS manager, right click the folder, choose properties, and create application if necessary.
0
 
REA_ANDREWAuthor Commented:
yes the root folder is marked as an application, do the child folders need to be aswell?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
HappyFunBallCommented:
You should only have to set the root folder of the app as an application.  Just to be clear I don't mean the wwwroot, I mean the wwwroot\myapp folder.  

You could also try:

- make sure the application in IIS is using the correct ASP.NET version.  If you've built the app in 2.0, make sure the setting in IIS hasn't defaulted to v1.1.  This gets me all the time.

- try deleting all the files out of the bin directory, then rebuild the solution

- try closing VS and restarting, then rebuild the solution

0
 
REA_ANDREWAuthor Commented:
Thank you, will try this when I get home and have access to do this. For reference I am trying to register the Microsoft Atlas Tool, which is there recent release of their version of AJAX.

Cheers again, will try at home and let you know ASAP>

thanks for your time
0
 
HappyFunBallCommented:
No problem, I hope it works.  I haven't messed around with Atlas yet but I've seen that same error message many times.  Atlas looks pretty cool and I'm looking forward to using those controls.
0
 
daniel_ballaCommented:
Hi
Did you run the VSI?
Is this a project started on the atlas template?
if you follow these instructions you can't fail: http://atlas.asp.net/docs/Overview/install.aspx

I have only experimented atlas once, but it all oworked fine with no problem at all.
0
 
REA_ANDREWAuthor Commented:
Yes it works, but only on a local machine.

Wehn on the server it cannot find the Bin folder, or it does not recognise the bin folder as the application folder for the script.  I am thinking that I am too far down in folder levels.

QUESTION:

Does the bin folder have to go in the root folder of the application, i.e.

0
 
daniel_ballaCommented:
the bin folder has to go under the root folder of the application and must be configure as application (from IIS manager or otherwise grant read and execute rights to IIS user).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.