i m using visual web developer 2010 and on selecting new website option via HTTP i am getting this error...please help
-
Question is really poorly asked, please next time provide more detail in the body question, even if the title itself contains some. – PedroC88 Feb 08 '12 at 15:46
3 Answers
Make sure ASP.NET 4.0 is registered with IIS. If it isn't you could register it with the following command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
and then try again.

- 1,023,142
- 271
- 3,287
- 2,928
Go to
C:\windows\Microsoft.Net\Framework\v4.0.30319\aspnet_regiis
(Choose whatever framework to register with IIS me selecting Framework 4)
Double-click or right click & choose run as administrator.

- 15,408
- 6
- 37
- 48

- 31
- 1
I have had the same issue, The way I went about solving it was not by registering the .NET
version. the issue comes down the the .net
version on the MySQL
connector that you are using, as per my example:
Project using .NET 4.0
, however I was adding a reference to MySQL
DLL connectors under the 4.5.
Under the path:
C:\Program Files (x86)\MySQL\MySQL Connector Net 6.9.8\Assemblies
There should be a variety of assemblies where you add the reference to, make sure it matches the .NET
that the project is using.
Hope this helps.

- 6,083
- 3
- 23
- 43

- 9
- 1