Solved

Help registering my /Bin DLLs (IIS7)

Posted on 2010-11-26
9
511 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:herculesway
ID: 34216721
web application and i copy and pasted files into wwwroot and right clicked convert to application...
0
 
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

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!

Question has a verified solution.

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

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…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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