Visual Studio :: Cannot Connect To SQL2005 From VWD2010?
Apr 20, 2010
When I try to connect to my SQL Server 2005 from within the Visual Web Developer 2010 Database Explorer, I get the "This server version is not supported. You must have Microsoft SQL Server 2005 or later" message.If I open up my web project from within VWD 2008, it still works fine.For reference, my SQL 2005 machine is a separate machine than one I installed VWD 2010 on. I did install the ASP.NET 4 framework on the SQL 2005 machine (but not any of the extra tools).
I have installed visual studio 2010, but I got some problem in connecting to my sql2005.
Whenever after I choose the Server name and database name for new connection, it shows a message that unable to add data connection.
Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version= 10.0.0.0, Culture=nertral, PublicKey=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
I create a new ASP.NET MVC 2 project with Visual Web Developer 2010 a while back. After some testing, I realized that the built-in development server is too slow for proper testing, so I decided to switch to IIS. I created a new IIS website that points to my project on disk, and configured it to use the .NET 4 application pool. Many problems arose from this:
If I open the solution file in VWD, then clean the project, IIS gives me a "Could not load type: ***" where *** is my global.asax class name.If I open the IIS website in VWD and then try to build the project, I get the same error.If I open the solution file in VWD, build the project, then open the IIS website in VWD, and then build, the build is successful. However, whenever I make a change in the code and then build again, my change is simply ignored (it seems to only be using the assembly that was compiled when I built it as a solution). When I open the IIS website in VWD, and start debugging, the debugger does not catch requests to the IIS website.My guess is that when I open the IIS website in VWD, it outputs the built assemblies to a directory that IIS is not aware of. Is there a way I can configure it to output everything to the bin directory instead? Or am I doing something wrong?
How easy is it to publish your project using Visual Web Developer 2010? Right now, the ease of use using Database Publishing Wizard makes my publishing breezely smooth. [:)]
I'd like to tryout ASP.NET MVC2, im using VWD2010 on Windows 7. I can't seem to be able to get the unit test dialog to pop up. I googled it and all I find is nUnit templates for VWD2008.
Anyone running into this issue with same setup as mine?
I have not been able to open css files in VWD, I must have sone something I don't know. I can open them in wordpad, and WebDevelopment Server still displays properly so the file is not currupt. Is there a setting I messed up in web.config or somewhere else?
I keep adding the Build Toolbar buttons everytime I open a new instance of VWD2010.After I restart VWD2010, the Build toolbar settings wasn't saved. [:(]
In Windows 7, I get this error message when installing VWD2010 Express "Visual Web Developer 2010 Express This product did not install successfully." This is the log file from Web Platform Install 2.0
I have this big project running VWD2010 and it eats a lot of resources about 340mb+. This does not happen before, last time I check this one project runs less than 150mb. Sometimes, I even run two instances of VWD2010, one project has lesser files about 130mb and combining the two, about less than 340mb. But on a single project that doesn't run more than 300mb before, is this normal? Is VWD2010 updates something?
I only use Task Manager to check the memory consumption.
My VWD 2010 Express Edition appears to be missing the console application template. I have searched all the options under new project in VB and C# but it just is not there. I would like to add the console application template option .
i'm the first servers using sql2005 i connect to the this server from the localhost and host free ok but when the rent is up to the host failed connect
I have been using VWD2010 Express for a website that I am working on. Due to a delay in implementing the 4.0 framework at the hosting service that I use, I need to finish up with VWD2008 Express. Is there a simple way to save my project so that it is compatible with 2008?
I need to connect to a third-party hosted database. The VPN tunnel is already set up and an IP address has been provided to me, but I'm not sure how to access the database through the tool.
I have tried the Database Solutions tab > Data Connections > and the one listed under this is called "ASPNETD8.MDF", but when I click on this, I get this error message:
"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"
I can't seem to add an Access DB to my ASP.Net project. I can see the DB in the Database Explorer Window, but I can't see any of the Tables or Views; nothing at all. I click Test Connection, and I get a message that 'Test Connection Succeeded', but I can't see anything and I don't seem to have any kind of control whatsoever. If I click on the Tables folder, I get this message: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt'. When I double-click directly on the DB, it opens and runs just fine.
The Access DB is on my desktop. Originally developed in Access 2000; using 2007 now. Also, this is VWD and ASP.Net 3.5. Any thoughts on what I'm doing wrong? It seems like a pretty easy thing, but it's turning out to be not quite as easy as I thought.
I'm getting this problem with one of my web projects. I've looked at [URL] and other suggestions around the place, none of which apply here. The odd thing is, it's occurring with *one* of my new web site projects, but not another one. Odd again is that they're both 100% fresh sites, created with the "New Web Site" option in the File menu, within a day of each other, and nothing has been done to them, apart from a bit of "hello world" html. WebSite1 was created first, and Cassini worked when I first created it the other day. A day later, I created WebSite2 and Cassini worked (and still works) with that one.
However, when I open WebSite1, I get the above error code - again, it was working fine the other day, and WebSite2 works fine. I've compared their .sln file - so differences apart from the VWDPort number used, and of course the path to the site and various GUIDs. Everything else is identical. Same with comparing web.config files. No differences there at all. So I'm stumped - why would Cassini start up fine with WebSite2 (and subsequent sites I create) but suddenly stop working for the WebSite1 project, when it was working ok a couple of days ago?
Whenever i run the project this problem occur Can any one give me solution. should i have to delete webdev.webserver.exe and install another is this the right solution for my problem.
I am having an issue coinnecting to Oracle using the Oracle Database (OracleClient). I can connect to Oracle using other tools such as TOAD, POWERBUILDR, SQL PLUS but not Visual Studio. These other tools use the TNSNAMES.ORA file so that is not the problem. I can use use oledb and it connects ORACLE but not the ODP.Net.
How to connect to a remote oracle database with Visual Studio?
I know how to create the connectionSting in web.config. I wonder if I can connect to an oracle database when creating a LINQ class so that tables will show in the Server Explorer.
Not too long ago I was given a new PC with windows 7 Professional on it. Before, I had vs 2008 running on win xp which worked OK. I started getting error msg (Unable to connect to ASP.NET development server) after I installed vs 2008 (version 9.0.30729.1 sp1 vs team system dev. edition) and ran one of my projects and even a simple test project. The first msg shows the syntax of webdev.webserver with an example in the bottom. I can get this error by running the project or by showing any page in the browser. I noticed that file WebDev.WebServer.EXE does not appear in the folder C:WindowsMicrosoft.NETFrameworkv3.5. If that's the only reason why I am having this problem than how can I fix it. I was told that .net framework 3.5 works on top of .net framework 2.0?! I just want to sort out this .net framework mess on my new machine. I am willing to uninstall all .net framework and start fresh. Another thing that I am willing to try is to get from a coworker the WebDev.WebServer.EXE (from the .net framework 3.5 folder) and see if it works.