Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all 3509 articles
Browse latest View live

Unable to do any auto-code scaffolding

$
0
0

Hi guys,

Starting from yesterday morning, none of us have been able to do any scaffolding that involves automatic code generation in ASP.net MVC using Entity Framework with Visual Studio 2013 Update 4 (Also tried Update 5 CTP).

When we try to add a controller, it gives the following error:

Error
There was an error running the selected code generator:
'There was an error getting the type 'Dashboard.tblBulletin'. Try rebuilding the project'.

100s of builds later, uninstalling and reinstalling Visual Studio etc; to no avail.
 
This is happening on three machines, and also on a fourth which has never had Visual Studio installed.

Me and colleague both tried Visual Studio at home, and it's the same thing. This happens on any project, so it isn't linked to the project.

Is there a chance this a windows update? We've checked recent ones and can't find any related to Visual Studio 2013. We have to wait for RM (we're an RM school) to approve updates, so we haven't had the absolute most recent updates, but up until yesterday it was working fine.

Any help would be HUGELY appreciated


How to provide Updates to my .NET web application ? (URGENT !!!)

$
0
0

I want to make one executable file which will provide automatic updates to my existing web appication.

I have visual studio 2010 and having one web app. in 4 tier arichecture. 

I have many updates in my web app every day how to provide it in one executable file and just those who runs it automatic changes will happen to 

respective files or they get overwritten or whatever  needed to update it.

URGENT !!!

Adding test projects to layered Visual Studio solution

$
0
0

Hi,

I have a layered architecture Visual Studio solution. Controller project, Model project, Repository project, services project and web.MVC project.

If you want to add test projects so you can perform TDD on the code, how would you normally go about this? Would you tend to add a test project for EACH of the existing project or would you just normally add a test protect for the Web.MVC. The Web.MVC project has references to all the other projects so would you be able to test everything from here? What is the best way to go about this?

Thanks.

Question on running MSTests and breakpoints within VS

$
0
0

Hi,

I created a project and a separate test project. I added some breakpoints within the test. 

The test runs fine when you go to test run all tests, but the breakpoints are not hit.  The test produces the correct output using Trace.TraceInformation. Are the breakpoints supposed to be hit when you run tests in VS?

Thanks.

Default objects in Visual Studio for ASP.net

$
0
0

If we create a website by using the default ASP.NET Web Site template, Visual Studio adds the
default objects shown here :Accounts , App_data , Scripts , Styles , About.aspx,,,Default.aspx, , Global.aspx , Site.master and Web.config

The order of the objects listed is the order in which we  see them in the Visual Studio Solution Explorer window, . But upon opening the Solution Explorer  in the Visual Studio  4.5  I do not get to see them .How to find them

Does anybody know if it is possible to open a drawing with SolidWorks eDrawing viewer from within asp.net?

$
0
0

I'm using Visual Web Developer 2010 Express with SQL Server 2008 Express, VB.

Currently users can open PDF files to view parts.  I would like to find a way for users to open 3D models (if available) with SolidWorks eDrawing viewer (if installed on their machine).  Does anybody know if that is possible?  If so, how?  How could I detect the presence of the viewer software so I could allow/disallow the operation?

Thanks!

Visual Studio 2013 install directory

$
0
0

Hi there,

I have downloaded Visual studio 2013, but i'm trying to install it on another drive cause my C\ drive have only 32GB for windows and i have another 4TB drive for files.

But here i can't change the install directory

Is it possible to force install it on another directory ?

Cannot run any code changes anymore

$
0
0

I am using VS for my web development. at this point all I am doing is working with html and js. I am changing code and then running a page that is specified in my project web configuration. Not sure what happened, but no code changes are running anymore. It keeps running an old code. Moreover, I have renamed the main page, but its still runs, even directly from the Browser. Any idea what might have happened?

Thanks


IIS external access

$
0
0

Hello!

I am trying to publish a web asp.net application to IIS 8 and allow external access from other devices in the local network or in other networks to this web app, but it seems i can't get this to work. 

These are the steps i did:

1) I created a wep api application using the wep api template in visual studio with the autogenerated controller

2) I've edited the IISExpress applicationhost.config file and changed the binding from http://localhost:44303/ tohttp://www.mywebsite.net:8080/

3) I've changed the Project Url in Visual Studio to http://www.mywebsite.net:8080/

4) I've edited the windows hosts file adding these entries:

127.0.0.1 mywebsite.net:8080/

127.0.0.1 http://mywebsite.net:8080/

127.0.0.1 www.mywebsite.net:8080/

127.0.0.1 http://www.mywebsite.net:8080/

so now it can resolve www.mywebsite.net:8080 to localhost

5) I've published the web application from Visual Studio to c:\publish folder

6) In IIS Manager i've created a new website (name="mywebsite", port=8080, protocol=http, path=c:\publish)

7) In an elevated prompt i've used this command:

add urlacl http://www.mywebsite.it:8080/ user=Everyone

8) In windows firewall i've added an inbound rule for tcp port 8080 to accept all connections

Ok, so with all these steps i thought that i should be able to connect to www.mywebsite.net:8080 from another device like ipad or another computer in the same network, but it doesn't work.

Anyone can help me to get things working? I also would like to learn how to give access also from public networks and not also in the local network.

Thanks in advance for any help!

is visual studio community edition 2013 the same as visual studio express 2013 for web

$
0
0

Hi,

When community was announced I downloaded and installed it, just noticed I am missing a few features, from watching a training video, and checked my about.

Am very very happy with this edition, so not worried if community was a marketing scam, it certainly encouraged me to update, just wondering if I am actually running the right piece of software or if Microsoft had a duff download package at some point and I installed and went with it.

Once again, very happy to have been duped into moving forward from 2010 to this 2013, just asking

Jason

Visual web developer

$
0
0

when I create new project in visual web developer I see only project in solution explorer. I do not have option to right clisk on solution to add another project. I see only project. why is that so?

VWD WCF

$
0
0

Hi

I was working with wcf in visual web developer 2010. I created a web application and then from the context menu I added new item and selected "wcf service" from templates. I want to do the samething with class library. I created class library and them from context menu when I am trying to add "wcf service" I do not see the template itself. Is there anyway I can add "wcf service" to templates when I am creating class library project.

thank you

Visual Studio 2013 - CSS editing

$
0
0

I just switched from Visual Studio 2012 to 2013.

Editing CSS code in 2012 always showed me the ‘style’ in the ‘Properties’ Windows on the bottom right, where I was able to adjust the CSS attributes.

Now in Visual Studio 2013 the ‘Properties’ Window on the right is empty, as soon as I open a CSS file. No ‘style’ element is present in 'Properties'.

How do I activate it?

Or has this feature been replaced by a more advanced feature?

Patrick

Visual Studio 2012 and right click include in asp.net project

$
0
0

Hi

I have a page that I create programmatically but it is not included in my project. Meaning it is hidden and I have to click on the show all files to see it.  I need to include it in project before the page works. How do I code the - right click include in project.

Thanks

Listview Linkbutton disable by VB

$
0
0

Hi,
I got a list view table with LinkButton in the cells like:

<asp:ListView ID="Usr_Packages" Runat="Server" DataKeyNames="Package" DataSourceID="Usr_Pkg_Src" EnablePersistedSelection="false" ><LayoutTemplate><table  class="ListviewTable" border="1" contenteditable="false" style="width: 590px;"><tr> <th style="font-family: Arial; font-size:14px; font-weight: bold; width:50px">Zn</th><th style="font-family: Arial; font-size:14px; font-weight: bold; width:150px">Rgn</th><th style="font-family: Arial; font-size:14px; font-weight: bold; width:150px">Mkt</th><th style="font-family: Arial; font-size:14px; font-weight: bold; width:150px">Pkg</th></tr><tr id="itemPlaceholder" runat="server" /></table></LayoutTemplate><ItemTemplate ><tr><td><asp:LinkButton ID="Btn_Zn_Rvw" runat="server" Font-Size="14px" Text='<%#Eval("Zn")%>' onclick="Btn_Zn_Rvw_Click" PostBackUrl='<%#"~/Membersites/Cpx_Review_09_Zn_01.aspx?Zn=" + Eval("Zn")%>'></asp:LinkButton></td><td><asp:LinkButton ID="Btn_Rgn_Rvw" runat="server" Font-Size="14px" Text='<%#Eval("Rgn")%>' onclick="Btn_Rgn_Rvw_Click" PostBackUrl='<%#"~/Membersites/Cpx_Review_09_Rgn_01.aspx?Rgn=" + Eval("Rgn")%>'></asp:LinkButton></td><td><asp:LinkButton ID="Btn_Mkt_Rvw" runat="server" Font-Size="14px" Text='<%#Eval("Mrkt")%>' onclick="Btn_Mkt_Rvw_Click" PostBackUrl='<%#"~/Membersites/Cpx_Review_09_Mkt_01.aspx?Mkt=" + Eval("Mrkt")%>'></asp:LinkButton></td><td><asp:LinkButton ID="Btn_Pkg_Inpt" runat="server" Font-Size="14px" Text='<%#Eval("Pckg")%>' onclick="Btn_Pkg_Inpt_Click" PostBackUrl='<%#"~/Membersites/Cpx_Page_02_Inpt.aspx?Pkg=" + Eval("Pkg")%>'></asp:LinkButton></td></tr></ItemTemplate></asp:ListView> 



Depending on certain conditions I want to enable or disable those linkbuttons at column level (not on row level).
I tried a lot but ...


Any hint appreciated
regards
lucio


Can't publish to Azure from VS 2015 CTP 6

$
0
0

Hi all. I'm trying to publish a website from Visual Studio 2015 CTP 6 to Azure websites. It first asks me to log on, but it doesn't have my Azure username in the popup; it has the default profile username. I provide my Windows Live username and password, which are associated with this Azure web site with role "Contributor". 

However, the publish doesn't succeed and gives error:

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
grunt-cli: The grunt command line interface. (v0.1.13)
The 'prepare' script failed with status code 99.

In Server Explorer, I right-click on "Azure" and choose "Connect to Microsoft Azure Subscription". I provide my credentials, refresh it, and it still doesn't show any sites under the "Websites" area. What am I doing wrong in this process? Thanks for your help.

Differnce between Visual studio 2010 and 2013

$
0
0

Hi All can anyone please explain briefly about visual studio 2010 vs 2013.

and, from 2010 if we converr 2013 wat will happen on migration.

load testing user authentication

Website Publishing from Visual Web Developer Express 2010 to IIS on Windows 8.1 Pro

$
0
0

Publishing a website from  Visual Web Developer Express 2010 to IIS on Windows 8.1 Pro almost works.  I built, debugged and tested a simple website with C# as the code behind language in a project development area under my documents.  When I tried to publish it to IIS, everything went over except the .cs code behind files.  After I manually copy the ,cs files over, my IIS hosted website worked fine.  What do I need to do to get the .cs files(all files actually) to go over as well?  Thanx...

CTRL K CTRL D not formatting tags in form view templates?

$
0
0

Hi,

Why CTRL K CTRL D not formatting tags in form view templates?

Be it edit, insert or item templates.

I tried all the "Target Schema for Validation" available, none of them work.

I'm using Visual Studio 2010 Professional, Version 10.0.40219 SP1Rel.

Anyone else having this issue?

Viewing all 3509 articles
Browse latest View live




Latest Images