|
|
I can't get the VB.NET version to build. The C# version works just fine. Is there an updated VB.NET version?
I am afraid of the MVC 4. I am a developer. I don't dare to use MVC 3 in my project. Can you tell me is it in its autumn?
I wouldn't let the next version stop me from using ASP.NET MVC 3 now. You won't loose your investment by starting now.
You can judge it by yourself: http://www.asp.net/mvc/mvc4
I am a newbie in this ASP.NET MVC. What is the meaning of "M" in "Price=7.99M"? Could you give me link to the syntax/data types? Thx in advance.
Hi, If you want a numeric real literal to be treated as decimal, use the suffix m or M, for example: decimal myMoney = 300.5m; Without the suffix m, the number is treated as a double and generates a compiler error.
Can't find Movies.sdf Database. Used downloadded AspNetMVC3Setup.exe with mvc3-rtm-mspl.z ip files to install pkg instead of WEB Installer method, and get the missing Movies data file error also. I've done a full search on my C:\ drive & got no file(s) found msg. Checked web.config file but without Movies.sdf file installed can'y chane connetionString Directory variable to Attach Movies.sdf file. Appreciate any assistance. Have C# source files &MVC 3 framework avail in my VS2010 Pro proj templates, but upon successful compile & debug/run of project get System.Argument Exception '{"Unable to find the requested .Net Framework Data Provider. It may not be installed."}' in MoviesControlle r.cs Method: public ViewResult Index() line #107: return View(db.Movies. ToList()); Thanks
Movies.sdf is not included in the download, it is created on the fly. >> System.ArgumentException '{"Unable to find the requested .Net Framework Data Provider. It may not be installed."} You don't have SQL Compact installed. Use the Web Installer. Follow the instructions "Finally, if you wish to know what providers that are available for your application" at http://blogs.ms dn.com/b/spike/ archive/2008/12 /19/unable-to-f ind-the-request ed-net-framewor k-data-provider -it-may-not-be- installed.aspx
Getting this error on this part: http://www.asp.net/mvc/tutoria ls/getting-star ted-with-mvc3-p art5-cs Can't seem to connect to the db for some reason and I installed everything. Here's what I tried in my web.config: A.) <connectionStri ngs> <add name="MovieDBCo ntext" connectionStrin g="Data Source=|DataDir ectory|Movies.s df" providerName="S ystem.Data.SqlS erverCe.4.0"/> <add name="MovieDBCo ntext" connectionStrin g="data source=localhos t\SQLEXPRESS;In tegrated Security=SSPI;d atabase=Movies; User ID=sa;password= " providerName="S ystem.Data.SqlC lient"/> </connectionStr ings> B.) <connectionStri ngs> <add name="MovieDBCo ntext" connectionStrin g="Data Source=|DataDir ectory|Movies.s df" providerName="S ystem.Data.SqlS erverCe.4.0"/> <add name="MovieDBCo ntext" connectionStrin g="data source=.\SQLEXP RESS;Integrated Security=SSPI;d atabase=Movies; User ID=sa;password= " providerName="S ystem.Data.SqlC lient"/> </connectionStr ings> C.) <connectionStri ngs> <add name="MovieDBCo ntext" connectionStrin g="Data Source=|DataDir ectory|Movies.s df" providerName="S ystem.Data.SqlS erverCe.4.0"/> <add name="Applicati onServices" connectionStrin g="data source=.\SQLEXP RESS;Integrated Security=SSPI;A ttachDBFilename =|DataDirectory |aspnetdb.mdf;U ser Instance=true" providerName="S ystem.Data.SqlC lient" /> </connectionStr ings> here's the consistent error: Server Error in '/' Application. A network-related or instance-specif ic error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
I tried to input a decimal number on price-field (e.g 9.99). As soon as I click "Create" button, it shows validation error: The value "9.99" is for "price" invalid. I tried also to input "9,99" (since my PC uses regional setting German). It is also failed. I can only input price as integer e.g. 9 or 10. In case of "ReleaseDate" it doesn't accept [M/D/Y]-format "1/6/1990" but [D.M.Y]-format "06.01.1990". Thx in advance.
I have found a bug in the equalTo adapter in the jquery.validate.unobtrusive.js file, and want to submit a patch. the line is the following: element = $(options.form) .find(":input[n ame=" + fullOtherName + "]")[0]; it should be element = $(options.form) .find(":input[n ame='" + fullOtherName + "']")[0]; as it is further down in the remote adapter in the file, otherwise using Form.NewPasswor d and Form.OldPasswor d to compare values would not work correctly in the latest versions of jQuery. Thanks, Karel
Thanks for the report. Submit the bug at http://docs.jquery.com/Frequen tly_Asked_Quest ions#How_do_I_s ubmit_a_bug_rep ort.3F