• Register

Recent questions tagged net-mvc

0 votes
1 answer 4 views
Problem: to allow get requests set jsonrequestbehavior to allowget.
asked 3 days ago Ethan ross 1.8k points
0 votes
1 answer 7 views
Problem: the requested resource does not support http method 'get'.
asked 6 days ago charles mathews 3.8k points
0 votes
1 answer 10 views
Problem: are you missing a using directive or an assembly reference.
asked Feb 18 charles mathews 3.8k points
0 votes
0 answers 8 views
Problem: cara mengatasi datatables warning table id table ajax error
asked Feb 17 Dan phillip 1.9k points
0 votes
1 answer 3 views
Probelm: the transaction log for database is full due to 'log_backup'
asked Feb 16 Ethan ross 1.8k points
0 votes
1 answer 10 views
0 votes
1 answer 23 views
Problem: I am naive to Asp.Net.I am having a weird looking problem where I am trying to open up my ASP.NET MVC application but I am receiving the below ASP.NET error page which says: Server Error in '/' Application. The resource cannot be found. Description: ... unknown reason to me it seems like it is actually searching for the .aspx file. Please guide me if you think I am missing something.
asked Aug 19, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 88 views
Problem: I am completely new to ASP .net core. I guess it is giving me the dependency injection error as shown below: InvalidOperationException: Unable to resolve service for type 'Spinit ... ) Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware.Invoke(HttpContext httpContext) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
asked Aug 17, 2020 Raphael Pacheco 4.9k points
0 votes
0 answers 38 views
Problem: I have basic knowledge on ASP.Net and Database Connection. Currently I am receiving the below error if I try to run my code: System.Configuration.ConfigurationErrorsException: 'The configuration section cannot contain a CDATA or text element'. My application ... SSPI;Initial Catalog=TestData" providerName="System.Data.SqlClient"/> Kindly help me in fixing above ASP.Net related error ASAP.
asked Jun 22, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 191 views
Problem : Recently I was told to prepare the C# as I am in pool of new projects. So I have started learning C#. But because of some unknown reason to me now I am facing below error. “Make sure that the controller has a parameterless public constructor”. As I am very new to C# so I am unable to understand the above error. I need help from someone who can fix the above error.
asked Mar 31, 2020 morrisBson 3.2k points
0 votes
1 answer 263 views
Problem : When I try to upload my application on to the GoDaddy shared Plesk hosting account, I get the below error. “This program is blocked by group policy. For more information, contact your system administrator.” Does anyone know a purpose of this block or why the Microsoft puts it there? Please Note : The app uses C# and not VB.
asked Feb 4, 2020 jwilliam 3.9k points
0 votes
1 answer 128 views
Problem : I have recently installed a website on my local machine using IIS 7 successfully. But when I tried to deploy it on the live server, I got a following error: "The page cannot be displayed because an internal server error has occurred" Nothing else. Using a same IIS 7 on live and also set to have the Detailed errors in Error Pages module, but still getting a same. What can be the reason?
asked Jan 28, 2020 jwilliam 3.9k points
0 votes
1 answer 84 views
Problem : I have got the legacy code issue that requires that I support the random urls as if they were requests for a home page. Some of the URLs have the characters in them that generate the below error "A potentially dangerous Request.Path value was detected from ... />     </system.web> <configuration> I have also Added a ValidateInput attribute to my action that should be catching the urls.
asked Jan 25, 2020 jwilliam 3.9k points
1 vote
1 answer 47 views
Problem : While binding the dropdown in MVC, I often face following error: There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key country. Please find below my View for your reference : @Html.DropDownList("country", (IEnumerable<SelectListItem>)ViewBag ... .countryid.ToString() }); } ViewBag.mycountrydrop = myitem8; return View(); I do not know how to resolve above error.
asked Dec 28, 2019 alecxe 7.5k points
0 votes
2 answers 231 views
Problem : I am new to ASP MVC and I am facing one error. I am trying to access the Model's Data from the Controller section and I am getting following error when I try to create a Movie as a part of the exercise, whenever I try to click on the link "Create New" I ... am using the Visual Studio 2012 RC I am not sure if this is the root cause of my issue.Please let me know the solution for my issue.
asked Dec 3, 2019 alecxe 7.5k points
To see more, click for the full list of questions or popular tags.