All Questions
Tagged with visual-studio-2013 asp.net-mvc
596
questions
0
votes
1
answer
48
views
The type initializer for 'Sybase.Data.AseClient1.AseConnection' threw an exception when running in IIS
I am getting the following error in one of my C# ASP.NET MVC applications:
The type initializer for 'Sybase.Data.AseClient1.AseConnection' threw an exception
Notice that it says AseClient1 and not ...
0
votes
0
answers
35
views
"Package Installation" error on Visual Studio project load
I wanted to learn ASP.NET MVC web development. So I pulled up a Youtube to give me a tutorial on the basics.
I was able to create the simple project just fine. The next day, I went to create another ...
0
votes
1
answer
45
views
Page does not work after published with Visual Studio 2013
I have an application that works perfectly in the local host, but when I publish it to a remote server I have a problem. I can see the page published that seems fine, but when I click "SAVE" ...
1
vote
0
answers
515
views
Some entity framework model files are not being added to the project folder 'Model'
I have an ASP.NET MVC application which is using Entity Framework.
One of the projects in the visual studio solution uses Entity Framework and contains an edmx file under Model folder. Within this ...
0
votes
2
answers
1k
views
Failed to install 'Microsoft.Extensions.Configuration 2.0.0'
I am trying to install Serilog.Sinks.MSSqlServer through Nuget. Using VS 2013 and .Net framework is 4.7.2. I checked dependencies before installing and it says it's compatible with framework 4.7.2. ...
0
votes
0
answers
496
views
What is the difference between OnActionExecuting and beginexecute methods?
I have some custom code placed on BeginExecute method because I need to execute some logic before any action method is executed on any controller. I have seen that BeginExecute is often being executed ...
2
votes
3
answers
3k
views
Path.Combine not working when combining remote server path with a file path
From an ASP.NET MVC app I am trying to concatenate two paths, a remote server path with a path extracted from database. I am performing below:
string serverPath = @"\\myServer\TempFolder";
string ...
-3
votes
1
answer
49
views
Proper CSS required to make text and href alignment perfect
I'm new to CSS. I have copied a CSS from existing code and changed as below:
.feedback_h1 {
width: 100%;
float: left;
margin: 0px;
font-family: Arial;
font-size: 12px;
font-width: 400;
...
0
votes
0
answers
1k
views
Table not being displayed in Entity Framework Diagram (edmx)
I have an ASP.NET MVC app built using NET 4.5 and Entity Framework database first. I am using Visual Studio 2013.
Now I am trying to update the edmx from database. Basically I am trying to add a table ...
0
votes
1
answer
408
views
IIS Express gets stuck and css styles sometimes not being applied when debugging an ASP.NET MVC application from Visual Studio 2013
I am debugging an ASP.NET MVC app from Visual Studio 2013. When I start the debug process from Visual Studio, IIS Express where app is hosted gets stuck (my app is not started). It often happens to me....
0
votes
1
answer
62
views
Angular 2 with Visual Studio 2013
Is it possible to use angular 2 with Visual Studio 2013 (ASP.NET MVC project)
I was looking for tutorials but only found Visual Studio 2015 ones.
0
votes
1
answer
462
views
Start Visual Studio debug session with a url other than root
When you start debugging visual studio goes to http://localhost:3896/ by default is there a way to manipulate the startup so that it goes to http://localhost:3896/PROJ/Home instead.
I would like to ...
0
votes
2
answers
7k
views
can not add System.Web.Extensions Assembly as reference
I need to use System.Web.Script.Serialization which is located at System.Web.Extensions assembly. but in my vs 13 environment reference>assembly>framework the System.Web.Extensions is not showing. ...
0
votes
1
answer
404
views
Default value for "Insert space after keywords in control flow statements" setting?
Can someone tell me what default value for the "Insert space after keywords in control flow statements" setting is?
I'm not sure if I changed it in the past or whether another developer has it ...
5
votes
2
answers
13k
views
ASP.Net MVC:How to debug razor code in cshtml file
i set break point in razor code but i am not being able to debug the code.
here is the picture which clearly saying break point will not currently hit
so please tell me what option i need to turn ...