Integrated Development Environment from Microsoft targeting ASP.Net applications
Questions tagged [visual-web-developer-2010]
151 questions
0
votes
1 answer
Absolute path for img and js excluding project folder name Visual Web Dev
I've this little but annoying issue in my project in Visual Web Developer 2010 Express. I'm developing a website with .aspx files located in a large folder structure i.e. www.domain.com/group1/type1/somefile.aspx, the root folder contains a "styles"…

Drakell
- 150
- 1
- 10
0
votes
1 answer
Why is a Service Reference required in web application in addition to the class library that uses the service?
I am intending to provide access to a web service for an ASP.NET web application through a class library, and have been experimenting with a simple weather service.
In case it makes a difference I am using Visual Web Developer 2010 Express.
The…

Alan Gee
- 281
- 1
- 14
0
votes
1 answer
Strange HTML Link Behavior
I was working in HTML, when I started having trouble referencing different pages, I started using data/css/styles.css and that worked fine on the page in the main directory of the Website (not inside any other folders), then when I did the same…

Kinected
- 441
- 5
- 19
0
votes
1 answer
Microsoft Visual Web Developer 2010 Express "class not registered" error when trying to open a CSS file
Visual Studio gives me the following error message when opening a CSS file:
---------------------------
Microsoft Visual Web Developer 2010 Express
---------------------------
Class not registered.
Looking for object with CLSID:…

travis
- 35,751
- 21
- 71
- 94
0
votes
1 answer
Why does the CSS editor not work?
A few months ago I imported the HTML5/CSS3 update into Visual Web Developer 2010, and after the update ended I could not open CSS files in the Visual Studio editor. When I try I get the error:
The operation could not be completed. Unspecified…

Kinected
- 441
- 5
- 19
0
votes
1 answer
Strange copying of dlls to bin when debugging
I have previously referenced an old version of a dll but have now changed it to a newer version. But for some reason it sometimes still copies the old version of the dll when debugging.
If I first clean the solution and then hit debug (F5) it uses…

ThomasD
- 2,464
- 6
- 40
- 56
0
votes
1 answer
Pre-build event command line not working when debugging
I have specified some xcopy-operations to run when building my solution. This works fine when I build my solution. But when I debug my solution by hitting F5 the pre-build stuff is not executed.
I am using Visual Web Developer 2010 Express.
Any…

ThomasD
- 2,464
- 6
- 40
- 56
0
votes
1 answer
Moving Visual Web Developer 2010 Express Project To A New Directory
I attempted to move a VWD project to a new directory but got the following error on building:
Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a…

Kevin
- 1,252
- 6
- 32
- 50
0
votes
3 answers
Could not load file or assembly 'EntityFramework (1)'
Error is as follows:
C:\Users\[username]\Google Drive\VS2010\Projects\[project name]\[project name]\Views\Show\EditOrder.cshtml: ASP.NET runtime error: Could not load file or assembly 'EntityFramework (1)' or one of its dependencies. The located…

The1nk
- 702
- 14
- 25
0
votes
1 answer
How can I tell if an .aspx page depends on a .dll in a VWD Studio 2010 project?
I've got a bunch of .aspx pages and a .dll page in a project and I'd like to move the .aspx pages to their appropriate place in our website directory structure to make it easier to edit and update the HTML.
But I suspect some of those .aspx pages…

Clay Nichols
- 11,848
- 30
- 109
- 170
0
votes
3 answers
Where should I put the code? Trying to duplicate a example in my site.
I need help understanding what goes into where in the .cs file when i am using Web Developer express 2010.
I am looking at an example on the W3 site where you enter your name and click submit and a label pops up and shows what you entered all…

user1550225
- 1
- 1
0
votes
1 answer
How do I stop Visual web developer from copying the attributes of a div to its closing tag?
When I
Right click -> Surround with -> html -> div
Everything I type after the word div gets copied by VWD to its closing tag. How do I stop it? (And why is it doing that?)

ispiro
- 26,556
- 38
- 136
- 291
0
votes
4 answers
Block selection comment for VbScript in Visual Web Developer 2010 Express
How can I comment a selected block in vbscript using Visual Web Developer 2010 Express?
Updated : I meant selecting a block and commenting every line. If I do it in Visual Studio Web Developer 2010 the comment created is for html, not for…

Jenninha
- 1,357
- 2
- 20
- 42
0
votes
1 answer
Searching nested class lists
Question on searching for records in nested classes. Here's a cut down version of my code. Hopefully it explains enough! I'm using Visual Web Developer 2010 Express.
Class
using System;
using System.Collections.Generic;
using System.Linq;
using…

Richard Whitehouse
- 679
- 3
- 14
- 28
0
votes
1 answer
Error for uploading video to youtube server through google api
This my code
upload video size 7Mb
upload video type mp4
category.SelectedItem.Text : video/mp4
if (FileUpload1.PostedFile != null)
{
HttpPostedFile postfiles = FileUpload1.PostedFile;
if (postfiles.ContentLength > 0)
{
…

Rajamohan Anguchamy
- 1,726
- 1
- 17
- 35