Visual Studio :: Running Website Windows 7 Professional 64 Bit / On Loading Up A Website Project Getting Error?

Mar 6, 2010

I have a new development machine running windows 7 professional 64 bit. On loading up a website project Im getting this error

'The Web Application Project 'websitename' is configured to use IIS. To access local IIS websites, you must install IIS components:

IIS 6 Metabase and IIS 6 Configuration Compatibilty

ASP.net

Windows Authentication

In addition you must run Visual Studio in the context of an administrator account

As far as Im aware, I am an administrator of my own pc and I have the .net framework installed.

View 4 Replies


Similar Messages:

C# - Disable Script Debugging In Visual Studio 2010 When Running Website Project?

Apr 1, 2011

I'm creating a website in Visual Studio 2010. I would like to use Visual Studio for C# debugging, but it also uses Visual Studio as JavaScript debugger. Is there a way to disable script debugging for Asp.Net website projects? I run my projects by hitting F5 in my Visual Studio. (I've noticed that when I attach the debugger manually, I can specify the type of stuff I would like to debug.) Note: I would like to debug, but not with Visual Studio. The developer toolbar is enough.

View 3 Replies

C# - Migrating From Website Project To Web Application Project In Visual Studio 2010 Causing All Controls To Throw Error?

Mar 29, 2011

I recently updated my VS2010 website project from .NET 3.5 to 4.0. Everything was working fine in the website project. Today I decided to migrate the website to a web application project as I have learned this is the best way to work in .NET. I split out all my class files into a separate class library and copied all my other content into my new project. Then I updated all the references and web.config.

When I build the class library, everything works great. The problem is happening when I try to build/debug the web application project. It is acting like all the controls are missing and it is also throwing a bunch of compile errors about the public properties I have in my master pages.

Control errors: "The name 'INSERT CONTROL NAME HERE' does not exist in the current context"

Master page errors:'System.Web.UI.MasterPage' does not contain a definition....

It is giving these errors for every single control and master page property in my entire solution.I notice when I add a new web.form to this project, it also adds a filename.aspx.designer.cs file in addition to the .aspx and .aspx.cs file. My existing files do not have these extra files since they were created in a different .NET version.

UPDATE: It seems I was missing the step where I need to right click on the new application folder and select "Convert to web application". I just did that and it seems to be a little bit better...

Now it is choking on Literals that are inside single quotes:

<div class='<asp:Literal ID="CssClassLiteral" runat="server"></asp:Literal>'>

It doesn't see this literal when it does the conversion... Is the above valid code or should I implement that functionality another way?

View 1 Replies

Visual Studio 2008 - Website Running In IIS - Point The Website To Use Cassini?

Feb 7, 2010

My client gave me this web solution, in it various projects, and the problematic project (for me) is the Web Site.

I've copied the code to test web server (2008) and installed VS 2008 so I could step through the code on the server due to some weirdness.

Anyhow, when I open the solution locally on my personal computer, it runs on Cassini [URL] because I'm not on a server OS. However, when I run the app on the web server, when I hit F5, it runs oh [URL].

When I'm running the code on the server, how do I point the web site to use Cassini?

View 1 Replies

Web Forms :: Visual Studio 2008 Professional Not Giving Option For Creating New Website?

Mar 29, 2010

I am currently using VS 2008 Pro for an ASP.Net class. I got VS from school as part of MSDNAA program. It is version 9.0.21022.8 with .NET framework 3.5 SP1.

My problem is that when I start it up, it does not give me the option to Create or Open a Website. It only gives me the option to Create or Open a Project. So, when I start my homework or in-class assignments, I have to press Shift+Alt+N to Create a Website.

Where the problem comes in is after I start working on the website, I hit Save and it changes it to a Solution. This seemed to have caused a problem with BIND commands being lost in my last homework assignment. Is there something wrong with my install or a setting I can change? I'd rather not reinstall it unless I have to since it is such a pain to uninstall it in the first place.

View 2 Replies

Visual Studio :: Visual Studio Hangs When Create A New Website Or Project

Sep 2, 2010

Just as the subject says, my VS'05 installation hangs when trying to create a new website. I even installed a fresh version of VS08 along side '05 and '08 is doing the same.

View 9 Replies

Visual Studio :: Unable To Connect To Development Server On Running Website

May 12, 2010

I have VS 2008 with SP1 installed on Win XP. I have .NET 3.5 with SP1 installed When I ran and opened an existing project for the first time, I got the below error WebDev.WebServer.exe has encountered a problem and needs to close. After this error, I continusly get "Unable to connect to the ASP.NET Development Server. whenever I run the website. I checked the internet and ASP.NET forum and tried all the following Making port numbers auto assign Making it to a specific port number using the Custom web server Tried creating new web site and checking Replaced WebDev.WebServer.EXE after downloading it from a website My anti virus have not blocked any websites as such I tried resetting VS settings by running devenv /resetsettings what else might be the problem?

View 7 Replies

2 Browsers Open In Visual Studio WebSite Development When Running Without Debugging?

Jan 19, 2011

In Visual Studio, when I click > Debug, > Start Without Debugging, (with my default browser set to IE), the application starts but it opens 2 IE browser instances. It opens 1 IE instance to start BUT when I close it, it launches another browser instance with the same start page. This bug is repeatable and consistent behaviour, that I can reproduce on-demad in IE.

(In some other minor variations, it seems that depending upon exactly how I start it, it will open 1 browser instance with 2 tabs, each tab having the startup page in it. However, this is not yet repeatable or consistent. It has happened; but, as of now, I am uncertain as the the exact steps to reproduce this particular variation of the anomaly.)

I am using Internet Explorer 8 (IE8).

I am using on Windows 7 32-bit.

I am using Visual Studio 2008 Standard.

I only have 1 startup project defined in Solution properties.

I have all Toolbars And Extensions set to "Disabled" in IE.

I have turned off "Automatic Crash Recovery" in IE.

(This does NOT happen in FireFox.)

View 2 Replies

Visual Studio :: Difference Between Project And Website

Apr 1, 2010

In visual studio 2005

File -->New --> Project / Website .

What is the difference between this project and website.What we can do using project and with using website.

View 4 Replies

Visual Studio :: One Project In Solution Opens As Website Not Web App?

Feb 24, 2010

this seems to be a problem only on my new PC, not my prior PC or my coworkers PCs. But, as far as I know, I have installed VS2005 the same way, including the VS80-KB915364-X86-ENU.exe and WebApplicationProjectSetup.msi additions.

I have a VS2005 Solution called 'Intranet' made up of several web projects. One of those web projects is also called 'Intranet'. All of the projects should load as Web Application Projects, which they did on my prior PC.

Now, the 'Intranet' project seems to be opening as a Web Site project. The name of the project in the solution now shows as "C:...Intranet" instead of just "Intranet" and is not recognized as being part of the SourceSafe project(no lock icon shows). If I right-click this project, "Build Web Site" is one option.

View 3 Replies

Visual Studio :: Adding A Web Deployment Project To The Website?

Jan 16, 2010

i have a project which runs fine when I build it and run it. But when I add an web deployment project to the same, it throws out a "server block is not well formed" error in Default.aspx page

through googling i found out that it may have something to do with page/server directives. but i cant figue out what is wrong with this code.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="KnowledgeBase.Web.UI._Default" %>

View 1 Replies

Visual Studio :: Building A Project From Website Files?

Oct 30, 2010

I have been asked to do some work on a website. I downloaded all of the files and chose "open website" in Visual Studio. In the picture below you can see the file structure. When I run the project I get some errors such as "could not load type 'AdminSite.Partner.Listing" or "file project/adminmaster.master does not exist'. Now, those files are indeed there. I have noticed that within the Admin folder and the Home folder there are compiled DLLs in the bin folders. Also, there are project files within each of those folders. I've tried opening the project files and the projects only encompass the files within each of the Admin and Home directories respectively. I'm just wondering what the best way is to set up this solution. As I've done so far, by opening it as a web site, why is it not seeing the DLLs in the bin folders when I run it? Do I need to reference them somehow?

View 5 Replies

Visual Studio :: Find A Website Project References?

Mar 17, 2010

I want to convert my website project to web application project. First things I need to add references to new web application project. When I click "Show All Files" from Solution Explore, web application shows References Node. However, Web site project does not show References node. How can I find what references in my web site project?

View 3 Replies

Visual Studio :: Convert Single Project Website Into Using Multiple?

Jan 9, 2011

My website uses a single project solution. Each web page file consists of C# code along with the markup. I now have to separate the code from each page into code-behind files that must be combined with many different versions of the markup. I assume this means that I will need a solution with a common project of code-behind files that is merged with a project of each version of the markup files in order to create different websites. I need to know how to organize the solution for debugging and building each website and where to place each file.

View 1 Replies

Visual Studio :: Enable .asp Files In 2010 Website Project?

Nov 11, 2010

how I can enable .asp files in a simple VS2010 Website project? For example: Start VS2010 Click "File/New Web Site..." Accept defaults Add an html file called "Test.asp" Attempt to open Test.asp (debug project with that file active) and you get the following error: "This type of page is not served. ... is not server because it has been explicitly forbidden. The extension '.asp' may be incorrect " SO, HOW DO I EXPLICITLY ALLOW IT? VS2010 is using the ASP.NET Development Server....

View 2 Replies

Trying To Design Online Shopping Website As A Project Using Visual Studio?

Oct 18, 2010

Im tring to design online shoping website,,as a project in the college .. in this website i want to do the payment using credit card..and that also will be with the help of mysql server so I want to know the about the way or the idea about it my qusion is..

View 4 Replies

Website Project To Reference A Signed Assembly In Visual Studio?

Mar 30, 2011

I'm aware of the following two different types of web projects in Visual Studio 2008:Website projectWeb application projectA web application project can reference a signed assembly as long as the web application's assembly is also signed with the same key. However, this doesn't work with the website project because there is no place to sign an assembly. I think this is because the assembly is compiled dynamically on the server?

Anyway, is it possible to get the website project working with this signed assembly? Or will I have to convert this website project into a web application project?Edit:The following situation has required me to ask for clarification in this matter:I have a class library that is being referenced by several other projects in my solution in Visual Studio. One of the projects is a windows application that will be deployed to specific external users. In order to make sure that the application is using the correct assembly and to also prevent others from using the assembly (I am aware of the limitations with respect to its effectiveness), all assemblies have been signed and all the classes in the library are declared as Friend (internal).

The website project doesn't seem to have a way for me to sign its assembly and I get the following message when attempting to use anything from the library: "CLASS is not assessable in this context because it is 'Friend'", which is to be expected.The following attributes are inside the AssemblyInfo.vb file in my class library project:

<Assembly: InternalsVisibleTo("OtherProject1, PublicKey=AAA...")>
<Assembly: InternalsVisibleTo("OtherProject2, PublicKey=AAA...")>
...

My Conclusion:Looks like the cleanest way to do this would be to convert the website into a web application but this would require a bit of time to do since our site is pretty fleshed out already and as pointed out in other discussions, can be quite a pain to do. Going forward, I think creating a web application in the first place may have been a better idea and much more flexible for future development.

View 3 Replies

Visual Studio :: Add A Unit Testing Project In C# To For A Website Written In VB?

Mar 2, 2010

I want to create a unit testing project for my existing websiet which is written in VB. When I try to add a unit testing , no place I can select c#. It always create in VB. How can i add a c# unit testing project for it?

I am using visual studio professional 2008

View 2 Replies

Visual Studio :: Debugging A Website Really Slow Since Upgrading To Windows 7?

Jul 16, 2010

I recently upgraded to Windows 7 Ultimate on my work computer. Before this debugging a website in Visual Web Developer 2008 was really fast - the page loaded up like a normal website would.

Since I've upgraded to Windows 7 the page loads like normal but gets stuck for about 30 seconds at the end of the load - this is slowing me down as I normally need to use the FireBug tool as soon as the page has loaded.

View 4 Replies

Visual Studio :: Windows XP Crashes On Building Website In VS2008?

Mar 24, 2010

I am ruuning VS 2008 on Windows XP Service Pack 3. The problem I am facing is that my windows crashes after a blue screen whenever I run a website in VS2008.Its only with websites projects in VS2008 but not with WinForms projects. WinForm applications running without any problem.This happens in this sequence that when I run the project, it starts, debugs and port is opened for my project (a popup that comes right near the system clock in taskbar) and suddenly after that a blue screen comes and Windows restarts. After restarting,
a message comes that system has been recovered from a serious, send report to Microsoft blah blah blah...Can anybody figures it out what problem there can be?

View 4 Replies

Visual Studio - Way To Create Project From Existing IIS Website, Building Stuff

Sep 27, 2010

I'm left maintaining a proprietary codebase from a third-party vendor. The vendor is still sort of around, but support is limp. The site is ASP.NET.I have made some changes but I am having a really hard time getting IIS to compile these changes in. The bin/ directory has what I believe is a precompiled dll for the core classes. I've changed these but it doesn't recompile. I have tried deleting the dll but then the app refuses to build saying that the Global.asax can't inherit the type anymore, so I don't really know how to rebuild with changes.

View 3 Replies

Visual Studio :: Publishing Website And Windows Server 2008 IIS Setup?

Jan 26, 2010

I have created a web app using Visual Studio 2008 Express Edition and have come to the point where I need to publish the site onto my server (which is running window server 2008). I found that the publish function is not limited in the express edition, so published the app to a local file and FTP'd the contents across to my server. I then setup a website through the servers IIS manage and pointed it to the folder containing the FTP'd files.

My question is, how do I run the app? Do I need to point to a specific file?

I have tried to view a number of the files in browser directly from the IIS but keep getting the same standard connection error i.e. "Internet Explorer cannot display the webpage"

I have never used IIS Manager before and I can't find a resource which gives me a step by step guide to setting up a new site which has been created by Visual Studio 2008 Express Edition, are there any config changes needed.

View 3 Replies

Lost Visual Studio Project File On An Existing Databas Driven Website?

Mar 28, 2011

I have been asked to take over and modify an existing dynamic web site made with vb and asp 3.5 on a shared hosting enviroment. The original programmer left and I have no access to the original documentation of the site, if any. Nevertheless, I have complete access to the web server and database server.

How can I import the existing wen site into Visual Studio and recreate the development enviroment.

I'm new to asp.net, but U have prior experience with VB and asp web development.

View 3 Replies

Visual Studio :: Browsing The Website Error - An Error Occurred During The Processing Of A Configuration File

Jun 9, 2010

I have a website on visual studio 2008 on my local machine. When I run through the debugger I get the following error, however when I browse the same website through the IIS manager (running IIS7.5), I can browse it. What do I need to fix to run it through debugger? The website is set as an application.

Error:

Configuration Error

Description:

An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.

[Code]....

View 2 Replies

Visual Studio 2008 - How To Resolve Build Error In Asp.net Website

Jan 31, 2011

I have one text box control on aspx page in my .net application.

and in code behind on page load event i wrote:

txt.Text = "Sample"

Now if build website on system [ windows XP ] it build properly but on system [ Windows 7 Enterprise ] it showing following error:

" Name 'txt' is not declared "

What would be the reason.Is that environment specific problem.I am using VS 2008.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved