VS2010 Crashes Closing Specific Project?
Feb 21, 2011
I'm working on a "Website Project" (as opposed to an ASP.NET Web Application) which we received from another company as part of an acquisition.In general it works fine, however every time I close the project ("File" -> "Close Project" or just "File" -> "Exit"), the IDE crashes.If I create a new project this doesn't happen, and it doesn't happen for any other project/solution file I have handy.The other information I have that might be useful is that this project may have stared out as a VS2008 project, and previously it was under Microsoft source control (it's under Subversion now).
View 3 Replies
Similar Messages:
Mar 28, 2011
I have web applications which were developed before I installed during mid week last week the SP1 from Web Platform Installer and MVC3. My applications currently still use MVC2. When I open Site.Master, the VS2010 would crash every time and tries to restart. The problem doesn't apply to .aspx, ascx, or other extension. Does anyone have the same problem? Here is what I have done to my computer:
1. Installed MVC3
2. Installed VS2010 SP1 and associated components using Web Platform Installer (install failed several time, but succeed this morning)
3. Modified myProject.csproj file using NotePad to change <mvcBuildViews> from false to true
View 7 Replies
Jan 5, 2011
I would like to include a word document, and unused program files in a folder as part of my project, but I don't want it compiled, etc. How is the best way to do this?
View 1 Replies
Jan 7, 2011
I have several ASP.NET web projects and their Output folder are set to "C:Builds[ProjectName]bin" (instead of the default "bin" folder). This makes "F5" Debugging not working because the ASP.NET Development Server expects the "bin" folder under the project folder.
I then changed to use Local IIS Web server (http://localhost/webproject1") and manually updated the vdir physical path to my custom output path. However the VS2010 will not load the csproj because it detects the url is already mapped to a different folder location.
I know I probably shouldn't change the Output folder. But wondering if there is an easy way to workaround this? The goal is to make "F5" debugging work with custom build Output folders.
View 2 Replies
Mar 8, 2011
I'm about to begin a new asp.net application using .net 4.0. Only concern I have is since the project calls for reporting, I cannot use SSRS with SQL Server 2008 b/c the tempate for Bus Intelligence Projects is missing from 4.0. I've been told that the next release of SQL Server 2011 (some time this year), will resolve this problem. Meanwhile, I'm wondering if the following approach would work:
1) Create the application in VS2010 using the SQL Server 2008 db.
2) Create the SSRS Bus Intelligence project using VS2008 and create a seperate website pointing to the same SQL Server 2008 Db?
Kind of a hack, but I guess the only problem with this is, the Bus Intelligence project will not be able to reference and leverage and DLL or code from the application.
View 1 Replies
May 23, 2010
I have had a project called Articles and the project complies fine. I have it running as a seperate site on my machine and it works like a charm under IIS7. When I start the project from VS2010 in debug mode (by pressing F5) it lands on a page that says: "Parser Error Message: Could not load type 'Articles._Default'."
I i however change the path in the browser from [URL] Home it works fine again, indicating that my routing table is bust but it was working yesterday and I did not change any route, The error page also says: "Please do not delete this file. It is used to ensure that ASP.NET MVC is activated by IIS when a user makes a "/" request to the server." That idicates to me that it went to default.aspx...right?
View 3 Replies
Mar 31, 2011
I'm trying to publish my mvc3 project to a web host server, I right clicked my project and selected publish, there i entered the ftp information, VS2010 uploaded the files to the ftp, but when i try to surf to the remote site i get an error "Directory Listing Denied". all guides I found requierd an installation on the web host side, is there no way to just upload the site like in classic asp?
View 2 Replies
May 1, 2010
I'm a bit cautions about converting one of my sites to .net 4 at the same instant I move to vs2010. When I convert the sln and csproj files, there is an option to "convert web sites to .net 4" which I did not check.Once I get more comfortable using vs2010, I'd like to do that conversion to .net 4, but I can't find an option to do that in VS.
View 2 Replies
Mar 23, 2010
I get the following error which I don't get when I build a simple WCF Data Service in an non MVC project. I added the following to my global.asax:
[Code]....
The type 'MvcWebApp.WcfDataServiceTwitter', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
View 2 Replies
Jan 26, 2010
is it possible to make a single assembly for whole WebSite in Visual Studio 2010?
With Web Deployment Project i can do this in VS2008, but it is not compatible with new version.
View 1 Replies
Jun 6, 2010
I just upgraded from VS2008 to VS2010, and now my web deployment project keeps rebuilding constantly. Even if I have a WinForms application set as the startup project and hit Ctrl+F5 to run it, the web deployment project rebuilds every time I hit Ctrl+F5. It didn't do this in VS2008. Does anyone know what's causing this?
View 1 Replies
Nov 3, 2010
I have been working on this project for a few months in VS2008.. now that we are getting closer to the end, one of the other programmers has been working and doing his in VS2010, so when i try to open his projects in VS2008 it just shows up as XML.. so i have to open in VS2010.. thats fine..
But if i try to open my project in 2010, it prompts to use the conversion wizard.. Should i be concerned or are there any issues with doing the conversion? Being the end of the project, i dont want to cause issues at this point.. So would like to know if converting the project file at this stage in our project a good idea? Will there be any issues using his code with mine since they were developed in 2 different versions..
View 1 Replies
Nov 4, 2010
How do I upgrade an existing VS2010 ASP.Net 3.5 project from Entity Framework 3.5 to Entity Framework 4.0?
Do I:
- Change the references?
- Change the target framework?
View 2 Replies
Sep 29, 2010
I'm getting "Cannot connect to ASP.NET development server" almost every time I stop the ASP.NET server before restarting the project in debug mode. It can take between 15 seconds and 2 minutes to get the error message, and Visual Studio is frozen.
Sometimes I get three in a row, and I have to wait 2 minutes each time, or go into Task Manager and kill to process. Then I have to start Visual Studio 2010 again, which is at least three times slower than Visual Studio 2008 to open.
It's *extremely* annoying. I know I don't have to close the server if the code has changed, but sometimes I simply want to restart my website in debug mode (there is a cache on most web service calls, so this clears the cache). A workaround is to add "foo" code to a class and restart the project.
I'm running Visual Studio 2010 Professional on Windows Server 2008. I'm running the Visual Studio Power Tools too, with the latest update.
View 1 Replies
Mar 2, 2011
Starting to get frustrated with MVC and how everything is so helper based with one massive Html helper that just has everything in it. No more controls to inherit from, no events, nothing. I don't see what's the proper way to "customize" something. It's seems it take it or leave it or copy source code and start over again with yet more helper functions. And man, so much stuff in core mvc is internal or private so you end up copying a lot of code but then it won't work. I also don't see any events so that when the core helpers are generating an input element that I can hook in and customize there.
I'm trying to build a forms engine and I like all this new MVC 3 with data annotations, validation, etc. HOWEVER, for all my input controls I need to
1) Add javascript events for onkeydown, onchange, etc
2) Show validation errors using tooltips (was going to use a jqueryui plugin). Based on this, I really just want to place a Html.TextBoxFor and have it generate all the required validation stuff including it's own hidden ! to display should a validation error being present.
I'm using LLBL business objects so it's not so easy to go add attributes like [required] and stuff. Ideally, I'd like to layout the forms once, but then OUTSIDE the form, inside the helpers, or whatever method I use, there I can customize exactly how the input elements and validations are rendered. What is the easiest way to customize, hook, subclass, whatever, the current helpers so that I can generate input elements but with my own project's specific twists?
View 1 Replies
Apr 23, 2010
So bit the bullet and installed vs2010 finally. However, when loading an existing vs2008 project, I am getting this error: "The project type is not supported by this installation." the only thing special about this project is that it's a "web application projects" type. what I've tried so far are these steps, but none of these solve my problem:
(1) run "devenv /setup"
(2) regsvr32.exe "%ProgramFiles%Microsoft Visual Studio 10.0Common7IDEProjectAggregator.dll"
View 1 Replies
Feb 27, 2011
For some reason, with the Razor view engine, VS is crashing on me. I copied the CSHTML content over to a VBHTML file and begin reformatting it, and VS has crashed on me twice now as I change a helper or function method syntax from:
@helper SomeHelper(string text)
to
@Helper SomeHelper(text As String)
The whole machine must be rebooted to get intellisense/markup highlighing to work.
View 1 Replies
Apr 27, 2010
I'm trying to use a dummy TempDataProvider for some of my controllers.
The provider looks like this.
[Code]....
But I'm getting an error that says
System.NullReferenceException: Object reference not set to an instance of an object. at System.Web.Mvc.Controller.PossiblyLoadTempData()
View 4 Replies
Feb 18, 2010
i am inserting the value of dynamic controls into the db like so;
Dim ae1 As DropDownList = FindControl("AreasExpertise1")
If (ae1 IsNot Nothing) Then
x.Parameters.AddWithValue("@areasexpertise1", ae1.SelectedValue)
End If
then in my query i have parameters like so;
INSERT INTO [foo] ([etc], [etc], [etc], [areasexpertise1], [areasexpertise2])
VALUES (@etc, @etc, @etc, @areasexpertise1, @areasexpertise2)
When the user fills out the form, they see only areasexpertise1 and have to press a button to dynamically insert another area of expertise...If they only have 1 area of expertise, the query crashes and says 'must declare variable @areasexpertise2.Please can you tell me a way to either insert nulls when the parameters are empty, or to ignore them?
View 1 Replies
Apr 29, 2010
One of the projects I'm working on crashes the development server everytime I go to compile and run, or preview a page.
It's only just started happening, and I really need to resolve it.
View 4 Replies
Mar 1, 2010
My ASP.NET program works fine for 30 mins (approx) then crashes with the generic status code 500. I've reviewed my code and can't seem to figure out what the problem could be. The program is running under II6 and I'm using .Net 2.0.
View 2 Replies
Jul 21, 2010
My css for listview Crashes for FireFox 3.0 and it works fine in IE 6 and 7 and FireFox 2.0. How to handle this?
View 2 Replies
Jun 2, 2010
I have a page with an iFrame whose source is an ashx page. The handler takes in 3 arguments through the query string and generates a text/html response containing a table. When the table gets >1700 rows it crashes the IE8 browser. The browser freezes and returns a null reference error.If I take the html that is being rendered and place it inside a DIV on the page it renders fine in IE8.
View 3 Replies
May 23, 2010
When I turn on Code Coverage in my test settings, on a project that references the Unity DI container I get the following error:
Cannot initialize the ASP.NET project'{Project Name}'.
The event log specifies the following reason:
Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.
View 2 Replies
Jun 5, 2010
Ive had problems with the calender throwing an exception when i clicked the previous month to many time to fast. Sometimes it doesnt happen. Is this a known problem? Is there any known typical solution?
View 2 Replies