This is a migrated thread and some comments may be shown as answers.

Code Evaluation Error

3 Answers 44 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Donald Norris
Top achievements
Rank 1
Donald Norris asked on 04 Jan 2010, 06:01 PM
JustCode gives a "File Not Found" on the following line of code.

<%@ Register TagPrefix="SSC" TagName="CASMenu" Src="Controls/CASMenu.ascx" %>

I can assure you the file and folder exist and the program compiles and runs OK.

Thanks,

Don

3 Answers, 1 is accepted

Sort by
0
Deyan Varchev
Telerik team
answered on 05 Jan 2010, 05:02 PM
Hi Donald Norris,

 Thanks fir contacting us. In general JustCode shouldn't display this error so there must be something specific in your case that is triggering the problem. I have attached a small test solutions that has one aspx and user control registered the way you are saying. Could you try and modify the solution so that it generates the error you are reporting?
Also could you try and refresh the code analysis manually (from JustCode menu - choose "Refresh Code Analysis") and see it that makes the error disappear.

All the best,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Donald Norris
Top achievements
Rank 1
answered on 06 Jan 2010, 09:52 PM
I changed the format of the statement to this:

<%@ Register  Src="Controls/CASMenu.ascx"  TagName="CASMenu" TagPrefix="SSC"  %>

with no change.

Don
0
Deyan Varchev
Telerik team
answered on 08 Jan 2010, 11:43 AM
Hello Donald,

 Thanks for your collaboration and efforts to pin down this problem. I've modified the site to match the registration statement as you wrote (attached in  the modified solution). However there are no errors reported by JustCode when the solution is opened. Can you confirm that you are receiving an error on your side with the solution I've attached. If there is one, could you try refreshing the code analysis (choose from JustCode's menu "Refresh Code Analysis") and see if the error is still showing after that.

Thanks again for your responsiveness.

Greetings,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Code Analysis
Asked by
Donald Norris
Top achievements
Rank 1
Answers by
Deyan Varchev
Telerik team
Donald Norris
Top achievements
Rank 1
Share this question
or