ASPNETDB.MDF version conflict - asp.net

I'm working on a project on my home computer which has Visual Studio 2010 Ultimate on it. I saved the project to a flash drive and did some work on it in the office where Visual Web Developer 2010 is installed.
The project so far just has the login screen which uses a .net login control. It was working on my home computer, and worked on my work computer. But after I brought it back home and tried to run it I get an error saying:
"The database '(my flash drive path)/ASPNETDB.MDF' cannot be opened because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported."
So apparently when I ran it on my work computer it set the database to version 661. What can I do now so I can run it on my home computer? What changes do I need to make to make sure I can work on this project in both places going forward?
Thanks for any help!

The easiest solution would be to update SQL Server (or SQL Server Express, as appropriate) on your home computer to the currently released version.

Related

Unable to connect with the configured development Web server

I am getting the subject message when trying to open a web page on my development machine in Visual Studio 2019 on Windows 10 pro. I have just set this machine up and have moved several projects to it. One of the projects opens fine. The other gives this message when I try to View the page in browser. Both sites are set up the same in IIS. I have tried several of the suggested solutions such as deleting the .VS file and re-opening the solution, in Admin mode, and not.
Most of the solutions to the issue were posted several years ago, with older versions of VS and Windows. Has any one found a solution to this issue in the newer versions of VS and Windows?

Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine in VS2010 Only

'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. I am getting this in visual studio only after upgrading from 32bit office 2013 to 64bit office 16. I have already installed the 64bit database engine and my published project from IIS is working with the existing access database. I switched debug mode to x64 and remove the references to the old office and replaced them with the new office access. How can I get Visual Studio 2010 to recognize my access database created in access 2013?
Things I have tried:
Installing Microsoft Access Database Engine 2010 Redistributable 64bit version.
Updating the office references in the project.
Debugging in x64 mode
This is a little outside of my normal area of database application design;
it's unclear - you state 2016 Office 64 bit installed but then Access 2010 Redistributable/Runtime 64bit - - so do you have a full license of Access installed?
if you do have the full Access license - try something that is quick: create a brand new database and import that table. Then try the link to this new db.
I had that issue in the past.
install 2007 Office System Driver and restart visual studio.
I've dealt many time with this problem, the solution was ever install one of these:
AccessDatabaseEngine 2007.exe
AccessDatabaseEngine_2010.exe
AccessDatabaseEngine_2016.exe
AccessDatabaseEngine_X64_2010.exe
AccessDatabaseEngine_X64_2016.exe
Most of the time I've solved installing the 2007 one even using 2016 version.
To run 32-bit applications on IIS, you will get the same error. So, from the IIS 7, right-click on the applications' application pool and go to "advanced settings" and change "Enable 32-Bit Applications" to "TRUE".
Restart your website and it should work.

Crystal Report Viewer bboj is undefine error after windows update in IIS Windows Server 2012 R2

My Asp.Net application developed with VS 2012 was working fine but when I updated my windows server 2012 r2 yesterday. The crystal report stop working after that update and showing blank. I tried everything, reinstall IIS by using windows feature, place fresh copy of my application, changed permission setting, place aspnet_client folder in www and in application folder. Still out of luck.
I am sure that the problem appears after I install updates in my server. My office work suffers a lot due to this problem. An immediate help will be extremly appreciated.
The problem held aftermy system automatically updated .Net Framework to version 4.6.01055 which was not compatible with Crystal Report older version. I installed CRforVS_13_0_18.exe and restart the machine. It start working.

'Microsoft.ACE.OLEDB.12.0 is not registered in the local machine.'

I have installed Microsoft Access Database Engine 2010 Redistributable http://www.microsoft.com/en-us/download/details.aspx?id=13255 on the Windows 2008 server. However, when I ran my web application to import a spreadsheet table to the database. It complains with the error message - "Microsoft.ACE.OLEDB.12.0 is not registered in the local machine."
I have tested my code and works in my Windows 7 local machine. Any idea?
There is a problem with Microsoft.ACE.OLEDB.12 when AccessDatabaseEngine x86 or x64 2010 is installed.
I have long attempted to use the SSMS (2005-2008-2008R2-2012) Export Wizards to export large tables onto Excel and I needed the AccessDatabaseEngine installed to be able to do that.
However, regardless of the MS Office version (2010, x86 or x64, or whatever it is), the 2010 version of AccessDatabaseEngine will not work towards registering the provider.
The solution is to download and install the previous one which is none other than the 2007 x86 one.
This one will work even if Office or SQL Server or VS are x64.
Download it from here http://www.microsoft.com/en-us/download/confirmation.aspx?id=23734
Now, any other propagated issues revolving around the notorious failure to register "the provider" on the local machine for the Microsoft.ACE.OLEDB.12 should be resolved by the above.
Feel free to paste me your experiences on this matter.

Not able to create an ASP.NET website with visual studio 2008

I have installed ASP.NET along with my Visual Studio, but when I tried to create a website from File-->New Website and put Location as http and language as C# it throws an error. I have installed IIS manager 7 in the machine but when I check in Services.msc IISadmin is not listed, but I do have a directory C:\inetpub\wwwroot\
Installing the umbrella 'IIS' is not enough. You have to go deeper into IIS in Windows Features and physically select everything that error dialog tells you to install.
You need to install those features as well.
If you're running Windows 7 Home Basic and Starter Editions, you may not get all of them as available options.
This will help: http://learn.iis.net/page.aspx/28/installing-iis-7-on-windows-vista-and-windows-7/
check from the window features if iis components are all installed.

Resources