The Artima Developer Community
Sponsored Link •

C# Answers Forum
missing an assembly reference?

1 reply on 1 page. Most recent reply: Aug 3, 2006 12:40 PM by Gerald Stanford

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Olyvia chen

Posts: 1
Nickname: oliph
Registered: Mar, 2006

missing an assembly reference? Posted: Mar 5, 2006 10:13 PM
Reply to this message Reply
Advertisement
I'm using enterprise library for my web application(using asp.net version 2.0) to access data from SQL database.
I tried to run the file in localhost and it worked just fine. Then I uploaded the file to the (remote)server but i ended up with this error:
=====================================================
Compiler Error Message: CS0234: The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

Source Error:


Line 9: using System.Web.UI.WebControls.WebParts;
Line 10: using System.Web.UI.HtmlControls;
Line 11: using Microsoft.Practices.EnterpriseLibrary.Data;
Line 12: using System.Data.Common;
Line 13:

Source File: d:\xxx\BOM.aspx.cs Line: 11
===========================================

The server doesn't have Enterprise library installed but I think this is not a problem as long as the .dll files are put inside the Bin folder.

Please help :( I'm totally new to web programming..

Any kind of help is very much appreciated. Thanks!!


Gerald Stanford

Posts: 1
Nickname: bassboy
Registered: Aug, 2006

Re: missing an assembly reference? Posted: Aug 3, 2006 12:40 PM
Reply to this message Reply
This may not be you rcase but I have the exact same error down to the word. I have just move from ASP.NET 1.0 to 2.0.
My problem was that I had the ASP.NET 2.0 setup correctly except I was not using the 2.0 ApplicationPool I had setup. It had defaulted to the regular app pool. I pointed
to the correct app pool and it worked.

Flat View: This topic has 1 reply on 1 page
Topic: How to refresh main application UI when an external program is running? Previous Topic   Next Topic Topic: Global file in C#

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use