rendering a big rectangular with an X in its center when I load a layer

Jun 22 at 11:36 AM
Hi,
I am using sharp map and on my pc with windows 10 every thing works fine. I have a sqlserver2008 provider which connects to a remote sql server and loads one layer and shows and every thing is OK,

But when I moved my app on windows 7 on two PCs my layer did not load and sharpmap only shows a big red rectangular with an X in it. What can make this happen?

I know my sql connection works fine on all of PCs and I can work with them and also the envelope of my layer is right but Is does not render any thing,
What I need to fix this problem?

When does Red rectangle appears?
thanks
Coordinator
Jun 23 at 1:39 PM
be sure to set up logging and you may have an easier time trying to track down the error.
https://sharpmap.codeplex.com/wikipage?title=Logging%20%2f%20Tracing%20SharpMap&referringTitle=Documentation
Jun 23 at 6:24 PM
FObermaier wrote:
be sure to set up logging and you may have an easier time trying to track down the error.
https://sharpmap.codeplex.com/wikipage?title=Logging%20%2f%20Tracing%20SharpMap&referringTitle=Documentation
Hi my friend,
The problem was with Microsoft.SqlServer.Types which I had to copy with my app,Now I am confused if I want to copy it I must copy of version that I am using on my laptop and my sql server or I must copy the version on sql server which is installed on server?
Coordinator
Jun 24 at 7:18 AM
Use the one that was used when you compiled your application.
Marked as answer by am2 on 6/24/2016 at 10:21 AM
Jun 24 at 5:21 PM
FObermaier wrote:
Use the one that was used when you compiled your application.
thanks a lot