Solved

Help registering my /Bin DLLs (IIS7)

Posted on 2010-11-26
9
509 Views
Last Modified: 2012-06-21
Hi Guys

I have just finished writing my new .NET 4.0 c# web app in VS2010. The application runs great using the internal VS web server for testing but I have run into some issues while trying to get web pp running on IIS7.

I have 3 DLLs within my /Bin directory and I am not sure how to "register" (not sure if that is the correct word) them.

Could anyone offer any advice please?

Thanks Paul
0
Comment
Question by:herculesway
  • 5
  • 4
9 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34216451
You don't need to register them at all. What issue are you having getting the site to work?
0
 

Author Comment

by:herculesway
ID: 34216571
Well as i said, all works well on local machine via VS2010 how ever when I try and run on IIS7 I get this error on login shown below in image.

The two file locations I have highlighted are paths to my classes on another DEV machine but why wud app be looking for them when these classes are now DLLs in the /Bin folder?

Thanks for any advice possible!

 28f9ac79bdba47ece05b52a09f4bae8b.JPG
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34216625
Is it a WebSite or Web Application project? How did you deploy it to your server?
0
 

Author Comment

by:herculesway
ID: 34216721
web application and i copy and pasted files into wwwroot and right clicked convert to application...
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 34216749
OK. Instead of that Build the project, and then Publish it to a directory somewhere and copy the contents of that publish folder. It sounds like you may have just copied the contents of the development project instead, rather than the build output.
0
 

Author Comment

by:herculesway
ID: 34216985
hey what a star! appears to be working now :)

thanks again...ill leave this open for rest of day in case i come across another niggle...

cheers paul
0
 

Author Comment

by:herculesway
ID: 34217650
hey..another issue i hope you might be able to answer for me...

i now have everything running perfect on URL "http://localhost/"...

...but when i try and view by local IP address "http://192.168.85.7/" i get 401.3 error (You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.)

...and if I try and go by my external ip address i get error 401 (You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.)

any advice how i can open IIS7 up to the world?

thansk again, Paul
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34218572
Probably better to open that as another question, both in the IIS and Windows Server zones. Network configuration isn't really my area of expertise.
0
 

Author Closing Comment

by:herculesway
ID: 34233236
Thanks Carl, you really know your stuff!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now