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..."
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.
Marked as answer by Angie xu - MSFT on Nov 19, 2012 10:43 PM
Bit-101
0 Points
1 Post
IIS and SQL in Visual Studio 2012?
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
:0)
codeasp
Star
14735 Points
2545 Posts
Re: IIS and SQL in Visual Studio 2012?
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.