Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have an internet hosted database I need to connect to.

SSMS connects and executes without any problems.

But .Net and SSRS all get "Network Path Not Found" when running code against the server.

Any thoughts on why there would be different behaviours for the various products?
Posted

1 solution

Check your connection strings. Assuming you are testing all three apps on the same PC, that's the only real difference. If you are testing them on different PCs, then you need to look a lot more closely at exactly what each package is being asked to do!
 
Share this answer
 
Comments
Stephen Hewison 28-Apr-15 4:19am    
If only it was that simple! Yes I'm testing on the same PC and the connection strings are fine. The server's recently been moved but the not NAT address hasn't changed and I copied the server/port from the same DB which drives the connection string on the .Net and SSRS side.
Stephen Hewison 28-Apr-15 4:35am    
This problem was stemming from a seed of bad info. Found the bad info and the problem is now solved. Was not a technical issue.
OriginalGriff 28-Apr-15 4:46am    
Don't you love it when that happens? :laugh:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900