Visual Studio :: Cannot Open Web Projects Configured To Use IIS
Jun 23, 2010
I constant get the following error when I try to load existing web project in Visual studio
"The Web Application Project is configured to use IIS. To access Web sites on the local IIS Web server, you must run Visual Studio under an Administrator account."
It started happening after I had to re-install IIS because of metabase corruption. I have already tried following
1. create and re-create application in IIS
2. register aspnet using aspnet_regiis
3. I am already member of adminstrators group I also added aspnet to administrator group, no luck
4. I have tried repairing Visual studio 2008 and still same issue appears
I am using XP SP3, Visual Studio 2008 Team System and IIS 5.1. I have Visual Studio 2005, Visual Studio 2008 and Visual Studio 2010 installed on my machine.
View 6 Replies
Similar Messages:
Mar 30, 2011
I have copied my asmx hello webservice to a remote server where I tried to open the project I have this message. That I answer yes or no it cannot open the project VS stays blank.Originally I think I have clicked on associate this project with IIS Express. Now I don't know how to revert this.
View 2 Replies
Jan 31, 2011
I just moved to a new PC and installed VS 2010. I copied all of my websites over from the old machine and now when I open the old websites on the new machine, they do not show up in my recent projects list on the start page. New websites that I make do show up there but the old ones do not. This is very inconvenient. Is there a way to make old projects that I open show up in the list?
This brings up another question. Is there a way to make a shortcut that will open VS2010 up with a website already loaded so that I don't have to go through the file open dialog every time?
View 3 Replies
Jun 7, 2010
I have a multi-tiered application. I would like to publish the class libraries to UI developers to let them add to their web or windows projects to add all the functionality.
I would like to restrict access so only a certain project can be referenced. The reason is so that they do not refer to the data access layer directly and start making calls that would bypass the business logic built into the business tier.
UI->>Business Logic->>Data Access
So in other words, BL and DA are deployed as compiled assemblies. BL references DA. UI will reference BL, but I would like to strictly prevent any other project from referencing DA directly.
View 1 Replies
Jan 18, 2010
This is getting me a little frustrated, and I looked around the net for the solution and was not able to find any as of yet.I'm trying to have Web Deployment projects in VS 2010. I have it installed for VS2008, but I was not able to find anything to install for VS 2010.I basically want to merge all outputs to a single assembly in 2010. How do I do that??
View 5 Replies
Nov 16, 2010
I know that I can add more than one project to a solution, but I have a load of pre-developed projects that I want to add and rather than going
Add > Existing Project > Navigate to folder > click on project file
I wondered if there was an easier way to add lots of projects at once.
View 1 Replies
Jul 22, 2010
I recently got a new PC and had all my development tools installed/configured, including Visual Studio 2003 (for support of older apps) and IIS. When working on web projects in the past, I would open the project via File->Open->Project from Web.The defaultURL is http://localhost, as it was on my old PC. When I click OK, no web projects are showing, even though I've setup a few asp.net web projects in IIS. To set these up, I moved the project to c:inetpubwwwroot<project name>, then go into IIS and change the folder to an app, and select 1.1 under the asp.net tab. I've also made sure the Frontpage server extensions are installed.I can open the project by using File->Open->Project, but I get "Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server".I found several articles online addressing this and have made all suggested changes but so far nothing has worked.I feel that if I can get the project to show/open as a web project it will resolve this issue as well.
View 3 Replies
Sep 29, 2010
How do I set the number of Most Recent Projects displayed. I have tried the obvious -- Tools-Options..... but I cannot see it.
View 9 Replies
Oct 20, 2010
I'm trying to share settings between two projects: a console app and a WPF app. The WPF app only exists to view and change those settings.
So in my console app, I wrote the following class...
[Code]....
My WPF app has a reference to the console application, so it can access the members of this Settings class.
So you'd think that if I use the WPF app to change one of these settings, then the next time I run the console app that changed setting would be available, but that is not the case. I'll change the masUserID setting from Bill to Ted, for example, but when I launch the console app it shows the setting is still Bill. If I run the WPF app, it's set to Ted.
View 1 Replies
Apr 8, 2010
Does anyone no why web.config transforms are not available for Web Site Projects in VS2010. I thought that Web Site Projects where once introduced as the successor of Web Application Projects. But now the lack the deployment feature which I would really like to use.
Maybe someone knows a workaround, without having to convert 70 websites? Converting to Web Application Projects isn't a real option because I use Table Profile Provider by Hao Kong, which doesn't work with this type of project.
View 4 Replies
May 8, 2010
I started work for company i they have older asp.net software with .net 2.0 framework. I want to create a new project with 3.5 framework i the solution so i can use linq and entity framework for access to DB.
View 5 Replies
Aug 26, 2010
I have one main project for the cms we are using for our website. I have also created usercontrols to include in the site, but I think I would like to keep these in a separate project and just reference them in the main project. Is this a best practice and how would I do this?
View 1 Replies
Feb 15, 2010
The Visual Studio 2005 web deployment project plugin used to be here:
http://msdn2.microsoft.com/en-us/asp.net/Aa336619.aspx
This just goes to the ASP.NET home page now, and I've had no luck Googling (or ... Binging?) for it. Does anyone know if this is still available for download anywhere?
View 2 Replies
Sep 6, 2010
I had no problem with this in Visual Studio 2008 but it seems that VS 2010 is having an issue, and I'm betting it's probably me.I have a solution with an ASP.NET Web Site Project and a few C# projects (BLL, DAL, Tests in NUnit). I have configured the build process for the test project to automatically run NUnit to run the tests. I would like to ensure that the BLL and DAL projects build before the test project so that the tests will run against the latest compiled version (yes, I know I could do this all in one project, but I'm choosing not to -- please bear with me :) )
So, I set the dependencies of the Test project to include the BLL, DAL, and Web Application projects, and the build order shows BLL, DAL, Web Application, and then Tests. However, I noticed that the BLL doesn't actually build when I build the Test project.Any idea what this could be or any option I might be missing to force the other projects to build when I build the Test project?
View 3 Replies
May 25, 2010
I know both these software are old and that I can update to newer version. But I need to do it with those software in particular.I have Visual Studio 2005 and Visual SourceSafe 6 installed on my computer. When I try to open Visual SourceSafe 6 database using Visual SourceSafe 6 directly, I have no problem at all.Then I try to open a project solution I took from SourceSafe using Visual Studio 2005. Right away I receive this messageThe solution appears to be under source control, but its binding information cannot be found. It is possible that the MSSCCPRJ.SCC file or another item that holds the source control settings for the solution, has been deleted. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.
Then an invite to chose a SourceSafe Database open. I click on BROWSE. First thing I noticed : The SourceSafe available databases list is empty (while I remind, it's not in SourceSafe 6. I can see there the COMMON database and the VSS database which is located on a different server on our network. Before that, I went in TOOLS->OPTIONS->SOURCE CONTROL, and make sure Visual Source Safe was selected as the Plug-in to use for a Source Control).So I click again on Browse, and locate my srcsafe.ini file. Everything is OK. It evens confirm me that my database path is
\dev2k3programmationVSS and that my database name is indeed VSS. So it found it. I then click on OK.
But when I do, the Database is not added to my available list, at all. The result, I can never select a source control, ever, which end in me not being able to work connected to the main source control of our network. Everything is working fine on every other computer in our company. Only this one have problem.Did I give enough description to my problem? I really need help on this one, because working disconnected from Source Safe can give a lot of pain to our team. Can anyone give me an hand? If you need any more info, just ask.
View 2 Replies
Sep 1, 2010
I am using VS2005 and I have a solution file (.SLN) which has 8 projects. I moved the solution file to a different path on a shared folder to have better organization of my projects and to allow access to the solution/projects from any computer on the network. After that, I edited the .SLN file so that the path of the projects in the solution file are correct (all on shared folders).
After that, I opened the .SLN and everything seemd to be working fine. However, I notcied that the "Start Options" of the website part of the solution file is missing the "Start Options", ie, the Start Options are reset to default values. I think also, but not sure, some other settings of the Solution/Projects have been reset.
Questions:
1. Where the Web Site "Start Options" are stored ?
2. How I can maintain the Start Options and similar settings if the .SLN file is moved or opened from different computers on the network ?
3. I am not using an team development tools, only plain (vanilla) VS 2005 Prof. Edition. Is it possible to have 2 or more developers work on the same solution/projects (shared on the network), if both developers will coordinate manually simultanous access to the porject files/resources/source code ?
View 6 Replies
Jul 6, 2010
I have developed one software in C# and the database used is sql server 2005. I have completed the software but now I want to provide setup in a autorun CD to my customer. I have prepare setup but I am not able to deliver my database along with my .net code. What I want to do is when user will install my project on his computer using the CD I am suppose to provide, it should install SqlServer Enterprise edition and should use this database. It may means that, setup should create database on the user computer.
View 1 Replies
Jul 27, 2010
is it possible to install VS 2005 Pro edition on a Windows 7 64Bit machine?
Would the web projects and application deployed with it work on this platform?
View 1 Replies
Dec 21, 2010
Basically what I am trying to do is have my webpage project folder located directly on my local machine (ex. Local #1). Our database is located on a server (ex. Server #1) . I am building my web applications on my local machine and then trying to debug them in Visual Studio 2008. Only every single time I click to debug my project I get a "Security Exception" error that looks something like the following...
"Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
I'm somewhat leaning towards the fact that I need to connect to the database to pull information from it and I don't have the proper permissions is the reason why this is happening but I've also read that it can be something that deals with improper configuration of my Web.Config file (i.e. I do not have something enabled).
Note #1: A co-worker of mine is having the same problem if he tries to put the project locally and then debug it. He has full administrative access to the DB and everything else.
View 6 Replies
Apr 30, 2010
I have installed a vs 2010 ulitimate . it's have Sql server 2008, but i want to Open SQL Server Management Studio 2008,
View 1 Replies
Jul 8, 2010
Microsoft Visual Web Developer 2008 Express Edition not possible to open Visual Studio?
[Code]....
View 4 Replies
Mar 27, 2011
Can I create an incremental deployment package using either Visual Studio 2010 Web Deployment Projects or Web Deploy (Web Deployment Tool) .
I need to automatically select changed files from a source and destination or a change set on TFS and build a deployment package only with the changed files.
View 9 Replies
Apr 28, 2010
When I am working on projects I like to take my files back and forth between two machines.The machine at my office is running Windows XP Pro 32-bit.My home pc is brand new and running Windows 7 64-bit.I have not yet installed Visual Studio 2008 on the new home pc.My projects usually consist of a web site in ASP.net and C# often with a SQL Server 2008 Express Edition database backend.I am using Visual Studio 2008 Standard Edition (yes, I know I need to upgrade soon).
Before I received the new computer I was simply copying what I did at one machine onto a USB drive, taking it the other machine and overwriting the files that were previously there. Is it feasible to continue moving project files back and forth between computers now that one machine is running a 32-bit OS and one is running a 64-bit OS?
View 1 Replies
Apr 13, 2010
I already have a web application running successfully develeoped using Classic ASP by the previous web pregrammer. Since I'm not familiar with Classic ASP, I tried running the source code in Visual Studio ASP.NET. However, I'm unable to run it (expliciltely denied). May I know whether there are special things to note when opeing and running a web application developed in Classic ASP in ASP.NET? The previous web application is connected to the school server, but I'm using my laptop's local host to run the application. Is that why I can't run the application? What are the steps needed to connect my ASP.NET application with the server.
View 1 Replies
Feb 4, 2011
I have a website which was created by someone; now I am trying to open it.
My doubt is will that project contain a solution? Within Visual Studio, I am trying to open through the open website option, but I didn't find a solution.
Is that right way? How best can I open a website with Visual Studio?
View 4 Replies