Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
I have a classic ASP website and need to add a site feature that requires the ability to add ASP.NET DLL files. My hosting is enabled for ASP.NET. I created an ASP.NET/bin directory but the following line <%@ Register Assembly="LouderVoiceCustomControls" Namespace="LouderVoiceCustomControls" TagPrefix="ldv1" %> is throwing a 500 Internal Server Erro
Posted 28-Jan-13 5:20am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

When the error is 500, that means it's an internal error, meaning internal to the service - the service threw an exception that was not caught.
Look in the Windows event logs on the server to see what went wrong.
 
Also, try:
- Go to menu Tools/Internet Options in your IE.
- Click on the Advanced tab, uncheck "Show friendly HTTP error messages" option and click Ok.
- Try accessing your web page again. Now you will see much more meaningful error message which will help you to troubleshoot the problem.
 
Other few possibilities:
There might be an issue in the way you have hosted your app. May be multiple config files?
Do make sure, you have hosted your application correctly. Published the application as website and setting up the virtual directory.
 
Read about Error 500 here:
HTTP Error 500 Internal server error[^]
500 Internal Server Error[^]
 
See details here: Microsoft Support: Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.0 – Internal Server Error"[^]
  Permalink  
Comments
Member 9791938 at 28-Jan-13 10:57am
   
@Sandeep- Thank you! I'll try this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 DamithSL 425
1 OriginalGriff 184
2 BillWoodruff 170
3 Zoltán Zörgő 165
4 Maciej Los 163
0 OriginalGriff 7,854
1 DamithSL 5,949
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,084
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100