I installed Visual Studio 2008 in my machine. Both c# and vb.net are working properly, but my problem is asp.net is not working. If we are taking a new website project there is no design mode in default.aspx means at the bottom there is no design, source, split. If we go to View->Design then one error message is popup that there is no editor available for this Default.aspx. Again in Tools->Options->Html Designer will shows that an error occurred loading this property page. My OS is Windows Xp Professional 2002, IIS is also checked on .I don't know what to do.....
Visual Studio ( VSTS 2008 ) design mode work good for long time and from about 2 weeks ago it's suddenly stop view any thing in design mode i tried a lot with trying in another projects even in a simple web page but no way it's doesn't view any thing in design mode ... I think to reinstall VS 2008 again but I don't know if is there any outher solution for that ?
As far I know this is not supported for asp.net projects. It's quite handy for testing static/shared functions.any info if this will be available in future versions? Or if there are any alternative ways to test your functions in design mode?
This error only happens when I launch an existing application, if I create a new app the error does not appear on that site. However if I try to enter Design mode the Windows Installer opens and hangs. I can still edit the code and even launch the app.
If I click "OK", I get a dialog box that starts a Windows Installer that does not install anything, it justs sits there. If I "cancel" the installer, VWDE dies.
The only thing different on my laptop is that I had Office 2007 Trial installed along side Office 2003 before I installed VWD, I then uninstalled the trial and used the clean-up tool at [URL] to clean up the trial.
I have tried to repair VWDE, I have uninstalled and reinstalled VWDE with no change. Ialso have VB Express running and get no errors when launching it.
Is there a way to know what parameters are needed by an event in Visual Studio 2010?Let's say I have a DropDownList control and I want to bind a method to the "OnSelectedIndexChanged", I would do something like thisn the ASPX File:
The method GetDesignTimeHtml of the ControlDesigner class should return html markup that will be shown on the page in design time. My problem is that control looks different in different versions of the visual studio. What is the rendering engine visual studio use to render control in design mode?
suppose i've created my own user control, and it has a textbox and a property for the textbox so that if i use the user control from within the aspx file, i can give the property a value. for example:
is it possible to also set the property to be seen via the desing mode , just as it works for other (built in) controls? maybe a different method to implement the same scenario?
if you still didn't understand what i mean : after setting the value of DefaultNum1 via the code i've written here, i expect the textbox associated with this property to be updated as well to '1' via the design mode (and split mode). of course it won't work using the current method, since VS cannot guess what is going on with the property and understand that all of its purpose is to assign an initialization value for the textbox.
After I imported a VS 2008 web project to VS 2010, I can't view aspx pages that have master pages in design mode. The page design mode displays "error creating control - contentplacehoder1 object reference not set to an instance of an object." The project builds and runs fine though. I have only one master page that all other aspx pages reference and I don't have any nested master pages.
I got a problem regarding CSS in my pages. I managed to apply styles to my page using css and everything looks fine in the Design view. I ran it on IE8 and everything is working fine. Now after I returned to Visual Studio, added some rules to my CSS, and noticing that everything is working fine in the Design view, I ran it again in IE8 and nothing has changed. The rules I added was ignored and it looks the same. I ran it on Firefox and Google Chrome and it's working fine.
But if I ran my project in IE8 through IIS7.5, everything is working fine so it means, the problem is within visual studio 2010.
M was creating web page. Then next day when i starts my project again, everything was running properly, but now in all design page the tool of AccessdataSource is not showing in Design page. Though its working but it is not showing in design page. it shows in other system. So due to its invisibility , some times i create four-five datasoure in one page. Same problem also happens in sqldatasource and all other datasource.
I have looked at all the posts I can find on this problem and tried everything I can think of, but still the problem persists. I am getting really sick of it.was working fine for the last year until an update to MS Office 2007 caused a lot of problems (automatic update). After checking posts here, I removed it completely. No change. I then tried all the things I could find on other posts, also no change. Today, I removed VS and the Web Authoring Component and re-installed. Still no go.
Does anyone have a fix for this problem. It seems that it has been around a long time, but is still giving problems. I even saw one suggestion to reformat the drive! You've got to be joking!
I have a simple HttpHandler that generates a dynamic image based on query string parameters and a custom web control that renders an image tag pointing to the handler as its 'src' attribute. All works fine when run in the web server, but at design timethe control displays as the "missing image" icon (red x in a box). The handler is registered in the web.config with a ".ashx" extension. The RenderContents method in the control looks like this:
I am using Visual Studio 2010 and ASP.NET 4.0 to build a WebForms project that uses the new routing features in System.Web.Routing. When I build my solution and run it from within VS.NET's debugging environment only routes with RouteUrl's that include a ".aspx" extension are being properly routed to the PhysicalFile. It appears requests made to other URLs are not being "detected" by the routing engine for processing. In the case below, "Scenario1" shows a 404 and "Scenario2" works properly.
I work in an development group in an enterprise, where we strive to seperate business units and their responsibilities. So for example, I am in the development group and we are responsible for all tasks related to developing applications. We have other roles such as dbas, or operational roles that are outside of our group and are responsible for things like deployment, server maintenance, etc.
I'm looking at features in VS such as the publish web app feature and the web.config transform feature and reading about them in blogs and various other places. Based on the majority of what I read it always seems that the writer is assuming that the developer is managing things like connection strings, user names, passwords for the different environments in web config transforms, then publishing to a remove server in some kind of production environment (be it live, or test or staging, etc).
An example is here. In our environment, and I assume others too, the scenario is somewhat more complex than is usually portrayed. The development group may not know where any of what they've developed is deployed. And administrators may move servers,databases etc and update configuration as characteristics of the environment dictate. So in these cases, how does web.config transforms help? Publish can still potentially be used locally to build artifacts for a deployment package but even you'd probably want to use some automated build manager instead.
So is publish and transforms really more suited for more rudimentary development processes where the barrier between development and operations is very grey? Or am I missing something? It just seems that a lot of things I've reading about this kind of thing have good intentions but are somewhat superficial in the context of a more defined development process.
Interested to know others opinions and experiences on this.
I was recently told by a colleague that VS 2010 has inbuilt features similar to Resharper (e.g. Ctrl T to find a class etc...). I have been experimenting with VS 2010 Ultimate edition but cannot seem to find these features.If the features exist could somebody point me in the right direction?
I'm running ASP.NET on Visual Studio 2005, and I am not able to step through my break points when I run my application in "Debug" mode. I set the break points, run the application, and Visual Studio simply ignores them.I have gone through all of the configuration settings and project properties to see if their is something obvious that needs to be turned "on" - but I don't see anything.What would be the most logical settings or references to look at?
can't connect to sql 2005 express sp1 and vs is also sp1. 2) Which my guess is because of the database connection not being able... design view is not able to pull in the application for design, it's as if there is no theme and css just white background and black print.
I got a project when after opening in visual studio 2005 in build mode drop down, only debug mode is shown but release mode not shown.Project builds successfully in debug mode is there a way to enable release mode.
I just recently upgrade my asp.net web project from visual studio 2005 to visual studio 2010. The upgrade was successful with no problems however im missing some features with this project. The One Click Publish feature(which is greyed out) in the header area of Visual Studio 2010 and the Add Config Transforms feature which is no where to be seen when you right click on web.config. When i create a new web project straight from visual studio 2010, these options work fine.