Integrated Development Environment from Microsoft targeting ASP.Net applications
Questions tagged [visual-web-developer-2010]
151 questions
46
votes
6 answers
Collapse html in Visual Studio 2012
in previous versions of Visual Studio, you could collapse the html blocks, but that appears to be missing in VS2012. Any ideas on how to enable that feature again?

dariwe
- 463
- 1
- 4
- 5
19
votes
4 answers
System.MethodAccessException: Attempt by security transparent method to access security critical method fails on all applications
Hello and thanks in advance for the help,
I know that this question or similar questions have been posted, frequently with specific regards to MVC 3 applications. However, I am getting this error message whenever I try and launch any application…

Christian
- 1,685
- 9
- 28
- 48
11
votes
1 answer
Troubleshooting MS web deploy ACL permission error
I have been trying to get my website deployed on a new VPS running windows server 2012/IIS8. Visual studio can connect and creates the directory structure then fails. Looking at the server logs I get the error described in the following link -…

MPD
- 605
- 1
- 9
- 17
7
votes
7 answers
Pre-Compile During Build returns Error ASPNETCOMPILER(0,0): Error ASPRUNTIME: startIndex cannot be larger than length of string
This question is similar, but I think not the same
msbuild ASPNETCOMPILER ASPNETRUNTIME startIndex error
I have a Web Application which I am trying to publish using Visual Web Developer 2010 Express.
If I publish, locally, or to production server,…

Jamie Hartnoll
- 7,231
- 13
- 58
- 97
7
votes
4 answers
Automatic countdown timer to adjust database record
I have a small MVC website which is for a friends Hair Salon. On this page I have a div which is used to display a number which it takes from a database record. This number is the current number of people sitting in the queue waiting for a…

Harry
- 735
- 5
- 16
- 27
6
votes
3 answers
What is the more recommended way to 301 redirect in asp.net?
I've googled everything, and I've read a ton of different responses -- some I've tried to implicate with no success. I'm not a professional programmer, but I thank people in this forum for teaching me so much about everything, from jquery to…

Jason Weber
- 5,653
- 6
- 40
- 73
6
votes
1 answer
How to convert an HTML page to .ASPX page and add/Remove Controls to it without changing the layout of the page
Hello I'm a newbie for ASP.NET
I have a designed html page from another program, I want to convert the html into a asp.net aspx web form using visual web developer.
I have opened the page normally but it's difficult to move or replace controls in…

MFBCTRC
- 83
- 1
- 1
- 4
5
votes
2 answers
visual web developer Web service on debug HTTP/1.1 400 Bad Request
I have an .net c# mvc3 web service application developed wirh visual web developer 2010.
I am calling the web services from an android movile application.
I want to test the web services, from the eclipse emulator.
When i debug the…

Juan
- 229
- 2
- 6
- 20
4
votes
3 answers
User control vs Server control
I'm trying to understand html and asp.net.
It seems (please do correct me if I'm wrong!) that the code I write on my aspx pages on my web project are not all html. Rather, they're a code which is run by some "ASP.Net" compiler when a user makes an…

ispiro
- 26,556
- 38
- 136
- 291
3
votes
1 answer
Read XML File values and submit to web service with SOAP
I am new to Web Services. I have created a new website in Visual Web Developer 2010 Express and added a Service Reference to a site's .asmx page and have given it a namespace of BBImportLead.
The end result would be to load several customers into…

Erin
- 41
- 1
- 2
- 6
3
votes
2 answers
MVC3 app - getting "Could not load file or assembly 'System.Data.SQLite' or one of its dependencies."
The problem:
I'm building a c# 4.0, MVC 3 based web app. I'm using SQLite as a database.
When I start the app, I get this error:
Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program…

Steve
- 1,266
- 16
- 37
3
votes
0 answers
How we can utilize resize method in javascript
I am a noob in javascript so anyone please help me, When I zoomed in on the image and if the mouse out from that image it will return its original size how we did that through resize method that given in "imageviewer2.js".
The image is zoomed in…

Osaim Jaan
- 33
- 4
3
votes
1 answer
Visual Studio: Undo-redo of replace-action does not scroll editor window
I did some find-and-replace actions in my C++ code with visual studio:
only single find-and-replace actions (did not use “replace all”)
only one file affected (did not change multiple files at the same time)
thus, a very simple case!
Then I wanted…

Gerhard Wonner
- 253
- 3
- 8
3
votes
2 answers
The type or namespace name 'Transactions' does not exist in the namespace 'System' (are you missing an assembly reference?) - C# ASP.NET
We have a C# ASP.NET Web Application that uses the System.Transactions namespace.
using System.Transactions;
This works fine when developing locally - we just had to add the reference first by going to Website --> Add Reference...
The problem is…

user2178080
- 57
- 1
- 6
3
votes
3 answers
Disable first item in DropDownList
I'm trying to disable the first item in a drop-down list, which is linked to a "submit" button.
On first loading the page, I want the list to display to the first item in the list, --Select-- without being able to select it.
Following the responses…

Robert
- 5,278
- 43
- 65
- 115