tags:

views:

47

answers:

1

I build WS that connect to SDF file that I made

 conn = new SqlCeConnection("Data Source=" + SDF_NAME);
            conn.Open();

I get error HTTP 500 server error (there is not a connection)

why ?

+1  A: 

Did you check what kind of exception was thrown when you open the connection. The exception probably describes what went wrong. Just try to debug it...

The HTTP 500 just tell you that your WS failed, probably with an exception if you didn't handle it.

Wim Haanstra
I solve the problem, thank's anyway
Gold