I'm trying install dotnetnuke but when i do Browse "default.aspx" file from iis, this error has been Occurs:
DNN Error
Connection To The Database Failed
dnn version: 7.02
iis version: 8.5
os: windows 8.1
sql server: Sql2012
Thanks
Make sure your connection string is in the web.config and is correctly pointing to your database. Also make sure the sql server user login used in the connection string works, if you are not using integrated security.
Hope this helps.
Chuck
You really should install DNN 7.3.2, the latest release, but if you must 7.2.0 should work fine too.
You are missing a database connection, so the question is, what SQL server are you using?
Here's a tutorial on setting up DNN in a development environment.
http://www.christoc.com/Tutorials/All-Tutorials/aid/1
Related
I am trying to install a Named Instance of SQL Server 2017 in my computer. I selected Database Engine Services in the feature list before installation. The installation failed and I got the following not so informative error message.
The following error has occurred:
Object reference not set to an instance of an object
I am using Windows 10 OS. I am running the setup as an Administrator. When asked to choose the authentication for the instance I chose Mixed Authentication.
Can someone tell me how to get past this problem.
I had the same issue.
I use Win 10 1806. I run the reparation tool for .NET Framework, and it didn’t solve the problem.
In my case the installation file of MS SQL Server was corrupted.
This is most probably due to not having .NET Framework 4.6 installed.
If it is already installed on your machine, you can try running the .NET Framework repair tool, found here
I've recently tried to install the latest version of SQL Server Express 2016, but right at the end of the installation I get the following error:
"Object reference not set to an instance of an object."
No extra information seems to be available and the installation of following components show up as failed:
Database Engine Services
Full-Text and Semantic Extractions for Search
R Services
SQL Server Replication
I've tried to uninstall everything and install again several times but I always get the same error. I am using Windows 8.1 Enterprise.
Can anyone help?
Thanks in advance ;)
Do you already have Client Tools installed? If so what is the version? You may need to update the installed version.
I'm trying to get data from a PostgreSQL database into PowerBI Desktop but it doesn't seem to work. I think the problem is with the installation with npgsql. When trying to setup a new database connection in PowerBI I type in the database and server, and this is the error message I get:
"Unable to connect
Details: "PostgreSQL: We were unable to find a database provider with invariant name 'Npgsql'.
This error could've been the result of provider-specific client software being required, but missing on this computer. To download client software for this provider, visit the following site and choose the 64-bit (x64) version of, at minimum, 'Npgsql version 2.0.12': https://go.microsoft.com/fwlink/?LinkID=282716""
I've tried going npgsql website and install the required components but I can't seem to get it working. I'm not a developer so this is a bit complicated for me. Does anyone know how to get these components installed? I very much appreciate your help!
I'm using Windows 10 on a Surface Pro 3 if this helps. And I do have Visual Studio Community installed as well.
Best,
Bruno.
I have downloaded and tried it with version 3.6.6
Install npgsql
During the installation stage, enabled "Npgsql GAC Installation" as GAC requires Npgsql.
Restart the PC.
It should work now.
The solution from this page helped me: https://community.powerbi.com/t5/Community-Blog/Configuring-Power-BI-Connectivity-to-PostgreSQL-Database/ba-p/12567
Select the option to install to the GAC during install of the program npgsql v3.x.x downloaded from this page https://github.com/npgsql/Npgsql/releases
It worked for me (although I do not know why:-)
When you install Npgsql you should enable installation into the GAC.
Otherwise component will not be automatically detectable to other programs.
I've developed an application that uses SQL Server (in particular LocalDB), and, I have just pushed it out to the client.
The client runs Windows 8.1 x64, but, when I try to install either x86 or x64 version of SQL LocalDB direct from Microsoft, I keep getting this error:
Microsoft SQL Server 2014 Express LocalDB
Installation of this product failed because it is not supported on this operating system. For information on supported configurations, see the product documentation.
I'm a little bit stuck here, and, quite confused as I am using LocalDB on my Windows 8.1 dev machine.
How can I resolve this?
Please right click the LocalDB setup file and check if it is configured with other compatibility mode. And make sure that you choose “Run as Administrator” to start the installation. There is also a similar thread for your reference, which may require you to reinstall the Windows to resolve the OS error.
SQL Server 2014 Express why not support Windows 8.1 Pro
Does anybody here have positive experience of working with MS SQL Server 2005 from Rails 2.x?
Our developers use Mac OS X, and our production runs on Linux. For legacy reasons we should use MS SQL Server 2005.
We're using ruby-odbc and are running into various problems, too depressing to list here. I get an impression that we're doing something wrong.
I'm talking about the no-compromise usage, that is, with migrations and all.
Thank you,
Have you considered using JRuby? Microsoft has a JDBC driver for SQL Server that can be run on UNIX variants (it's pure Java AFAIK). I was able to get the 2.0 technology preview working with JRuby and Rails 2.1 today. I haven't tried migrations yet, but so far the driver seems to be working quite well.
Here's a rough sketch of how to get it working:
Make sure Java 6 is installed
Install JRuby using the instructions on the JRuby website
Install Rails using gem (jruby -S gem install rails)
Download the UNIX package of Microsoft's SQL Server JDBC driver (Version 2.0)
Unpack Microsoft's SQL Server driver
Find sqljdbc4.jar and copy it to JRuby's lib directory
jruby -S gem install activerecord-jdbcmssql-adapter
Create a rails project (jruby -S rails hello)
Put the proper settings in database.yml (example below)
You're all set! Try running jruby script/console and creating a model.
development:
host: localhost
adapter: jdbc
username: sa
password: kitteh
driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://localhost;databaseName=mydb
timeout: 5000
Note: I'm not sure you can use Windows Authentication with the JDBC driver. You may need to use SQL Server Authentication.
Best of luck to you!
Ben
Instead of running your production server on Linux have you considered to run rails on Windows? I am currently developing an application using SQL Server and until know it seems to run fine.
These are the steps to access a SQL Server database from a Rails 2.0 application running on Windows.
The SQL Server adapter is not included by default in Rails 2. It is necessary to download and install it using the following command.
gem install activerecord-sqlserver-adapter
--source=http://gems.rubyonrails.org
Download the latest version of ruby-dbi from
http://rubyforge.org/projects/ruby-dbi/
and then extract the file from ruby-dbi\lib\dbd\ADO.rb
to C:\ruby\lib\ruby\site_ruby\1.8\DBD\ADO\ADO.rb.
Warning, the folder ADO does not exist, so you have to create it in advance.
It is not possible to preconfigure rails for SQL Server using the --database option, just create your application as usual and then modify config\database.yml in your application folder as follows:
development:
adapter: sqlserver
database: your_database_name
host: your_sqlserver_host
username: your_sqlserver_user
password: your_sqlserver_password
Run rake db:migrate to check your installation. If everything is fine you should not receive any error message.
I would strongly suggest you weigh up migrating from the legacy database. You'll probably find yourself in a world of pain pretty quickly. From experience, Rails and legacy schemas don't go too well together either.
I don't think there's a "nice solution" to this one, I'm afraid.
Our developers use Mac OS X, and our production runs on Linux. For legacy reasons we should use MS SQL Server 2005.
We are developing on Ubuntu 8.04, but our production servers are running Linux (Centos) and we are also using SqlServer 2005.
From our experiences the initial setup and config was quite painful - it took a couple of weeks to get everything to play nicely together. However, it's all seemless now, and I find SqlServer works perfectly well.
We use the FreeTDS ODBC drivers which once configured are fine.
DO NOT run productions Rails apps on Windows - you're asking for trouble. It's fine for development but nothing more. Rails doesn't scale well on Windows platforms.
Hope that helps.