This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi - I've downloaded the trial version of lightspeed and I'm having some trouble getting up and running with it. One of the problems is with the automatic view generation in the ASP.Net MVC framework. I've taken a couple of screenshots of the errors I'm running into:
Does Lightspeed support the auto view generation feature?
|
|
|
Hmm... the images didn't really work out. Here's the links to them:
http://img195.imageshack.us/img195/1626/lightspeedscaffoldinger.png
http://img198.imageshack.us/img198/1626/lightspeedscaffoldinger.png |
|
|
bump? Anyone? Bueller? |
|
|
Hi, Sorry for the slow reply. Are you using the latest version of ASP.NET MVC (1.0)? We became aware of this issue with one of the last drops but believed it was resolved in the final release. If you could let us know and if you are using the final version then we'll investigate the issue further. The garbage items in the list is just that Microsoft just list every type in the assembly which includes all the obfuscated classes. Hope that helps, John-Daniel Trask |
|
|
Yes, I'm using the latest version of ASP.Net MVC from this URL: http://www.microsoft.com/downloads/details.aspx?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&displaylang=en , with Visual Studio 2008 SP1 and .Net 3.5 SP1. |
|
|
Hi, I've been testing this and cannot recreate it on the 1.0 version of the MVC framework. What template are you trying to generate (add/edit/delete etc)? Could you please try uninstalling ASP.NET MVC and reinstalling it while Visual Studio is closed? This is an issue with ASP.NET MVC and we did report it early on (as well as users of LightSpeed + almost all other ORM's as they all suffered they same issue) and it does seem to have been fixed in the 1.0 version - at least for me. That leaves me to wonder if perhaps the Visual Studio integrated parts for you may be the old versions or out of date somehow. Do you have another machine you could test this on also? Could you please try that and let me know? (I'm also using VS 2008 SP1 with .NET 3.5 SP1). Hopefully we can get to the bottom of this. John-Daniel Trask |
|
|
If you are still having issues by the way, could you zip up your model project (without binaries) and send it through to me: jd@mindscape.co.nz ? I'll have a tinker in case it's something project specific. Hope that helps, John-Daniel Trask |
|
|
Hi John, Thanks very much for the reply. I uninstalled and reinstalled ASP.Net MVC 1.0, and there was no change. I don't think it's project specific, since I'm able to create very simple ASP.Net MVC projects, add a one-entity lightspeed model to them, and reproduce the issue. I was also able to reproduce the issue on my other (desktop) machine, which hasn't been in much use for several months, so I installed 3.5 SP1, MVC and Lightspeed on it tonight. So the setups are: This machine: WindowsXP, Visual Studio 2008 SP1, .Net 3.5 SP1, MySQL Connector.Net 6.0.3, ReSharper 4.5 Other machine: WindowsXP, Visual Studio 2008 (no SP), .Net 3.5 SP1, MySQL Connector.Net 5.2.
I've tried both VB.Net and C# projects on both machines. Neither machine had any of the MVC betas installed on them, although I found that other thread where you discuss this problem, and I followed it along and tried installing the RC2 of the MVC framework, but that didn't work either. Judging by this, I don't think it's project related, but I'll be happy to zip up an example project and send it along if you'd like. Any suggestions would be appreciated! |
|
|
Hi John, I've just tried it on a third machine at work today, which has never had MySQL or MVC installed on it before, and it's the same result. |
|
|
Hi, If could zip up your project and send it to me: jd@mindscape.co.nz (without binaries please) I'll take a look. I'll investigate this issue on another machine (perhaps there is something magical about my machine that makes it just work!). Obviously we want people being able to use the full capabilities of ASP.NET MVC and if it works on my machine then surely there is something that can be done. Thanks for persisting with us on this! John-Daniel Trask |
|