Iis - Setting Up A New Team Work Environment For .net?
Jul 26, 2010
We own a small company and develop asp.net websites. Here is our work procedure:We have a server at the company with Sql Server 2008 and IIS 7.5 installed on it. All our projects including the database and website pages are on the server. We connect to the server and edit the files using FTP, so any change to a web page can be seen at once. The programmers (less than 10 programmers) connect to the server using Visual Studio 2010.Now we want to include source control system in our work. The problem is including a SCM in our work requires changing our way of working.
how to set up work space on my computer using vs 2008. i am working with 3 junior developers and i got our own web hosting (not local own server yet). i am having problems that all juniors upload their files and overrided all the code.. so i want to set up work space on each computer and check in to local web server or web hosting we are using vs 2008 team editions, is there any possible in other version like professional and standard.
I have a web application that allows a number of teams to be assigned placement rankings, thus giving the players on that particular team.. seed points.
I am stuck as to how to use a Gridview to display the Teams, then allow a ranking to be assigned to each team.
(Dont allow more than one number per rank [no two teams can ever tie, or have the same finishing place.
I'm from PHP background. I used to use Apache, MySQL and PHP for web development. I'm just starting asp.net mvc. I've Visual Studio 2008 Pro SP1 & .NET 3.5 SP1 already installed on my computer. So, I installed ASP.NET MVC 1.0 Created a "ASP.NET MVC Web Application" project when I hit F5 it gives error Unable to connect to the ASP.NET Development Server No wonder. In this process I didn't setup the webserver. Can I use apache here? I guess IIS is the default. Where is it? How do I configure it? What is the WebRoot directory for IIS server? Where can I find it? On searching for "Unable to connect to the ASP.NET Development Server" I found this solution:
Step 1: Select the "Tools->External Tools" menu option in VS or Visual Web
Developer. This will allow you to configure and add new menu items to your Tools menu.
Step 2: Click the "Add" button to add a new external tool menu item. Name it "WebServer on Port 8010" (or anything else you want).
Step 3: For the "Command" textbox setting enter this value: C:WINDOWSMicrosoft.NETFrameworkv2.0.50727WebDev.WebServer.EXE (note: this points to the web-server that VS usually automatically runs).
Step 4: For the "Arguments" textbox setting enter this value: /port:8010 /path:$(ProjectDir) (or any port you like)
Step 5: Select the "Use Output Window" checkbox (this will prevent the command-shell window from popping up. Once you hit apply and ok you will now have a new menu item in your "Tools" menu called "WebServer on Port8010". You can now select any web project in your solution and then choose this menu option to launch a web-server that has a root site on port 8010 (or whatever other port you want) for the project. You can then connect to this site in a browser by simply saying [URL] All root based references will work fine.
Step 6: The last step is to configure your web project to automatically reference this web-server when you run or debug a site instead of launching the built-in web-server itself. To-do this, select your web-project in the solution explorer, right click and select "property pages". Select the "start options" setting on the left, and under server change the radio button value from the default (which is use built-in webserver) to instead be "Use custom server". Then set theBase URL value to be: [URL] But there is no C:WINDOWSMicrosoft.NETFrameworkv2.0.50727WebDev.WebServer.EXE such file on my system. Did I forget to install something?
EDIT:
I'm using Windows XP SP2 and logged in as a user with Administrative previlages. from this [URL]
Disable IPv6
Done
Make sure there isnt an edit in the hosts file for localhost There is no single entry in my hosts file (%SystemRoot%system32driversetchosts) with 'localhost' in it. Check firewall/virus settings to allow connections to/from devenv.exe I tried by disabling the firewall/antivirus If you can preview in the browser make sure the URL in the browser uses the same port number as the port number shown in the ASP.NET dev server taskbar icon. No, Actually there is no such dev server taskbar icon. Try setting a fixed, predefined port in project properties Tried it. But no positive result. S
Solution:
After trying everything. I came to conclusion that WebDev.WebServer.exe may be corrupt. So, I've replaced C:Program FilesCommon Filesmicrosoft sharedDevServer9.0WebDev.WebServer.EXE with a fresh copy : [URL]
I'm in the process of setting up a project's development environment from scratch. My company has used various technologies, but this is the first time we're able to focus on the development environment for a .NET project from the ground up -- and I'm the lucky guy who gets to make it work.
I'm actually very excited to do this, as it has the potential to become a pattern for repeated success across multiple projects.
I'd like your help to assess the build process that I'm using and shout out where I may find myself running into issues.
So, here goes--
Server Side:Windows Server 2008 SQL Server 2008 (relatively small / low traffic DB, wasn't worth devoting a separate VM in dev) VisualSVN for hosting source code (just easier to manage on Windows), Trac hooked into VisualSVN for wiki/bugs/tracking NAnt for automatic builds / running unit tests FxCop (potentially) as another set of tests from CruiseControl to check framework best practices CruiseControl.NET for continuous integration, to automatically call the NAnt build and run NUnit / FxCop tests when new source is committed. Dev Machines / Tools:VS 2010 NUnit CSLA (potentially) to use in developing our business logic layer NHibernate or Entity Framework (potentially) help facilitate OR/M
I am experienced php developer and I have everything setup for design/development/testing etc and I can develop locally on my machine using wamp. My question is, what should I be looking into for setting up a professional local development environment for developing web applications?
I'm working on different windows machines and virtual windows machines on a mac. I have a project wich uses SQL server and AD for autentication.
Right now I have to be connected to VPN so that the asp.net web application can connect to AD using LDAP string to autentivate users, I also have the SQL server on the other side of the VPN connection.
Is there any way to setup my enviroment so that I can work locally without the AD, and on a local SQL server and be able to publish the project without manually changing the web.config file?
If I had a class with a static property that is set when a user loads a particular page, is that static value unique to that users session?
In other words, if a second user then loads the page and sets the static property, will each user have a distinct value, or will both use the second users value?
I was having a very strange transient error after upgrading our project to VS2010. After days of severe frustration I've honed in on the problem... [URL] It appears that there's a laundry list of people running into rough the same issue: adding the "MvcBuildViews" to the project in VS2010 (or, in my case, if it was there before upgrading) causes a weird error the suddenly appear in the build output... but only some of the time (!):
Error 410 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. web.config 100 Given that most/all of the results from that search above are about people having this error, I believe it's safe to say there's a known issue requiring a fix or workaround. Can someone from MSFT please update on an ETA for this fix and/or post a known workaround? If it's necessary that I contact Microsoft PSS I will do so, but I'm hoping I can avoid that since it will be time-consuming...
I have a TFS 2008 running on a windows 2003 workgroup, I need the TFS to access (or register) the users in the active directory, so when developers log in to the network they can also have access to TFS.
I have been trying to access the AD from the TFS but I get the error that there is no a trust relationship, I joined the TFS to the domain, I am able to see the users in the AD from TFS but when I want to add them to TFS I receive that error message.
I have been looking for a tutorial on how to set up TFS with an AD environment but I am not able to find anything fully explained.
This is a yellow page which is not user friendly and we didn't expect . I'm wondering setting customeError in webconfig doesn't support this type of address or not ? How can i prevent users seeing this yellow page . Edit : solution you mentioned are about configuring IIS ,But as i mentioned earlier , my site has been published on shared hosting provider . I don't have those access at IIS , What should i do at this situation ?
I've received a website that uses sql server on the live environment. In the code at many places sql is created, say: However, locally on my dev machine, I use sql server express edition. It looks like select * from mytable doesn't work there, but instead I should use: How can I get my local site to work? Is there a setting I can change or am I missing something else?
I have been browing forums & googling for a couple of hours this morning, trying to find an answer to what (to me) should be a very simple issue. (I am a Delphi programmer moving somewhat reluctantly to Visual Studio C# , for web apps) I have created the simplest ASP.NET website in Visual Studio, containing a Textbox and a Button. When the website loads, I want Textbox1 to have focus. Simply doing
[Code]....
and this too does not work. However, if I press the Enter key when the webpage is displayed, then focus does move to TextBox1 (and pressing Enter again will fire any code attached to Button1). Surely it cannot be this hard to perform something so simple?
I am developing application for school management system.. I want to add functionality of team viewer for online support to the users.. How can i use runable third party software in my web application..
I'm struggling to get web.config transformations working with automated builds. We have a reasonably large solution, containing one ASP.NET web application and eight class libraries. We have three developers working on the project and, up to now, each has "published" the solution to a local folder then used file copy to deploy to a test server. I'm trying to put an automated build/deploy solution in place using TFS 2010. I created a build definition and added a call to msdeploy.exe in the build process template, to get the application deployed to the test server. So far, so good!
I then tried to implement web.config transforms and I just can't get them to work. If I build and publish locally on my PC, the "publish" folder has the correct, transformed web.config file. Using team build, the transformation just does not happen, and I just have the base web.config file. I tried adding a post-build step in the web application's project file, as others have suggested, similar to:
but this fails beacuse the source web.config file has an "applicationSettings" section. I get the error Could not find schema information for the element 'applicationSettings'.I've seen suggstions around adding arguments to the MSBuild task in the build definition like
/t:TransformWebConfig /p:Configuration=Debug
But this falls over when the class library projects are built, presumably because they don't have a web.config file.
My team member not supporting to use Crystal report in asp.net web application. specially Crystal report with mysql database. Is there any other report available?
I have locally made a simple helloworld web service (.asmx) that I want to test.
I have an enviroment where I already have it uploaded to the Team Foundation server, in NAMECustomerApplicationsTestServiceTestServiceservice.asmx (the whole project is located in that structure).
The TF server and the IIS server are on the same machine.
Now, how do I deploy service.asmx file so I locally can get a path to the service like this: [URL]
I'm have on my web page a text search box which I want users to type in there favourite football team and this will display a gridview of the teams with the replica shirts I offer.
This is where I thought about creating a stored procedure to carry out this task.
I looked online for ideas but I not found anything as yet.
I installed a basic TFS 2010 instance on a Windows Server 2008 32bit VM. I didn't need SSRS or WSS so I left those unconfigured.
It works fine when I'm on our local network but how do I get the default TFS website [URL] to be accessible over the internet when I'm not on our local network? I'd also like for off-site members to be able to connect to the TFS via Visual Studio (this also works fine internally)
I'm having a hard time finding any documentation on how to acheive this.