Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL Server access problem

SQL Server access problem

Scheduled Pinned Locked Moved Database
databasehelpcsharpasp-netsql-server
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hasanali00
    wrote on last edited by
    #1

    Hi I am running my database on a shared 3rd party server. Recently, when I try to connect to the DB from my website, Asp.net gives me the following error: "SQL Server does not exist or access denied." [SqlException: SQL Server does not exist or access denied.] System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +474 System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372 System.Data.SqlClient.SqlConnection.Open() +384 MyCompany.WebModules.Data.DbObject.RunProcedure(String storedProcName, IDataParameter[] parameters, String tableName) ..... .... For instance, this morning the website was working fine, but now suddenly, I am getting the above error. The same problem happened on other days, as well. Do you think, there is a problem with my code, or is this SQL Server problem?

    A H 2 Replies Last reply
    0
    • H hasanali00

      Hi I am running my database on a shared 3rd party server. Recently, when I try to connect to the DB from my website, Asp.net gives me the following error: "SQL Server does not exist or access denied." [SqlException: SQL Server does not exist or access denied.] System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +474 System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372 System.Data.SqlClient.SqlConnection.Open() +384 MyCompany.WebModules.Data.DbObject.RunProcedure(String storedProcName, IDataParameter[] parameters, String tableName) ..... .... For instance, this morning the website was working fine, but now suddenly, I am getting the above error. The same problem happened on other days, as well. Do you think, there is a problem with my code, or is this SQL Server problem?

      A Offline
      A Offline
      Aby Thomas Varghese
      wrote on last edited by
      #2

      Hi hasanali00 Did you try pinging the server when you got the error message in order to confirm that there were no connectivity issues? Also place code so that yuo can catch the exception where it is being thrown and output the error message. That way you will be more clear on the part of code is throwing the exception and what the error message is saying.

      Thanks and Regards, Aby

      1 Reply Last reply
      0
      • H hasanali00

        Hi I am running my database on a shared 3rd party server. Recently, when I try to connect to the DB from my website, Asp.net gives me the following error: "SQL Server does not exist or access denied." [SqlException: SQL Server does not exist or access denied.] System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +474 System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372 System.Data.SqlClient.SqlConnection.Open() +384 MyCompany.WebModules.Data.DbObject.RunProcedure(String storedProcName, IDataParameter[] parameters, String tableName) ..... .... For instance, this morning the website was working fine, but now suddenly, I am getting the above error. The same problem happened on other days, as well. Do you think, there is a problem with my code, or is this SQL Server problem?

        H Offline
        H Offline
        hasanali00
        wrote on last edited by
        #3

        the problem was that the log file was full: run this command to delete the log: dump transaction DATABASE_NAME with no_log

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups