Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 13, 2012 02:01 AM by codeasp
Nov 12, 2012 09:10 PM|LINK
Maybe a stupid question.
Have been worked with Apache, Php and actionscipt.
Now I´m trying to walk over to C# with asp.net.
But are there a default installation of webserver (IIS) and SQL database in Visual Studio 2012?
I´m used to work with wwwroot but with Visual Studio 2012 Ultimate I cant see where everything is located after the installation.
If there is a default installation - where on C drive can I see a map similar to wwwroot?
Where do I see the webserver on C disc and set the permissions to read and write the sql database?
"...Cannot open database "Northwind" requested by the login. The login failed. Login failed for user "User1-Dator\User1" 'Now I only get error when trying to query the mdb database..."
Turned of my firewall.
I really appreciate som help
Nov 13, 2012 02:01 AM|LINK
Hi and welcome to forums and asp.net/C#.
IIS is part of Windows Operating System. By default this is not installed. You can install it by going to the Add/Remove Programs -> Turn Windows features on or off -> Internet Information Services
There are many flavours of SQL database especially the sql express vs standard/enterprise. Sql express is a free version.
Visual studio also comes with a built in webserver which is used when you debug the site (if not configured to use IIS).
Web.config will contain the connection string for the website. This will probably point to the location of the SQL server.
Please provide more information - how are you debugging, connection string, if you are getting any error then snapshot of the error etc.