Asp Net Error Creating Control Cannot Find Web Project Item
Contents |
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Visual Studio and Visual Web Developer Express/Error Creating Control - Cannot find Web Project Item Error Creating Control - Cannot find Web error creating control asp net design view Project Item [Answered]RSS 14 replies Last post Jul 08, 2011 11:02 PM by
Error Creating Control Object Reference Not Set To An Instance Of An Object
DuongLx ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options error creating control failed to create designer Advanced Search Related Links Guidance Reply Kinoman None 0 Points 3 Posts Error Creating Control - Cannot find Web Project Item Apr 20, 2008 09:16 AM|Kinoman|LINK Hello! I'm trying to build a error creating control telerik simple web application in Visual StudioTeam System 2008. When I try to add a control in my web form in source mode (for exemple "Use Visual Studio Development Server". Could smb tell me what is the problem? Reply Jeff.aspx Member 620 Points 253 Posts Re: Error Creating Control - Cannot find Web Project Item Apr 20, 2008 11:37 PM|Jeff.aspx|LINK Jeff King Program Manager ASP.net Reply Kinoman None 0 Points 3 Posts Re: Error Creating Control - Cannot find Web Project Item Apr 21, 2008 01:02 PM|Kinoman|LINK Thank you very much! It works![Yes] Reply enigma_nenu None 0 Points 1 Post Re: Error Creating Control - Cannot find Web Project Item Jun 20, 2008 03:32 AM|enigma_nenu|LINK Can you please let me know, how you did this? I have installed VS2008 with all frameworks in my system. At first i have created a new web application and than just trying to drag and drop the button[in fact, same with other controls] into design mode which already have a div, where i am unable to drop it. So i went a step ahead and dropped in the source mode. I got the button on my screen but with "Error Creating Control - Button1Cannot find web project item 'E:\Installations\Visual Studio 9.0\VC#\CSharpProjects\WebApplication4\WebApplication4\#\CSharpProjects\WebApplication4\WebApplication4\Default.aspx'." As jeff said, how can i remove the # butto here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more error creating control unknown server tag about Stack Overflow the company Business Learn more about hiring developers or posting ads error creating control reportviewer with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot find web project item up vote 1 down vote favorite I am http://forums.asp.net/t/1250382.aspx?Error+Creating+Control+Cannot+find+Web+Project+Item trying to create a webform. I added a button control on the web form but when i switched to the design mode i got the error: Error creating Button1 Cannot create web project item E:\MyProjects\C#\WebApplication1 Can somebody suggest a solution c# share|improve this question asked Apr 12 '10 at 7:11 Mohammad Nadeem 3,31063363 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote accepted You http://stackoverflow.com/questions/2620418/cannot-find-web-project-item need to remove the # character because this character denotes a bookmark. It is a reserved "special character", just as ? and / are reserved (although these characters aren't allowed in folder names either). Here is an example... This source location is treated as follows. This part is treated as the location http://localhost/MyApplication/C This section denotes a bookmark (just as ? denotes a querystring) # This section is the anchor name for the bookmark /Image1.png So your image will try and load "http://localhost/MyApplication/C" Here is an example of a real bookmark in action so you can see how it works... Pop this in a test html file (called "test.html"). Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in here... Put some really long content in h and got the error message below when open a .ascx file in design mode: Error Creating Control - LinkButtonSubmitCannot find web project item '~/sites/Sandpit/vwpUserProfileUpdate/vwpUserProfileUpdate.ascx'. Warning message is: Warning 1 E:\EricFang\VisualStudio\somepath\usercontrol.ascx: ASP.NET runtime error: error creating Path cannot be null.Parameter name: path E:\EricFang\VisualStudio\somepath\usercontrol.ascx 1 1 usercontrol I even could not drag and drop any control from the tool box to the web form. I built some similar projects before, and this was error creating control the first time that got this error. So I compared the .csproj file with other projects, but didn't notice any difference which cause the problem. Then I spent a while searching on internet. Many developers got similar issues, such as here and here, but they don't suit my case. In the end, quite lucky, I noticed that in the "Site URL" of the project, I used the server alias name instead of the computer name. Since it wouldn't hurt, I changed it, and BING! The problem disappeared! (This value is actually stored in ".csproj.user" file) Posted by Eric Fang at 1:08 PM Reactions: Error Creating Control Object Reference In Visual Studio 2010
Error Creating Control Gridview1