Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

URGENT!! ASP.NET Reference

Posted on 2006-04-28
9
Medium Priority
?
367 Views
Last Modified: 2011-10-03
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
0
Comment
Question by:REA_ANDREW
  • 4
  • 3
  • 2
9 Comments
 
LVL 9

Expert Comment

by:HappyFunBall
ID: 16562846
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
 
LVL 20

Author Comment

by:REA_ANDREW
ID: 16562876
yes the root folder is marked as an application, do the child folders need to be aswell?
0
 
LVL 9

Expert Comment

by:HappyFunBall
ID: 16562979
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 20

Author Comment

by:REA_ANDREW
ID: 16563006
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
 
LVL 9

Expert Comment

by:HappyFunBall
ID: 16563041
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
 
LVL 9

Expert Comment

by:daniel_balla
ID: 16563877
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
 
LVL 20

Author Comment

by:REA_ANDREW
ID: 16585504
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
 
LVL 9

Expert Comment

by:daniel_balla
ID: 16585723
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
 
LVL 9

Accepted Solution

by:
HappyFunBall earned 2000 total points
ID: 16585752
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question