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

Debugging dll source code

$
0
0

Hopefully have the correct forum.  Probably a beginner question, but I've been given a web solution with a source library separately.  How do I include the source library in Visual Studio so that I can debug it? 

I think I am setting the debug parameters correctly since it is opening the web application, but it won't hit the breakpoint in the .dll. 

I'm sure it's something simple, but after working on it awhile I'm at a loss.  Thanks for any help.


Does Visual Studio 2010 Pro (Academic use) Include Web Development?

$
0
0

Hi guys,

Sorry if this is a very obvious question.

I'm used to using Visual Web Developer 2010 Express. As a definite fix to some of the issues I'm having copying my files to a live web server, I'm thinking of biting the bullet & forking out for an (academic use version) of Visual Studio 2010 Pro.

I just wanted to make sure that this is a version for web development as I haven't been able to find a definite answer to this question.

For example, in the Express Editions, you use:

Visual C# 2010 Express – building web forms.

Visual Web Developer 2010 Express – building web apps.

Thanks,

Dan.

I can't make a connection between SQL Server and Visual Web Developer

$
0
0

Hello.

There's an error occuring when trying to make a data connection .. The error is:

This server version is not supported. Only servers up to Microsoft SQL Server 2005 are supported.

Can I install Microsoft Visual Studio Express 2012 for Web

$
0
0

Hi all,

I have VWD 2005 and VWD 2010 already installed in my system with SQL Server 2005..

Now I want to install Microsoft Visual Studio Express 2012 for Web..

Will It be compatible with other versions.. Will it affect my sql server.. Can i Proceed??

Unable to deploy Razor Web Site (Web Pages project) to IIS 6

$
0
0

I've been tearing my hairs out over this one. Found many similar references on the internet, but nothing seems to help me.

I just keep on getting "Directory Listing Denied" when opening the website, and "This type of page is not served" when requesting a specific .cshtml file.

What I do is the following:

  • In Visual Studio 2010, I select File > New Web Site > ASP.NET Web Site (Razor)
  • Following http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx, I selected "Add Deployable Assemblies" and choose "ASP.NET Web Pages with Razor syntax".
  • I published the site to C:\inetpub\wwwroot\WebSite.
  • In IIS7 on my development machine (Windows 7), I converted the published folder to an application, and set the application pool to "ASP.NET v4.0".
  • Testing localhost/website, everything works fine.
  • Then I copied the whole folder to the remote machine, which runs Windows Server 2003 and IIS 6.
  • In IIS6, I created an application of the folder, and assigned a .NET 4 application pool.
  • I set the Wildcard Application Map of the folder to aspnet_isapi.dll with no verification.
  • When I open the website, I get a "Directory Listing Denied" error message.
  • When I try to open the Default.cshtml file, I get a "This type of page is not served".

It seems to me that all the required DLLs are included in the Bin folder (included by the "Add Deployable Assemblies" option):

  • Microsoft.Web.Infrastructure
  • NuGet.Core
  • System.Web.Helpers
  • System.Web.Razor
  • System.Web.WebPages
  • System.Web.WebPages.Administration
  • System.Web.WebPages.Deployment
  • System.Web.WebPages.Razor
  • WebMatrix.Data
  • WebMatrix.WebData

The .NET versions reported on the "This type of page is not served" error page are: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272.

What am I overlooking?

<div></div>

Can i add a PHPBB Forum to my website?

$
0
0

Hey everybody. So i am making a website in Microsoft Visual Web Developer 2010 Express and i was looking into how to make a forum on my website, when i stumbled across PHPBB, a free, open-source software that can be used to create forums (for example, the forums over at PlanetMinecraft.com use this in their forum section). I was wondering if it was possible for me to do this (i.e. To still keep the rest of my website in VWD 2010 Express but then add in the PHPBB bit onto a forum section of the website). So technically, i want to add PHPBB to my VWD 2010 Express website WITHOUT creating a completely different website. Any suggestions about how i can go about doing this (i'm pretty sure this is possible, because this is what it's like on PlanetMinecraft.com and i've looked all over the internet for tutorials but nothing's came up).

Thanks in advance! :)

Visual studio 2012 very slow

$
0
0

OMG my VS2k12 is very slow. 

Is there any way to fix that?

Is it the final version already?

thx

ANderson

VS2012 Express for Web Very Unstable

$
0
0

Yesterday I installed the VS2012 Express for Web.  I can only work in it for about 1/2 hour when all windows start jumping around and then the computer crashes.  When the computer crashes I see the DOS dump of memory.   The computer has 4 GB RAM, runs Windows 7 Professional.

Is there a solution to this problem?  Thank you in advance.


How can i add apps from the Web Application Gallery into my website?!?!

$
0
0

Hey everybody. So i'm making a website in Microsoft Visual Web Developer 2010 Express and on the start screen, it gives me the option to 'Jump start your website from Web Application Gallery'. When i open the gallery, it shows me the top 5 most popular web apps. I see PHPBB Forum software on there, so i download it. But how exactly do i get it to work/add it to my website? Because i also want the .DotNetNuke CMS. Is it possible to add both of these (or any of these) to my website whilst it's still in development?

FTP and my site…

$
0
0

Hello to All,

So, I have my main site which is a BlogEngine pointing to my main domain.

This is a newbie question:

Using Visual Studio 2010, I'm connecting to my site through FTP… Can I create a new folder/directory and then create standalone webpages inside this new folder/directory without having BlogEngine throw a conniption fit?

Will I first have to create a new master page, then create new pages and select the checkbox that says select master page that way these pages use that master page? That way these pages don't try to use the information that for the blog.

I know I probably just answered my own question, but… I just need to be sure, I'm used to using Linux and WordPress.

Unable to migrate a web form project to VS 2012

$
0
0

As my understanding, VS 2012 support ASP.Net web form project type.  However, I get the following error when trying to open a web form project created by VS 2010:

Unsupported
This version of Visual Studio does not have the following project types installed or does not support them. You can still open these projects in the version of Visual Studio in which they were originally created.
	 - MyApp

No changes required
These projects can be opened in this version of Visual Studio without changing them. They will continue to open in Visual Studio 2010 SP1 and in this version of Visual Studio.

Another web form project has been migrated to VS 2212 without any problem.  Could anyone provide a tip on how to find the exact cause of the problem?

Deploy Visual Studio 2010 via AD and GPO

$
0
0

Hi All,

I want to install deploy visual studio professional edition 2010 and SQL server 2008 via Active Directory and GPO. 

I tried to do that by giving shared path of msi but it is not working. 

Can any one provide me step by step method to do so...  

Thanks,

ASP.NET Web Site Administration Tool Error

$
0
0

I am creating a website in Visual Web Developer 2012, and I have a login page, so I am using the ASP.NET web configuration tool provided in VWD. When I open the tool in my web browser, everything loads fine, but when I go to the security tab at the top of the page to set roles and allowed users on my website, it gives me the following error:

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database.

I know most of you want my web.config file, so it is provided below.

<?xml version="1.0"?><configuration><system.web><compilation debug="true" targetFramework="4.0"/></system.web></configuration>


I know the answer to this involves connecting to a database, but I'm not quite sure how I can do that. I do have Microsoft SQL Server Express installed and set up, but I have no clue how to connect to it from ASP.Net. Thank you in advance.

Errors on basic classes after 2012 migration

$
0
0

Hi,

I have opened our asp.net 3.5 website on a Windows 8 64bit 2012 VS Ultimate (formerly 2010 on Windows 7 32bit VS 2010 SP1) and it has migrated the project. Gave me the Upgrade Report with only 2 warnings - no errors.


Now when I open the project I get errors on the most basic classes like DateTime or HTTPCOntext:

"DateTime is not declared" or "HTTPContext was not declared"

I have checked all the references to the DLLs etc but can't see the problem.

I want to run the website on 3.5, not 4 or 4.5 so its not a real migration IMO.

Any ideas?

Thanks!

migration to vs 2012 test project error

$
0
0

I tried to migrate  Framework 4.0 to 4.5. Everything works fine, but  i get this error on the test project.

Test Failed:" The current test instance has a TestContext that does not have a known result member.  This is not supported. Check that you are using the Visual Studio unit testing framework."

 

I tried to use  Microsoft.VisualStudio.QualityTools.UnitTestFramework from Framework  4.0 and 4.5, neither works.  Please, help.

 


Migrating from .Net 1.1 to .Net 3.5

$
0
0

Hello there,


I am trying to migrate the codes from .net 1.1 to make it working in .Net 3.5

Most of the files I am trying to convert is .ascx extension files, and I am using Visual Web Developer 2010 Express for my coding.

Could anyone here please help me to start with migration.

Thank you!!!

only show one solution in when undo pending changes

$
0
0

Hi 

Inside VS 2010 Ultimate / TFS 2010 I click undo pending changes, this gives me a list of files for multiple solutions, which I do not want. I only want it to show me the files for the current solution that is the solution that is open. 

How to do this. 

PLEASE HELP!! :( VWD 2010 Express or WebMatrix?!?

$
0
0

Hey everybody. I have Microsoft Visual Web Developer 2010 Express and Microsoft WebMatrix (i might as well also mention that i have the Microsoft Web Platform Installer). I want to make a website using the free, open-source applications from the Web Application Gallery. I don't know if i make my website in WebMatrix or VWD 2010 Express. What's the difference? I tried using WebMatrix but it turned out too complicated and i honestly couldn't work out how to use it, but i like VWD because it's user-friendly and it's mostly basic coding and drag-and-drop'ing tools and features into web pages. But when i want to download an application from the Web Application Gallery (and then download it from the Web Platform Installer), it opens in WebMatrix and i can't figure out how to just put a forum application or CMS into VWD?

Please help! 

ASP.NET development on Windows 8 PCs

$
0
0

I've had my head down for a couple of years, blithly developing web apps using VWD 2008 Express and PC apps using Visual Studio 2005.

Thanks to a computer crash, I am now trying to create a workable and sane development environment on a Windows 8 PC.  My first priority is to port my earlier development projects to this platform.

For starters, I downloaded and installed VWD 2008.  This turned out to be incompatible with IIS 8 that comes with Win 8 PCs.  After reading the fine print, I see that neither VWD 2008 Express nor VWD 2010 Express are listed as being compatible with Windows 8.  So I look again at the VWD and Vis Studio lineup, and I see:

Visual Studio Express 2012 for Web
Visual Studio Express 2012 for Windows 8
Visual Studio Express 2012 for Windows Desktop
Visual Studio Express 2012 for Windows Phone

I am assuming that with VSE 2012 for Web I can continue working on projects that I have built using VWD 2008 Express on a Vista PC.  Can someone confirm that this is true?

I am also assuming that with VSE 2012 for Windows Desktop I can can continue working on Windows Forms projects that I have built using Visual Studio 2005.  Can someone confirm that this is true?

I have Visual Studio 2005 on a CD.  Is this useable on a Windows 8 PC?

Thanks for any guidance you can offer.


Update 1 : I installed VSE 2012 for Web.  It installed IIS Express (I had previously 'installed' IIS 8 by using "Turn Windows Features On and Off").

It appears that IIS 8 Sites are referenced by http://localhost (which seems to default to localhost:80) whereas IIS Express Sites are referenced byhttp://localhost:8080  Also, it seems that to create a new ASP.Net Web Forms Site under IIS,  you must Run VSE as Administrator. 
Question:  How can you set "Run as Administrator" permanently for an application?  As far as I can tell you must do this each time you launch the program.

After using VSE 2012 creating a simple website under IIS, I found that you can't debug it and you can't run it.  Very nice. 
Question: Just why do I want IIS 8 on my PC?

After creating a simple website under IIS Express, I found that you can debug it and you can run it.

Update 2:

Using "Turn Windows Features On and Off" I 'removed' IIS 8 from Windows.  But it's still there.  Still doesn't do anything for me except make 'localhost' unavailable to IIS Express (I have to use 'http://localhost:8080' to get to IIS Express sites). 
Question: I assume that somewhere a default for 'localhost' is set to 'localhost:80'.  Is there a way to change this to 'localhost:8080' ??

Meanwhile IIS Express seems to be contained in folders under My Documents (strange), and I can find no way to configure this software.  IIS, which does nothing for me, remains available under Control Panel > Administrative Tools and is highly configurable even though unusable.

I will continue to update this thread as I discover more about using this wonderful new OS.  Maybe it will help someone somewhere.

 

 

RE: Re: Empty folder can&#39;t copy to compiled web application&#39;s folder

$
0
0

Hi,

I have a problem like:My project have some empty folder, when I compiled the project , these folder can't copy to the new folder which compiled use Visual Studio 2010 Ultimate

Wating for answer ,thank you.

Viewing all 3509 articles
Browse latest View live




Latest Images