ASP.NET Pharsing Error

B

BIJU

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
of its dependence, was not found". Kindly provide solution for this problem
 
M

Manish

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
 
B

BIJU

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..
 
M

Michael Nemtsev [MVP]

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>
 
B

BIJU

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
 
M

Michael Nemtsev [MVP]

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
b> "Michael Nemtsev said:
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>
 
J

Juan T. Llibre

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/
======================================
 
B

BIJU

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
Michael Nemtsev said:
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
b> "Michael Nemtsev said:
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>
 
M

Mark Rae [MVP]

I read "readme" and I have already installed iewebcontrols.wsi file.

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
 
B

BIJU

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top