Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Using .NET DLL's with ASP Page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using .NET DLL's with ASP Page

 Post Reply Post Reply
Author
mxcxsx View Drop Down
Newbie
Newbie


Joined: 07 October 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mxcxsx Quote  Post ReplyReply Direct Link To This Post Topic: Using .NET DLL's with ASP Page
    Posted: 08 October 2010 at 12:08am
Hello,
I have been playing around with developing a Facebook Application in ASP.Net for a school project and have run into an error in which any bit of help would be greatly appreciated!

I am developing and writing my application in Visual Studio 2010 and made a new Web Site (not Web Application). My site loads perfectly when viewing it (there is no additional code that could crash the application).

However when I try to reference any DLL in

the ASPX file as:
<%@ Register Assembly="Facebook.Web" Namespace="Facebook.Web.FbmlControls" TagPrefix="cc2" %>

the ASPX.CS file as:
using Facebook.Web; 

the application displays the dreaded: 

Server Error in '/' Application.


Runtime Error

Description: 

Details:
 To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


Have I missed a step in importing the DLL? I have tried with multiple DLL's and the same server Error. I made sure not even to initialize any code and just use the namespace/register the assembly to make sure that is where the error is coming from. Also my project works fine when using a local deployment server on my desktop PC.

Thanks so much,
Michael
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9791
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2010 at 8:25am
The message that you are getting at the moment is to let you know an error has occurred, but not what the error is.

You need to turn on remote error for your website in the web.config file so that you can get a detailed error so you know what the problem is.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2024 Web Wiz Ltd. All rights reserved.