Groups | Blog | Home
all groups > asp.net > january 2008 >

asp.net : ASP.NET Pharsing Error



BIJU
1/6/2008 9:16:00 PM
When I am executing a Asp.Net web page containg Tree View web control, I got
an error message "File or assembly name microsoft.web.UI.Web controls or one
Manish
1/6/2008 10:19:00 PM
You need to make sure that you have System.web.dll at the following location
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. Also its in GAC and it is
referenced in the web.config file under namespaces.

Regards,
Manish
www.componentone.com

[quoted text, click to view]
BIJU
1/7/2008 2:48:00 AM
Hai,
Thanks 4 ur repsone. But the problem not solved yet. I can see
System.web.dll in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. but I can't
it in C:\WINDOWS\Assembly. In C:\WINDOWS\Assemblies I can see one file named
System.Web I dont know whether it is Dll.
I will type below the Assembly Load trace

LOG: DisplayName = Microsoft.Web.UI.WebControls
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/press/tree
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Web.UI.WebControls
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/press_tree/2874200f/872ae434/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/press_tree/2874200f/872ae434/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/press_tree/2874200f/872ae434/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/press_tree/2874200f/872ae434/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/press/tree/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.


Kindly provide solution

Thanks and regards..

[quoted text, click to view]
BIJU
1/7/2008 4:10:01 AM
Hellow,

Thanks for ur reponse
I have downloaded this Web controls. But in my tool window this treenode is
disabled and it is not active so that I can't drag it into web page. I can
add this control by cliking Add/Remove Tab in the Tool window but it comes as
disabled form. Kindly provide solution
Thanks and regards
BIJU
[quoted text, click to view]
BIJU
1/7/2008 5:19:01 AM
Hellow Michael,
Thanks 4 ur reponse.
I read "readme" and I have already installed iewebcontrols.wsi file.
How I can know that where this tool installed. Kindly provide solution and
Thanks in advance


BIJU
[quoted text, click to view]
BIJU
1/7/2008 8:21:00 AM
hellow,

Thank u 4 ur fast response. But I am using not ASP.net 2.0 I think it its
previous version. bcose my framework V1 .1.4322 sub folder . Whether I have
any other way to make utilise tab tool and tree view control. Kindly provide
solution pls and advance Thanks

Thanks and regards

BIJU

[quoted text, click to view]
Juan T. Llibre
1/7/2008 8:26:30 AM
re:
!> I can see System.web.dll in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

You're looking in the wrong place.

According to the error message,
you should be looking in C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/.

Is your web app configured as a 2.0 app or as a 1.1 app ?

1.1's System.web.dll doesn't have a Treeview Control.
2.0's System.web.dll does have a Treeview Control.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
[quoted text, click to view]


Michael Nemtsev [MVP]
1/7/2008 11:23:47 AM
Hello biju,

do you have this library into your references?

which asp.net version?


---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


b> When I am executing a Asp.Net web page containg Tree View web
b> control, I got an error message "File or assembly name
b> microsoft.web.UI.Web controls or one of its dependence, was not
b> found". Kindly provide solution for this problem
b>

Michael Nemtsev [MVP]
1/7/2008 12:17:32 PM
Hello biju,

have u read "readme" from your webcontrol package about how to install it?

where this control was intalled?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


b> Hellow,
b>
b> Thanks for ur reponse
b> I have downloaded this Web controls. But in my tool window this
b> treenode is
b> disabled and it is not active so that I can't drag it into web page.
b> I can
b> add this control by cliking Add/Remove Tab in the Tool window but it
b> comes as
b> disabled form. Kindly provide solution
b> Thanks and regards
b> BIJU
[quoted text, click to view]

Mark Rae [MVP]
1/7/2008 3:08:31 PM
[quoted text, click to view]

Aha - you're using the IE Web Controls...?

Several things:

1) IE Web Controls is not supported at all - you use them at your own risk
http://support.microsoft.com/kb/328046

2) IE Web Controls are designed for ASP.NET 1.1 - they do not work in
ASP.NET 2.0 or later
http://www.asp.net/downloads/archived/ie-web-controls/

3) There is no version for ASP.NET 2.0 or later - instead, their
functionality has been brought into ASP.NET directly via the <asp:TreeView>
control, etc...
http://forums.asp.net/t/1166814.aspx


--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Mark Rae [MVP]
1/7/2008 4:38:14 PM
[quoted text, click to view]

OK - should be no problem, then...

[quoted text, click to view]

http://www.4guysfromrolla.com/webtech/LearnMore/IEWebControls.asp
http://www.devarticles.com/c/a/ASP.NET/IE-Web-Controls-in-VB.NET/


--
Mark Rae
ASP.NET MVP
http://www.markrae.net
AddThis Social Bookmark Button