Ms sql ошибка 18465

RRS feed

  • Remove From My Forums
  • Question

  • User-1874077045 posted

    hi all, 

    i need your help, i just install the sql server 2008.

    today i try to open sql server management studio for create database, but once i open, a box say connect to server,when click connect,

    the error 18456 show.

    May i know what is the problem?

    my object explorer also doesn’t show anything.

    my pc is windows 7.

    can anyone help me?

    thanks.

All replies

  • User-121157572 posted

    Error 18456 is a login failed error. Have a look at below url to understand it clearly.

    http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx

  • User-1874077045 posted

    i check the log, i saw this message.

    Logon       Error: 18456, Severity: 14, State: 11.

     Login failed for user ‘xit03xxx’. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: <local machine>]

    What this error mean? And how to solve it?

  • User124594735 posted

    hi, I have this problem exactly

    my pc operation system is Windows 7 32 bit. i haven’t this problem with windows xp.

    ofcourse i installed iis7 before sql server2005  and after sql server installed service pack3 for sql server. howevore again exist this problem

    please help me thanks.

  • User-1874077045 posted

    Anyone can help?

    I found that only database engine i cannot log in, others like reporting services and analysis services can log in.

    thanks.

  • User124594735 posted

    I rightClick on sqlserver and select Run as adminstrator and not exist this problem

    Good luck

  • User-1874077045 posted

    Hi Jafar,

    thanks for your reply.

    But unfortunaly my case cannot solve. i guest maybe is maybe is my user account problem.

    maybe will try to get admin acc from my boss or else reinstall the sql server.

    Thanks.

less than 1 minute read

Description:

We once had to create a database on our MS SQL Server to sync with a third party site to share data between companies. In the process, I created them some SQL users in the database, but they were having issues logging in. They would get an Error: 18456 when attempting.

To Resolve:

  1. Although I could’ve sworn I put it in mixed Authentication mode, the server was in Windows Authentication Mode which doesn’t allow SQL user logins. To fix it you just login to SSMS, right click on the server => Properties => Security => and select the SQL Server and Windows Authentication mode radio option.

  2. Run => services.msc => SQL Server Service => Restart.

    • The service name may be the name of your instance.

References:

“Unable to login to SQL Server + SQL Server Authentication + Error: 18456”

Ошибка 18456 связана с отключенной SQL аутентификацией. Ее можно решить 2 путями. Либо включить SQL аутентификацию либо создать логин на основе пользователя Windows. 

Для первого варианта сделаем следующее:

1) Зайдем под логином. Обратите внимание что бы у нас в поле 1 стоял Windows

Заходим под логином Windows

2) Зайдем в свойства конфигурации сервера

Свойства конфигурации сервера Windows

3) Зайдем на закладку «Безопасность» и включим гибридную ацетификацию Windows и SQL:

1845

После этого мы сможем зайти под SQL логином

Второй вариант — нам нужно создать логин на основе пользователя Windows

Для этого сделаем:

1) Зайдем в папку «Безопасность» — «Логины»:

Создание логина

2) После этого добавляем существующего пользователя Windows для работы в SQL:

Создание логина SQL Windows

Все должно заработать.

Теги:

#ms-sql

You may encounter the SQL Server Error 18456 if the server could not authenticate the connection and this can be caused by the non-availability of the administrator rights to the SQL server or if the TCP/IP protocol is disabled in the SQL server settings.

The issue arises when the user tries to connect to the SQL server (local or remote) but encounters the error 18456 (with different states).

Login Failed Microsoft SQL Server Error 18456

Login Failed Microsoft SQL Server Error 18456 Fix

You can fix the SQL server error 18456 by trying the solutions below but before that, check if restarting the server, client computer, and networking computers solves the issue. Moreover, make sure you are typing the correct username and password (not copy-pasting the address).

Also, check if you are entering the correct database name (no typo in it) and make sure you have updated the configuration file accordingly. Furthermore, check if unlocking the account (by using the query ALTER LOGIN WITH PASSWORD= UNLOCK) solves the issue. If you are seeing the errors in the SQL errors log, then make sure your SQL server is not under attack. Last but not least, make sure the server’s clock and client computer clock is correctly set.

Launch the SQL Server as Administrator and Disable UAC on the Server

You may encounter the error 18456 if the SQL server does not have the elevated permissions to execute its operation and launching it as administrator (or disabling the UAC controls on the server) may solve the problem.

Open the SQL Server as Administrator

  1. Click Windows and type SQL Server Management Studio.
  2. Now right-click on SMSS and select Run as Administrator.
    Launch Microsoft SQL Server Management Studio as Administrator
  3. Then click Yes (if UAC prompt received) and check if the SQL server is clear of the error 18456.
  4. If not, then check if disabling UAC on the server machine solves the issue.

Launch the SQL Server in a Single User Mode

  1. Click Windows, type, and open the SQL Server Configuration Manager.
  2. Now right-click on the SQL Server service (in the SQL Server Services tab) and select Properties.
    Open Properties of the SQL Server
  3. Then head to the Startup Parameters tab and in the Specify a Startup Parameter box, type:
    -m
  4. Now click on Add and apply the changes.
    Add the “-m” Parameter to the Startup Parameters of the SQL Server
  5. Then right-click on the SQL Server service and select Restart.
    Restart the SQL Server Service
  6. Now click Windows, type: SQL Server Management Studio, right-click on SMSS, and select Run as Administrator.
  7. Now check if you can connect to the SQL Server as administrator.
  8. If so, then add the domain account to the SQL server and assign it the SysAdmin role.
  9. Now go back to the SQL Server Configuration Manager window and remove the -m parameter in the Startup Parameters tab.
  10. Then restart the SQL Server service (step 3) and check if the SQL server is working fine.

If the issue persists, check if the startup parameters or path details are properly configured. If the issue is still there, make sure your user account does have the required permissions to the database/ reporting services, and then check if the issue is resolved.

Enable the TCP/IP Protocol in the Server Configuration Manager

The error code 18456 in the SQL server means that the server could not authenticate the connection and this can happen if the TCP/IP protocol required to access the database on a network is disabled in the Server Configuration Manager. In this context, enabling the TCP/IP in the SQL Server Configuration Manager may solve the problem.

  1. Click Windows and expand Microsoft SQL Server with a year name like 2008 (you may need to scroll a bit to find the option).
  2. Now open SQL Server Configuration Manager and click Yes (if UAC prompt received).
  3. Then, expand SQL Server Network Configuration and select Protocols for (the server/database name) in the left pane.
  4. Now, in the right pane, double-click on TCP/IP and select Yes in the dropdown of Enabled.
    Open TCP/IP in Protocols of SQL Server Network Configuration
  5. Then apply your changes and click Windows.
    Enable TCP/IP in SQL
  6. Now type Services, right-click on the result of Services, and select Run as Administrator.
    Open Services as Administrator
  7. Then right-click on the SQL Server (with the server’s name) and select Restart.
    Restart the SQL Service in the Services Window
  8. Now check if the SQL server is clear of the error 18456.

If that did not do the trick, then make sure you are connecting to the right port of the SQL server (especially if you are using the server in a multi-server environment).

Change the Authentication Mode of the SQL Server

The SQL server might show the error 18456 if the authentication method of the SQL server is not properly configured (e.g: you are trying to login using SQL server authentication whereas the server is configured to use the Windows authentication). In this case, changing the authentication method of the SQL server may solve the problem. Before moving on make sure the status login for the present user (for example SA) is enabled.

  1. In the Object Explorer of Microsoft SQL Server Management Studio, right-click on your server and select Properties.
  2. Now, in the left pane, select Security, and in the right pane, select SQL Server and Windows Authentication (or vice versa).
    Enable SQL Server and Windows Authentication
  3. Then apply your changes and in the Object Explorer, right-click on the server.
  4. Now choose Restart and once restarted, check if you can connect to the database without error 18456.

If you cannot log into SQL, then you may install MS Power Tools and run the following in an elevated command:

psexec.exe -i -s ssms.exe

Afterward, you may use the installation account of SQL to make the changes and also make sure the SA account is not disabled:

Enable the SA Account and Reset the Account Password

If you cannot connect to the SQL Server, then enabling the SA account of the SQL server and resetting its password may solve the problem.

  1. Launch Microsoft SQL Server Management Studio (you may have to use the domain admin account) and expand Security.
  2. Then double-click on Logins and open SA.
    Open the SA Account in the Microsoft SQL Server Management Studio
  3. Now enter a new password and confirm the password (make sure you use a strong password).
  4. Then head to the Server Roles tab and make sure the following roles are selected:
    Public
    
    Sysadmin

    Enable the Public and Sysadmin Server Roles for the SA Account
  5. Now head to the Status tab and in the right pane, select Enabled (under Login).
    Enable the SA Account in SQL
  6. Then apply your changes and click the Windows button.
  7. Now type Services and right-click on it.
  8. Then select Run as Administrator and steer to the SQL Server service.
  9. Now right-click on it and select Restart.
  10. Once the service is restarted, check if the error 18456 of the SQL server is cleared.

Create a New Login and Restart the Reporting Services

If you cannot use any account to connect to the database, then creating a new login and restarting the reporting services may solve the problem.

  1. Launch the Microsoft SQL Server Management Studio and expand its Security tab.
  2. Then expand Logins and right-click on it.
  3. Now select New Login and enter the credentials (in the login name select the computer account) if using the SQL Server Authentication.
    Create a New Login in the SQL Server
  4. Then make sure to uncheckUser Must Change Password at Next Login” and select the database.
  5. Now head to the Server Roles tab and select the Public role.
  6. Then, in the User Mapping tab, make sure to choose the database and select db_owner.
    Select db_owner for the Database in SQL
  7. Now apply your changes and click Windows.
  8. Then type Services and right-click on the result of Services. Then select Run as Administrator.
  9. Now right-click on the SQL Server Reporting Service and select Restart.
    Restart the SQL Server Reporting Service
  10. Then reconnect to the database and check if the SQL server is clear of the error 18456.

If so, make sure that you have created a user in BUILTINadministrators, and then you can use that user to manage the SQL Server. If you have restored the database from a backup, it will be better to remove and re-add the users to clear any old user entries. If you want to run the SQL server as a different user, then type Microsoft SQL Server in the Windows Search, Shift+Right-click on the SQL Server, and select Run as a Different User.  Last but not least, check if using Azure Data Studio with the SQL server sorts out the issue.

Photo of Kevin Arrows

Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Feb 24, 2011

i just install the sql server 2008.today i try to open sql server management studio for create database, but once i open, a box say connect to server,when click connect,the error 18456 show.May i know what is the problem?my object explorer also doesn’t show anything.my pc is windows 7.

View 6 Replies

Similar Messages:

DataSource Controls :: Unable To Connect To Local SQL Server — Named Pipes Error, Server Is Not Listening On Shared Memory?…

Mar 23, 2010

I am unable to connect to my local instance of SQL Server 2008 Express using SQL Server Management Studio.I believe the problem is related to a change I made to the connection protocols. Before the error occurred, I had Shared Memory enabled and Named Pipes and TCP/IP disabled. I then enabled both Named Pipes and TCP/IP, and this is when I started experiencing the problem.

I have now set Named Pipes and TCP/IP back to disabled. When I try to connect to the server with SSMS (with either my SQL server sysadmin login or with windows authentication), I get the following error message:

«A connection was successfully established with the server, but then an error occurred during the login process. (provider: Named Pipes Provider, error: 0 — No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)»

My first question here is: why is it returning a Named Pipes error? Why isn’t it using Shared Memory? It seems like it is not listening on Shared Memory for some reason?When I set Named Pipes to enabled and try to connect, I get the same error message.My windows account is does not have administrator priviliges on my computer.

View 3 Replies

SQL Server :: Unable To Connect / Getting Error

Jul 27, 2010

I’m a bit of a beginner to ASP.NET and I’m having a trouble connecting to SQL Server Express.

I’m using Windows 7 and have tried connecting to my database using both Windows authentication and a user account I setup in SQL Server.

I’ve include the code I’m using below (using the account I setup in SQL Server):

[Code]….

The error I get is that it can’t login using the login details provided

Just wondering if there’s anything I’m not doing something properly? This is the first time I’m trying to connect to a database using Windows 7/SQL Server Express so hoping someone with a bit more experience can give me a hand!

View 11 Replies

Web Forms :: Error — Unable To Connect To Development Server

May 7, 2015

When I press f5 to run my website a prompt message appears displaying unable to connect to asp.net development server. I have tried to restart vs 2010 but that did not work…

View 1 Replies

Visual Studio :: Error — Unable To Connect To Sql Server Database

Mar 10, 2010

i have sql server 2008 and visual studia 2008 install in my system when i open a new website project and then use the asp.net administration tool in that when i go for security tab under that one.

i want to enable roles but it displaying error that unable to connect to sql server database.

View 1 Replies

Visual Studio :: Error Popping Up — Unable To Connect To Development Server

Jun 7, 2010

I developed a website project using visual studio 2008 and language used is c#. It was working fine till yesterday[i.e., It compiled and also i could run it using the asp.net development server by pressing ctrl+f5] and today when i tried to run it says «unable to connect to asp.net development server». I tried to reinstall visual studion 2008 and even now its not working. Also when i go to websites n asp.net configuration option it say the same error «unable to connect to asp.net development server». I absolutely no idea about why this error popped up. I got my project demo. day after n how can this be set right.

View 4 Replies

Visual Studio :: Unable To Connect To Development Server — Error Message On Debugging

May 17, 2010

I just started getting the error message «Unable to Connect to the ASP.net Development Server» when debugging a website with VWD 2008 (everything was fine in the past). My system is Windows Vista with Windows Live OneCare firewall. I have reviewed other postings related to this problem, and they indicate firewall setting problems — settings not allowing VWD internet access. However, my settings on the «Windows Live OneCare Firewall Advanced Settings» tab specifically allow VWD.

View 5 Replies

Can’t Send Smtp Email From Network Using C# Error / Unable To Connect To The Remote Server

Apr 1, 2010

I have my code here, it works fine from my home, where my user is administrator, and I am connected to internet via a cable network.

But, problem is when I try this code from my work place, it does not work. Shows error:

«unable to connect to the remote server»

From a different machine in the same network:

«A socket operation was attempted to an unreachable network 209.xxx.xx.52:25»

I checked with our network admin, and he assured me that all the mail ports are open [25,110, and other ports for gmail].

Then, I logged in with administrative privilege, there was a little improvement, it did not show any error, but the actual email was never received.

note that, the code was tested from development environment, visual studio 2005 and 2008.

try
{
MailMessage mail_message = new MailMessage(«xxxxx@y7mail.com», txtToEmail.Text, txtSubject.Text, txtBody.Text);
SmtpClient mail_client = new SmtpClient(«SMTP.y7mail.com»);
NetworkCredential Authentic = new NetworkCredential(«xxxxx@y7mail.com», «xxxxx»);
mail_client.UseDefaultCredentials = true;……

View 4 Replies

Unable Run Application Getting Error «unable To Connect Development Server»

Jan 25, 2011

I am using an Visual studio 2010 ultimate edition. And here i have getting an error » unable to connect to the asp.net development server » while i try to run the Web Application by pressing F5 key from Web Application Project. Can any tell me whats the problem and how can i resolve it.

View 3 Replies

File Upload Error/exception Details: System.bet .webexception. Unable To Connect To The Remote Server

Mar 2, 2010

I had this one working a while back i try to upload file to my root folder it works locally but when i try it from my website i get the following error: exception details: system.bet .webexception. unable to connect to the remote server

the code bomb at the following line

requestStream = uploadRequest.GetRequestStream() ‘This is where the exception occurs
fileStream = File.Open(localFile, FileMode.Open)
[code]….

View 2 Replies

Read All File Names On Ftp Server / Unable To Connect To The Remote Server

May 27, 2010

I tried this code by inputting the ftp address as ftp//: and the correct username and password and I get the following error

«Unable to connect to the remote server» on line :

FtpWebResponse Response = (FtpWebResponse)Request.GetResponse();I tired this on my ftp server provided by a hosting service and an anonymous ftp located at 193.166.120.5 ?

Note: I was able to connect to both of these ftp through filezilla, via a webbrowser, and through windows command line.

View 1 Replies

Visual Studio :: Error / «unable To Connect To The Asp.net Development Server 2008»

Aug 18, 2010

I’m getting th error «unable to connect to the asp.net development server 2008»

It’s been working fine for months and all the sudden.I’m fairly new at this so if you have a fix I will need details.

View 3 Replies

Web Forms :: Request.GetResponse Error Code 10060 «unable To Connect Remote Server»?

Aug 3, 2010

When i try to execute the code below i get the error «unable to connect to remote server».

The internet connection is set and if i copy and paste the serviceurl directly on the browser it works.

public string GeoCode(string address)
{
if (String.IsNullOrEmpty(address)) throw new ArgumentNullException(«address»);
string ServiceUrl = «http://maps.google.com/maps/geo?output=xml&q={0}&key={1}&oe=utf8»;
string url = String.Format(ServiceUrl, HttpUtility.UrlEncode(address), MyApiKey);
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url);
request.Method = «GET»;
using (System.Net.WebResponse response = request.GetResponse())
{
return response.ToString();
}
}

View 2 Replies

SQL Server :: Unable To Connect To Remote Server

Aug 9, 2010

I have a problem, my database reside on a separate server and my online website need to access that server to get some data. The server is in my office and connected with Internet.

I have configure the SQL server 2005 on the server to allow remote connections. Enabled TCP/IP and named pipeline. The port is 1433.

I give following connectionstrings.

1. <add name=»DatabaseConnectionString» connectionString=»Data Source=nt1111;Initial Catalog=testdatabase;Persist Security Info=True;User ID=test;Password=***» providerName=»System.Data.SqlClient»/>

2. <add name=»DatabaseConnectionString» connectionString=»Data Source=nt1111;Initial Catalog=testdatabase; User ID=test;Password= «***»; User Instance=False» providerName=»System.Data.SqlClient» />

3. The same as 2 but with IP <add name=»DatabaseConnectionString» connectionString=»Data Source=999.99.9.99;Initial Catalog=testdatabase; User ID=test;Password= «***»; User Instance=False» providerName=»System.Data.SqlClient» />

View 13 Replies

SQL Server :: 2008 Connect To A Remote Server — Network — Related Or Instance — Specific Error

Aug 4, 2010

I am using Sql Server 2008 to connect to a Remote Server. Everything was working fine for the last couple of months, and i was successfully connecting to the remote server. Today it suddenly stopped connecting to the remote server. note that i did not alter any configuration settings. Did my isp block Sql Server. My ISP is using ISA SERVER? The error details are:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 — Could not open a connection to SQL Server) (.Net SqlClient Data Provider) I am using Microsoft Firewall Client For ISA Server for opening ports. But today nothing is working.

View 1 Replies

SQL Server :: Unable To Connect To Server?

Mar 20, 2011

I have just installed the .Net 4.0 in my system (window 7). Its working fine, now i need to install sql server management studio. Which version I have to use for this ? I have tried «Microsoft Sql serer 2008 Management studio express, but it gives an error of some compatibility issue with my windows of this version.So now i have installed «Microsoft Sql serer Management studio express 2005, it installed perfectly with no error. But while I am connection to my server, it is giving this error :

«This version of Microsoft SQL Server Management Studio Express can only be used to connect to SQL Server 2000 and SQL Server 2005 servers. (Microsoft.SqlServer.Express.ConnectionDlg)»

View 1 Replies

«Unable To Connect To SQL Server Database.» — How To Change This To Work With SQL Server 2008

Jul 31, 2010

I am using VS 2008 that worked fine using the standard ASP.net security with the Web Administration Tool and SQL Server 2005.

I had to install SQL Server 2008 which also meant I had to uninstall SQL Server 2005. Now when I try to use ASP.net security by pulling the Login box from the toolbox to my form and then go to configure this I get an error.

«Unable to connect to SQL Server database.»

How do I change this to work with SQL Server 2008?

View 14 Replies

MVC :: Unable To Connect To SQL Server Database

Jun 16, 2010

Just beginning to set up and get into MVC and I have immediately run into a problem…

I opened a new MVC project in Visual Studio 2008 Pro, tried to run the basic template project, chose the logon/register page, enterered my details and got a runtime error message in AccountsModels.cs:

Unable to connect to SQL Server database Do I need to download a db from somewhere first, have I missed a step out the install ?

View 5 Replies

Unable To Connect To The SQL Server Data From App

Jun 23, 2010

We are upgrading from an environment where the development web server, the SQL Server 2005, and SQL Server data are all on the same machine, a Windows XP Machine. We are upgrading to having the web server on one Windows 2008 server, the SQL Server on a 2nd Windows 2008 Server, and to Server to a Windows 2008 server, nd the data on a SAN.

Now we are getting the error message:

[code]….

View 4 Replies

Installation :: Unable To Connect To Development Server

Jun 2, 2010

Using asp.net 3.5 in win7. while running any web application . i get this error. Unable to Connect to the ASP.NET Development Server.

View 5 Replies

Unable To Connect To Sql Server Management Studio

Nov 22, 2010

when i open Microsoft SQL Server Management Studio and click on «connect» , a message box show me this message:

TITLE: Connect to Server

View 1 Replies

C# — SmtpClient — Unable To Connect To The Remote Server

Jul 13, 2010

I am working on a project where one of the requirements is to re-write an ASP.NET application. The old ASP.NET application was based on .NET Framework 1.1. The new ASP.NET application is based on .NET Framework 3.5.

One of the functions in the old web application was the ability to send email. The old code used the System.Web.Mail.SmtpMail class, whereas the new web application uses the System.Net.Mail.SmtpClient class.

In testing this on our development servers, everything worked fine. However, we have two beta clients testing out our software, and they both run into problems sending email in the new web application.

The specific exception is as follows:

«Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it»

Both the old and new ASP.NET application are on the same server (Windows Server 2003). They both are using the same Exchange mail server. Why is it that the old ASP.NET application can successfully send email, but the new one cannot?

I looked at the old code, and it did not use any form of authentication, it just specified the sender’s email address, the recipient’s email address, the subject, body, and server, and sent the message. I did the same thing in the new code, with the only difference being that I used the SmtpClient class.

Below is a code snippet from the new ASP.NET application:

System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage();
mail.To.Add(messageTo);
mail.From = new MailAddress(messageFrom);
mail.Subject = messageSubject;
mail.Body = messageBody;
SmtpClient client = new SmtpClient();
client.Host = smtpServer;
client.Send(mail);

View 3 Replies

Unable To Connect To Remote SQL Server 2005

Jan 19, 2011

I have created my asp.net website using database ASPNETDB.MDF but when I try to host my site on server …

The SQL Server 2005 hosting provider issue me the

database name dobriyalji
server ip : 69.112.222.220
database username : XXXX
database password : XXXX

I have imported all of my ASPNETDB.MDF tables to my server database dobriyalji …

And I empty the Appdata.mdf and aspnetdb.log file from App_Data Folder …

When I try to run my site the following error occurs …

An attempt to attach an auto-named database for file UsersAshish DobriyalDocumentsVisual Studio 2008WebSitesVOLVOApp_DataASPNETDB.MDF

failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

MY LOCALHOST CONNECTION STRING :

<connectionStrings>
<add name=»ConnectionString» connectionString=»Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|ASPNETDB.MDF;Integrated Security=True;User Instance=True» providerName=»System.Data.SqlClient»/>
</connectionStrings>

MY REMOTE HOST CONNECTION STRING :

<connectionStrings>
<add name=»vbi_india2kConnectionString» connectionString=»Data Source=69.112.222.220;Initial Catalog=dobriyalji;Persist Security Info=True;User ID=XXXX;Password=XXXX» providerName=»System.Data.SqlClient»/>
</connectionStrings>

View 2 Replies

SQL Reporting :: Unable To Connect To The Report Server?

Jan 17, 2011

I just have installed SQLSERVER 2008R2 on Windows7..wen i am trying to configure REPORTING SERVICES, in the REPORTING SERVICES CONFIGURATION CONNECTION window, i gave SERVER NAME comp(Name of my computer), it is saying «Unable to connect to the report server comp» .

View 2 Replies

SQL Server :: Unable To Connect With Web Site Admin Tool

Nov 27, 2010

I am having some major headaches trying to get a Web Dev 2010 and SQL Server Express 2008 R2 to work together. At one point I hade Web Dev Express 2008 and SQL Express 2008 working together just fine, then I upgraded to 2008 Express R2 and have never been able to recover.

I have attempted to uninstall and reinstall several times, browsed the forums, watched videos, and while I have picked up a few things, I am still far from being able to get these two apps to work together for basic user authentication.

Here is where I am at. Web Dev Express 2010, .Net 4.0, and SQL Server Express 2008R2 installed. I have ran the .v4 aspnet_regsql.exe app against SQLEXPRESS, but when I bring up the Web Site Admin Tool, it cannot connect.

My machine.config connectin info is: [Code]….

Thinking that I may have some uninstalled connection info causing problems, I reviewed several of the security videos on this site, and decided to attempt to use my own database install rather then the default ASPNETDB.

So I now have 2 Database Engines (SQLEXPRESS and LOC). I created a new databases on LOC, named LOC and AspNetServicesDB. I then created users named LOCADMIN and AspNetServicesUser, made then the owners, and set the default database for eacg.Next I ran aspnet_regsql.exe from the v4.0.30319 folder, connected successfully, and installed the tables under AspNetServicesDB. The new tables (roles, membership, profiles) were installed. I then proceeded to copy the above machine.config connection info to the web.config file, and modified it as Joe Stagner did in this video. My edited web.config info:

[Code]….

Note that password is set to the real password in my config file.

Yet when I bring up the Web Site Administration Tool test the single provider, I get this error:

[Code]….

View 2 Replies

  • Mr4038 ошибка мерседес актрос
  • Mr white has the fish three times a week исправить ошибки
  • Mr slim mitsubishi electric коды ошибок
  • Mr je 70a ошибки
  • Mr 9963 ошибка мерседес atego