• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 517
  • Last Modified:

Help registering my /Bin DLLs (IIS7)

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
herculesway
Asked:
herculesway
  • 5
  • 4
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
You don't need to register them at all. What issue are you having getting the site to work?
0
 
herculeswayAuthor Commented:
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
 
Carl TawnSystems and Integration DeveloperCommented:
Is it a WebSite or Web Application project? How did you deploy it to your server?
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!

 
herculeswayAuthor Commented:
web application and i copy and pasted files into wwwroot and right clicked convert to application...
0
 
Carl TawnSystems and Integration DeveloperCommented:
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
 
herculeswayAuthor Commented:
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
 
herculeswayAuthor Commented:
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
 
Carl TawnSystems and Integration DeveloperCommented:
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
 
herculeswayAuthor Commented:
Thanks Carl, you really know your stuff!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now