please i have a problem with registreting my sql server geodatabase server i made the same steps that i have to do : -i share with public in read/write the folder where my .sde exist -in the catalog i try to register my geodatabase in the server but i have an error saying the data item is inaccessible
Please provide the version of ArcGIS Server, ArcSDE, and SQL Server that you are using. It would also be helpful to provide a screenshot of the error you are getting. Does the SDE connection file work when trying to simply view the data via ArcCatalog? In other words, is the problem only occurring when you attempt to register the database with ArcGIS Server?
Are you attempting to register the 'Test' connection file shown in your screenshot under SQL Server Express in Database Servers, or are you attempting to register a .SDE connection file listed under Database Connections?
If you're attempting to register a connection under Database Servers, then I think what you're seeing might be expected behavior. Only .SDE connection files are able to be registered with ArcGIS for Server according to this from Esri's online help:
You can register any of the following with ArcGIS: Databases accessed through a database connection file (.sde only)
If you really are attempting to register an actual .SDE connection file, then check the Windows Services console to see which user account is being used to run the ArcGIS for Server service. Does that account have privileges on the folder containing the .SDE connection file?
The other possibility is the limitation for administering / managing an ArcGIS for Server instance with a desktop client that is of a different software version. For example, I don't know if you are able to perform certain administrative tasks such as registering data stores if your server is 10.1 but your desktop client is 10.2. Try using a 10.1 desktop client to see if the behavior changes.
Here is another possible explanation besides the two I've given above: The machine where ArcGIS for Server is installed is missing the 64-bit client libraries for the specific RDBMS to which the connection is being made. If not already installed, go ahead and install the 64-bit client libraries for SQL Server on the ArcGIS for Server machine. It is important to remember that ArcGIS for Server is a 64-bit application and requires a 64-bit database client, versus ArcGIS for Desktop which is a 32-bit application and requires a 32-bit database client.
In your case, I think you would only need the 64-bit client since you appear to be able to connect from a 32-bit app already (e.g., ArcGIS Desktop). I believe it might simply be ArcGIS for Server (64-bit app) that's having issues.