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. Web Development
  3. ASP.NET
  4. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

Scheduled Pinned Locked Moved ASP.NET
databasehelpcsharpasp-netsql-server
1 Posts 1 Posters 1 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.
  • A Offline
    A Offline
    Asif Rehman
    wrote on last edited by
    #1

    I've developed an app that uses database on pc3 computer. my computer is pc1. My app connects fine with pc3 db from my computer (pc1) though I don't have iis installed. But when I put app on pc2 with iis installed. and try to access it like. (http://192.168.1.3/trackweb/ where trackweb is virtual directory assigned to it. It does not connect with pc3 database and gives above mentioned error. Some of the options I've tried. 1. turn firewall off. allow http port through firewall. 2. change connection string in a different ways. last one I tried.

    Provider=sqloledb;Data Source=192.168.1.5;Initial Catalog=SpyTrack;User ID=sa;Password=psw;

    3. install asp.net on pc3. 4. add local policy, and permit all ip traffic/ all icmp traffice on pc3. but nothing works. Hope someones there to help me. Regrads Asif Rehman

    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