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 Error
I have tried:
- 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.
huh? Are you saying you are adding the follwing to a .ASP file:
<%@ Register Assembly="LouderVoiceCustomControls" Namespace="LouderVoiceCustomControls" TagPrefix="ldv1" %>
and expecting it to be processed by Asp.Net dll's?
Have you read the book? - ASP.Net 3.5 CMS Development (now on Kindle)
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!
penguinfligh...
0 Points
6 Posts
ASP.NET DLL file issue
Jan 28, 2013 04:38 PM|LINK
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 Error
I have tried:
- 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.
Can anyone guide me?
Curt_C
All-Star
66017 Points
7639 Posts
Moderator
Re: ASP.NET DLL file issue
Jan 28, 2013 05:16 PM|LINK
huh? Are you saying you are adding the follwing to a .ASP file:
<%@ Register Assembly="LouderVoiceCustomControls" Namespace="LouderVoiceCustomControls" TagPrefix="ldv1" %>
and expecting it to be processed by Asp.Net dll's?
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!
penguinfligh...
0 Points
6 Posts
Re: ASP.NET DLL file issue
Jan 28, 2013 05:58 PM|LINK
Yes I am adding this line:
<%@ Register Assembly="LouderVoiceCustomControls" Namespace="LouderVoiceCustomControls" TagPrefix="ldv1" %>
and yes, I need a site feature that requires the ability to add ASP.NET DLL files but I keep getting a 500 Internal Server error.
PrashanthRed...
Member
559 Points
94 Posts
Re: ASP.NET DLL file issue
Jan 28, 2013 07:31 PM|LINK
Hi,
You can run a command-line tool called the Assembly Registration Tool (Regasm.exe) to register or unregister an assembly for use with COM.
http://msdn.microsoft.com/en-us/library/h627s4zy(v=vs.80).aspx
Thanks,
Prashanth Reddy
penguinfligh...
0 Points
6 Posts
Re: ASP.NET DLL file issue
Jan 28, 2013 09:49 PM|LINK
Thank you!. I'll try this.